Hello Community,

I have to replace the OOB translation of the Account and Contact Labels (only these two labels) for the italian language.

Which are the correct keys i have to involve in order for a correct update ? For Example which is the correct key for the updating of the Account and Contact Section Labels ?

Sasori

Like 0

Like

4 comments
Best reply

Hi Sasori,

Good day,

The section names are data from the SysModule table, so the key should be Data:SysModule.Caption: + the Id of the record. For easier searching, you can use the following filter in Translations section:



Keycontains%Data%Caption

AND

Language0=Accounts

 

To find the Id, open the section wizard, and the Id will be in the URL. For example, for this section, the code will be: Data:SysModule.Caption:065063c9-8180-e011-afbc-00155d04320c

Thank you for your inquiry.

Hi Community,

Any update regarding the topic ?

Sasori

Hi Community,

Any update regarding the topic ?

Thank you

Sasori

Hi Sasori,

Good day,

The section names are data from the SysModule table, so the key should be Data:SysModule.Caption: + the Id of the record. For easier searching, you can use the following filter in Translations section:



Keycontains%Data%Caption

AND

Language0=Accounts

 

To find the Id, open the section wizard, and the Id will be in the URL. For example, for this section, the code will be: Data:SysModule.Caption:065063c9-8180-e011-afbc-00155d04320c

Thank you for your inquiry.

Thanks a lot for this explanation Pavlo!

Show all comments

Hello Creatio Community,

Because the detail 'Product In Order' in the Order Section is used exstensively (around 120.000 records in one of our instances) we would like to create e Section out of it,so that we use the advantage of (advanced filters).

We tried this in the Dev Environment. There is a new Section schema and a new Page schema created.

Will the creation of the Section bring problems to the overall architecture ? Is there some extra step that should be added ?

Sasori

 

Like 0

Like

4 comments

Hi Community,

Any update regarding this topic ?

Sasori

Hello Sasori,



I recommend following this guide for creating a section on an existing object:

https://academy.creatio.com/docs/user/customization_tools/ui_and_busine…

 

Best regards,

Kate

Hi Kate,

I have done the steps and things are working correctly.

 

One question:

->When I open a record from the newly Created Section (based on existing object) the URL is 'localhost:1000/0/Nui/ViewModule.aspx#CardModuleV2/OrderProduct1Page/edit'

->When I open a record from the Order Section and go inside the 'Product in Order' detail ther url is

localhost:1000/0/Nui/ViewModule.aspx#CardModuleV2/OrderPageV2/edit/

 

So the Edit Page for the first case is  OrderProduct1Page and for the second one is 'OrderPageV2'. Arent the Edit Pages supposed to be the same ?

 

Sasori

This is the expected behavior - we are always in the context of the currently open record, regardless of which other record we navigate to from it (the link does not change its value when navigating to another record). This behavior applies to records in the system when navigating to related records, and when switching to a different section/subsection of the system, the opening occurs in the same tab. 



So the same page is being opened, it's just that the link is generated according to the logic described above.

 

This behavior occurs when opening records in the same tab.

For example, if you navigate to a contact from the Case section, the link will remain as follows:

localhost:1000/0/Nui/ViewModule.aspx#CardModuleV2/CasePageV2/edit



Best regards,

Pavlo!

 

 

Show all comments

Здравствуйте!

У нас печатные формы договоров двуязычные. Т.е в одном шаблоне слева Казахский язык, справа - Русский.

Столкнулись с проблемой того, что на двух языках формат разный. Примеры адресов:

Рус: 050060, Республика Казахстан, Алматинская область, г. Алматы, ул. Розыбакиева, 263

Каз: 050060, Қазақстан Республикасы, Алматы облысы, Алматы қ, Розыбакиев к., 263

  1. В справочнике стран наша страна = Казахстан. Переименовывать не хочется.
  2. Для значений полей Страна, Область, Город значения на двух языках разные с приставками-сокращениями города (г.). Да и сами названия - разные.
  3. На двух языках улица - разная и позиция слова разная: ул. пишется перед названием улицы, к. пишется после названия улицы, но и оно ручками пишется.
  4. Названия улиц так-же склоняются по разному. Для рус - ул. Розыбакиева, для каз - Розыбакиев к..

Есть ли у вас уже решения или рекоммендации по решению таких задач?

Like 0

Like

1 comments

Здравствуйте,



Коллеги, согласно базовой логике, в печатных формах, на страницу просто переноситься значение поля.

Которое в свою очередь (Если речь идет о поле "Полный Адрес", в новом интерфейсе, собираеться из полей "Индекс", "Страна", "Область/штат", "Город", "Адрес".



Также хотелось бы обратить внимание, что  в справочниках на русском языке, страна = Казахстан.

А так же поле создаеться без приставок ".ул", "г.".



Я бы рекомендовал пересмотреть логику работы поля, в которое вписываеться адресс,в интерфейсе, поскольку проблема не в печатных формах, а значении поля, из которого данные просто копируються на станицу печатной формы.

 

Show all comments

Hi All,

 

How to debug the code of source code which is there in cloud instance of creatio

 

Option 1 : Tried to downlod the source code package of Creatio, in configuration tab but "Download packages to file system" is disabled to download packages in to local machine

 

Please help and advice

 

Thanks,

Srikanth

Like 1

Like

2 comments

Hello,

those instructions do not apply to cloud sites. In order to debug C# code, you'll need a local copy of the site. You can request a copy of the cloud site's database from support and also get the installation files. Then you can set up your own local copy of the cloud system to debug there. There's no option for debugging the server-side code of a cloud system.

Thanks for response 

Show all comments

Hi all,

 

Is there a way to force a detail to remain expanded for all users?



Like 0

Like

1 comments
Best reply

Hello,

 

Please check the below post where the similar business task has been already discussed:

https://community.creatio.com/questions/any-way-force-hierarchical-deta…

 

Best regards,

Anastasiia

Hello,

 

Please check the below post where the similar business task has been already discussed:

https://community.creatio.com/questions/any-way-force-hierarchical-deta…

 

Best regards,

Anastasiia

Show all comments

Hi Creatio academy,

We have a Creatio Instance which is running in the Cloud with version: 8.0.8.4807_SalesEnterprise_Marketing_CustomerCenter_Softkey_PostgreSQL_ENU.

 

We have developed a custom package (with the 'Compile into a separate assembly' checkbox true). 

 

As a result we can not access the Newtonsoft.Json package from UserTask.

 

The normal solution is to import the dll in our custom pacakge as a reference assembly.

Question: Wich is the correct version of the dll to import ?

 

I have the binary files of '8.0.8.4807_SalesEnterprise_Marketing_CustomerCenter_Softkey_PostgreSQL_ENU' and in the root/bin folder i can see the NewtonSoft.Json dll. Is this the correct one to import ?

 

Like 0

Like

4 comments
Best reply

Hi Sasori,

 

Yes, you can use the existing lib and upload it to your assembly package. This should do the same as the lib from the main workspace.

Hi Team,

Any update regarding this question ?

Hi Sasori,

 

Yes, you can use the existing lib and upload it to your assembly package. This should do the same as the lib from the main workspace.

Thanks for the confirmation Oleg!

Hi all, 
I would like to use an external library called csvHelper in a SourceCode file. 
 

I managed to download the .dll file of that library but I want to import that to my package. Can you please help me with that ?

Show all comments

Hello community,

I want to upload a .dll as a reference assembly from Creatio Configuration section .

The Creatio instance is hosted on Cloud.

The .dll is  .NET Standard 2.0 compatible.

Question : Is it ok to upload this dll which supports .NET Standard 2.0 and has no dependecies ?

 

Like 1

Like

2 comments

Hi!

 

This is a good idea to use Configuration for such a purpose and it's actually described in Academia: https://academy.creatio.com/docs/7-18/developer/development_tools/creat…;

 

The external libraries support .NET Standard 2.0 so you can load them into the Creatio package in the Configuration section using the Add -> Import button.

 

The dependencies, however, must rely on the development structure, e. g. - If the current package must inherit Creatio functionality. Here is more info: https://academy.creatio.com/docs/7-17/developer/development_tools/packa…

Thanks for the reply Alla ! I appreciate it.

When talking about dependencies, I meant the dependencies of the dll i am trying to import (not those of the Creatio package). It has no dependecies, so just uploading the dll should do the work.

Thank you,

Sasori

Show all comments

Hi community,

I have an AutoGeneratedPage element in a Business Process. I want to access its corresponding schema in order to do some frontend validadations.

Does the AutoGeneratedPage has its own schema ? 

Best regards,

Sasori

Like 1

Like

2 comments
Best reply

Hello,

It didn't have its own schema, the whole point of this element is that it generates during a run-time. 

If you want to customize a similar page try using pre-configured. 

Hello,

It didn't have its own schema, the whole point of this element is that it generates during a run-time. 

If you want to customize a similar page try using pre-configured. 

Thank you Dmytro for the clarification! Thats what i did.

Show all comments

Hello,

I have implemented a filter for a section using the getFilters  method which works fine on the Section page, but should not apply to the dashboard page. Is there a way to have the filter apply only to the Section grid but still leave the dashboard unfiltered?

Like 0

Like

1 comments

Not sure if this will work, but you could maybe try checking in the getFilters method which view the user is on, and if it's the dashboard view then don't apply the filter? Never tried this so not sure if it's too late at that point (or if it retrieves the data again when switching views or not)

To check if user is viewing dashboard view:

if (this.getActiveViewName() === "AnalyticsDataView") {
    // user is on dashboard view
}

I think you can override changeDataView to force it to reapply the filter (and retrieve data again). Something like this: 

changeDataView: function() {
    this.callParent(arguments);
    if (this.getActiveViewName() === "AnalyticsDataView") {
        this.sandbox.publish("ReloadDashboard", null, [this.sandbox.id + "SectionDashboardDashboardModule"]);
    }
    else {
        this.updateSection();
    }
}

Ryan

Show all comments

Hi all,

 

I have implemented the use of bulk addition to a detail using this Creatio Academy article.



If possible, I would like to filter the bulk addition records to match the business rules of the page i.e. AddressType = 'Site'

				"3361d12a-6dde-417b-b462-d7e171af7edf": {
					"uId": "3361d12a-6dde-417b-b462-d7e171af7edf",
					"enabled": true,
					"removed": false,
					"ruleType": 1,
					"baseAttributePatch": "AddressType",
					"comparisonType": 3,
					"autoClean": false,
					"autocomplete": false,
					"type": 0,
					"value": "7a5d8cdb-54d6-46ce-8b5c-a4a9b319dbb7", //AddressType = 'Site'
					"dataValueType": 10
				}
			}

Is there any way that this can be implemented?

Like 0

Like

3 comments
Best reply

By way of an epilogue and for anyone who happens this way in the future.

 

To filter the lookup add the following method to the detail source code (ref.  Creatio Academy):

//  Filter the lookup entries.
getAdditionalLookupFilters: function() {
	var filterGroup = new this.Terrasoft.createFilterGroup();
	filterGroup.add("ByCaseStatusFilter", this.Terrasoft.createColumnFilterWithParameter(
		this.Terrasoft.ComparisonType.EQUAL, "AddressType", "7a5d8cdb-54d6-46ce-8b5c-a4a9b319dbb7")
	);
	return filterGroup;
}

This overrdes the method in LookupMultiAddMixin.js.

Hello,

 

Business rules cannot be implemented here unfortunately since we need to filter data in the opened modal window to select records. But you can try overriding the logic of the openLookupWithMultiSelect method in your detail schema and add your filters to the config.filters object (you need to debug openLookupWithMultiSelect method execution). For example:

 

1) Register a message in the detail schema with the PUBLISH type.

2) Register an attribute in the detail schema that will store "AddressType" of a main record.

3) In the main page schema register the same message as in step 1, but with the SUBSCRIBE type.

4) Override base subscribeSandboxEvents method in the main record schema and subscribe to the message from step 3. This should be done properly using the construction like:

this.sandbox.subscribe("GetMainContactEmail", this.getMainContactEmail, this,
						[this.getDetailId("UsrSchemabfb885cbDetail7d4ca999")]);

where 

 

getMainContactEmail will be the message handler method (the one method that will be called when the message is received);

UsrSchemabfb885cbDetail7d4ca999 will be the detail Id of the detail where multiple adding was developed (name of the detail from the "details" object in the main record schema).

5) In the message handler method from step 4 write a code to rertrieve current record address type and return it.

6) In the detail schema inside the init method execution send the message from step 1 via sandbox and assign the result of this message sending for some variable (something like):

var result = this.sandbox.publish("GetMainContactEmail", null, [this.sandbox.id]);

7) In the detail schema check if something was returned by the method handler from step 5 for the message sent from step 6. If there is something returned - set the returned value to the attribute from step 2.

8) Override the openLookupWithMultiSelect method and add additional filter using the value from the attribute from step 2 that was written to the attribute at step 7.

 

As a result when you open the modal box to bulk add records to the detail not all the records will be returned, but only those that fit filtering conditions developed in the steps above.

Oleg Drobina,

Excellent. Thanks Oleg!

I'll give this a try and get back to you.

By way of an epilogue and for anyone who happens this way in the future.

 

To filter the lookup add the following method to the detail source code (ref.  Creatio Academy):

//  Filter the lookup entries.
getAdditionalLookupFilters: function() {
	var filterGroup = new this.Terrasoft.createFilterGroup();
	filterGroup.add("ByCaseStatusFilter", this.Terrasoft.createColumnFilterWithParameter(
		this.Terrasoft.ComparisonType.EQUAL, "AddressType", "7a5d8cdb-54d6-46ce-8b5c-a4a9b319dbb7")
	);
	return filterGroup;
}

This overrdes the method in LookupMultiAddMixin.js.

Show all comments