Hi,

 

I was trying to create Assemble Package and created one c# file which has dependencies on NewtonsoftJSON dll. When I tried to publish it says it required dll (attached reference). If we import the DLL into the current package it is working as expected but as per my understanding, we need to add the Assembly package dependencies on [Package name].csproj file.

 

I could see below code already presents there,



        

            False

        

        

            False

        

    

 

which means should we need to create any folder with Assemblies or we manually need to import all the package dependencies through import?

 

Thanks,

Altaf Hussian M

 

Like 0

Like

1 comments

Hi Altaf Hussian,



If it’s a regular package you can use the Newtonsoft.Json core library, but for the assembly package, the required DLL must be added to the package explicitly.



The Assembly package is like an external cs project.

If you want to use an external library like Newtonsoft.Json.dll in your project - you have to specify it as a reference for your project (using) by adding that dll to the package.



The same can be achieved by using the Terrasoft core class without adding any explicit dll reference into the package as below,

Example of the code:

using CommonJson = Terrasoft.Common.Json;
string orderItemsInput = CommonJson.Json.Serialize("YourObject");
string orderItemsInput = Terrasoft.Common.Json.Json.Serialize("yourObject");



Terrasoft.Common.Json

Serialize Polymorphism

 

 

BR,

Bhoobalan Palanivelu.

Show all comments

Hello Creatio team,

How can i activate the Section Wizard option for the followin detail:

This feature is deactivated in the PlanningAccountDetailV2 schema part of Field package

I need to activate the wizard for this task:

Deactivate the filter that filters the accounts based on the selected employee.

Like 0

Like

2 comments
Best reply

Hello Sasori,

 

In order to deactive the filter based on employee it is just needed to click on the cross sign, and you will see all the accounts.

 

Alternatively you can create a replacing view model for the schema PlanningAccountDetailV2 and modify the method getFilters according to your needs.

 define("PlanningAccountDetailV2", [],

    function() {

        return {

            entitySchemaName: "Account",

            attributes: {},

            methods: {

                getFilters: function() {

                     this.callParent(arguments);

                    var filters = this.sandbox.publish("GetSectionFilters");

                    if (!this.Ext.isEmpty(filters.filtersValue)) {

                        this.setFilter(filters.key, filters.filtersValue);

                    }

                }},

            diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/

        };

    }

);

 

As for the section wizard, this whole detail was created with code, so it would be not possible to enable it. But the first option by clicking the cross sign would be the more simple one.

 

Best regards,

Dariy

 

Hello Sasori,

 

In order to deactive the filter based on employee it is just needed to click on the cross sign, and you will see all the accounts.

 

Alternatively you can create a replacing view model for the schema PlanningAccountDetailV2 and modify the method getFilters according to your needs.

 define("PlanningAccountDetailV2", [],

    function() {

        return {

            entitySchemaName: "Account",

            attributes: {},

            methods: {

                getFilters: function() {

                     this.callParent(arguments);

                    var filters = this.sandbox.publish("GetSectionFilters");

                    if (!this.Ext.isEmpty(filters.filtersValue)) {

                        this.setFilter(filters.key, filters.filtersValue);

                    }

                }},

            diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/

        };

    }

);

 

As for the section wizard, this whole detail was created with code, so it would be not possible to enable it. But the first option by clicking the cross sign would be the more simple one.

 

Best regards,

Dariy

 

Thank you very much Dariy.

Show all comments

Hello community,

 

We tried to update an existing package and we are facing the error System.ArgumentException: Application with name "" already exists.



How do we overcome this error?

Like 0

Like

1 comments

Hello,

 

The reason could be that the 'IsChanged' attribute of the scheme in the needed package is set to 'true' when it should be 'false'.

Show all comments

Hello,

 

While working in a package, it happens that when I modify object permissions, the modifications are saved to package "Custom" even though I set current package value as my package.

 

Can you please walk me through to remedy to this issue?

 

Thanks,

Like 0

Like

3 comments

Hello Mariam,

 

According to the application logic, the changes in the access rights always generate the replacing object in the Custom package, regardless the one you have in the Current package.

 

We are aware of that and working hard to fix that in our future releases. 

 

 

Hello Kyrylo,

 

Thank you for your response,

 

In this case, how to proceed in order to add changes to my package for transfer between environments?

 

Thanks,

mariam moufaddal,

if you switch on Access rights in your package in configurator, these changes will be transfered with your package

Kind regards,

Vladimir

Show all comments

Hi community,

 

I am developing an application only for the "Sales" module which includes the Sales enterprise, the sales team and the sales commerce edition. Actually, I am developing the application in a "Sales Enterprise" environment and I only have the "SalesEntepriseSoftKey_ENU" package.

 

Which should be the right package to set to work with all the Sales product versions ?

 

Many thanks for your help.

 

Best regards,

Jonathan

Like 0

Like

3 comments

Hello,

 

Please refer to this Academy article (+ this) to define the package dependencies.

 

Best regards,

Mira

hi @Jonathan,



It's recommended to have the package that has access/connected to all the base packages of the Creatio bundle. Also, the package dependency diagram in the configuration section will give insight into the structure of the package of products (Sales, Service, Marketing, Studio).







In your case (i.e., sales bundle), the package SalesEntepriseSoftKey_ENU shall be added in dependency. Please be informed that SalesEntepriseSoftKey_Obselete package shouldn't be added in dependency as this might be removed in the product updates.





BR,

Bhoobalan Palanivelu.

Bhoobalan Palanivelu,

 

Hi @Bhoobalan,

 

The problem here is that if I put the dependency on "SalesEnterpriseSoftkey_ENU" package, it will only work with the "SalesEnterprise" products of Creatio, not SalesTeam nor SalesCommerce.

 

Best regards,

Jonathan

Show all comments

Hello team,

What is the purpose of IsLocked column in the the SysSchema or SysPackage tables.

How does IsLocked affect 

1- Objects

2- Bussines Processes

3- Edit Page schemas

4- Packages

I couldnt find information in the academy regarding this topic.

Thank you

Like 0

Like

1 comments

Hello Petrika,

Parameter IsLocked mainly affects if you can edit the schema or the package.  Only the author of the lock can edit these elements. In the database, this author isn't mentioned and you can see only IsLocked.

The system will check the author on the other level.

Show all comments

hi all,

 i have my Vm Installed Creatio in it with version 7.18.4.1532 

 

so when i create a package and add dependencies " SalesEnterprise_Marketing_ServiceEnt " it gives me this error 

any sol please 

thanks 

Like 0

Like

2 comments

I believe the error is indicating that you have bound data in your package for SysModuleInWorkplace and the bound data references a record in SysWorkplace that doesn't exist in your package. 

Basically, you've added something to a workplace and bound that in the package. However, The workplace itself hasn't been added as bound data to the package.

To solve this, add bound data for the SysWorkplace record that is referenced by the SysModuleInWorkplace record currently bound in the package.

Ryan

Hello

Please follow the described steps on how to bind data:
(Use your ID from error message)
1. Create a "Data" element in your package. Example in screenshot below.
Screenshot 2023-12-29 193055.png
2. Select the SysWorkplace object. Example in screenshot below.
image.png
3. On the "Bound Data" tab, add the id specified in the error. Example in screenshot below.
image.png
4. Select the id specified in the error from the list. Example in screenshot below.
image.png

5. The result.
Screenshot 2023-12-29 192311.png
 

Show all comments

Hello Creatio Community !

I have developed various packages in 7.18.4.1532 version.

I want to implement some of these pacakges in another Environment but with another lower version 7.18.2.1236.

Which is the Procedure that is followed in these cases in Creatio for successful deployment?

Like 2

Like

2 comments

Dear Petrika,

Unfortunately, we do not have any scenarios and instructions for such cases.

We strongly do not recommend installing packages to lower versions of Creatio.

The only 100% safe and correct way is developing functionality for the specific version of Creatio.

Best regards, Alex.

Aleksei Efimenko,

Thank you Alex!

Show all comments

I am developing an application using a Creatio trial (before implementing on the development server).  I have saved the application as a package, and have imported back into another Creatio trial.  Everything works fine.

 

The problem I have is I am not able to edit the JavaScript I have developed in the package's replacing client modules.  When I view the client module from the Configuration page, I can see the JavaScript that I have developed, but when I try to edit the JavaScript from the section wizard, there is only a 'define' function with empty sections, not the JavaScript that I developed.

 

Is it possible to continue developing client module JavaScript from one trial of Creatio to another?

 

Thanks in advance,

Like 0

Like

1 comments

Dear Gareth, 



The logic behind this behavior is that when any changes comes in the package they should not be directly changed since packages can be distributed by third-party publishers. 

Only way to change functionality installed is to re-define the code or add new methods within the new replacing module in your custom packages. 



Kind regards,

Roman

 

Show all comments

Hello,

 

For some technical issues, I had to reinstall database. so I exported the package "Custom" to be able to import it via application install. while trying to import it, it fails to restore configuration from backup.

How can I retrieve configuration done on this custom package? is there any best practice to export packages?

 

Thanks,

Like 0

Like

4 comments

Hello Mariam,

 

You can export the package from the Configuration section:

 

But we recommend installing the package in the Installed application section. So you will be able to download the application log to check the errors.

 

Best regards,

Bogdan

Hello Bogdan,

 

Thank you for the reply. in fact this is what I have done and then I tried to import the package from the installed application section. bellow is the screen of import failure. 

Bellow is a snippet of the errors in log file.

Error occured while performing operation on "Custom" item, UId = a00051f4-cde3-4f3f-b08e-c5ad1a5c735a.

2022-04-15 10:15:43,737 System.AggregateException: One or more errors occurred. (Error occured while saving resources for schema 'UsrServiceCatalogc9afd9b9Section' in 'Custom' package for 'pt-PT' culture) (Error occured while saving resources for schema 'UsrServiceCatalogc9afd9b9Section' in 'Custom' package for 'ro-RO' culture) (Error occured while saving resources for schema 'CaseInFolder' in 'Custom' package for 'pt-BR' culture) (Error occured while saving resources for schema 'UsrSchema6cea64dfPage' in 'Custom' package for 'it-IT' culture) (Error occured while saving resources for schema 'UsrSchema6cea64dfPage' in 'Custom' package for 'vi-VN' culture) (Error occured while saving resources for schema 'CaseInFolder' in 'Custom' package for 'he-IL' culture) (Error occured while saving resources for schema 'UsrSchema6cea64dfPage' in 'Custom' package for 'ar-SA' culture) (Error occured while saving resources for schema 'UsrSchema6cea64dfPage' in 'Custom' package for 'fr-FR' culture) (Error occured while saving resources for schema 'UsrCaseVisa' in 'Custom' package for 'en-US' culture) (Error occured while saving resources for schema 'UsrSchema6cea64dfPage' in 'Custom' package for 'cs-CZ' culture) (Error occured while saving resources for schema 'UsrRentalVehicle' in 'Custom' package for 'nl-NL' culture)

Thanks,

mariam moufaddal,

Did you ever find a solution?

The package "Custom" cannot be exported between environments. A solution would be to add a new package and add the same dependencies as in the package "Custom" and move files from Custom to the new created package. then you can export that package between environments.

Show all comments