LocalizableString
Culture
Studio_Creatio_enterprise_edition
8.0

Hello,

I am trying to validate a section data using custom code and entity event layers.

Since the current user can belong to different regions across the world, the validation error message must be thrown in different languages.

 

I understand we can use Localizable Strings, but I am unable to Get the value of the localizable string.

 

If I create a Localizable string called "MessageToUser", how can I access its value in C#?

 

Thanks in Advance!

Like 0

Like

3 comments

Hi Shivani,

You are correct, in this situation you need to use Localizable strings.

In the source code you can create it in the left panel, and if you want to add them to event logic, you can find them in the "Resource" section:

You can find an example on how to access this string in this article.

 

Dmytro Vovchenko,

 

Thank you. Unfortunately, the line of code to get localizable string :

 var bodyTemplate = UserConnection.GetLocalizableString(ClassName, "BodyTemplate");

gives the following error in Visual Studio

'UserConnection' does not contain a definition for 'GetLocalizableString'



I had referred this link earlier, and since the definition was absent, I was wondering if I am missing something or there is any other way to get the localizable string in Source Code Schema

 

Just to be sure, did you use all on them in your code?

using System.Collections.Generic;
using Terrasoft.Common;
using Terrasoft.Core;

 

Show all comments
web service
Teams
Studio_Creatio_enterprise_edition
8.0

Hi,

 

I have begun playing with the web service integration capabilities within a process to send a message to a Teams channel. Obviously many use cases exist for having a message sent to a Team channel.

 

I have been able to successfully send a message to a channel, however I am having issues in managing the formatting of the message, so a clear title, and message body structure can be provided. Has anyone got any integration working with Teams that would be prepared to share how the web service, variables etc. are configured to allow formatted messages to be sent?

 

Thanks in advance.

Like 0

Like

6 comments

no one has?

 

Any guidance would be appreciated

Mark Roberts,



Could you please share how the implementation is done currently?

Also, have you tried about the content using <HTML>







BR,

Bhoobalan Palanivelu

 

Bhoobalan Palanivelu writes:

Mark Roberts,

Could you please share how the implementation is done currently?

Also, have you tried about the content using <HTML>

BR,

Bhoobalan Palanivelu

 

hi Mark Roberts,



Using the Content type as HTML  depicted below.

GraphServiceClient graphClient = new GraphServiceClient( authProvider );

var chatMessage = new ChatMessage
{
	Body = new ItemBody
	{
		ContentType = BodyType.Html,
		Content = "{\r\n  \"title\": \"This is an example of posting a card\",\r\n  \"subtitle\": \"<h3>This is the subtitle</h3>\",\r\n  \"text\": \"Here is some body text. <br>\\r\\nAnd a <a href=\\\"http://microsoft.com/\\\">hyperlink</a>. <br>\\r\\nAnd below that is some buttons:\",\r\n  \"buttons\": [\r\n    {\r\n      \"type\": \"messageBack\",\r\n      \"title\": \"Login to FakeBot\",\r\n      \"text\": \"login\",\r\n      \"displayText\": \"login\",\r\n      \"value\": \"login\"\r\n    }\r\n  ]\r\n}",	}
};

await graphClient.Teams["{team-id}"].Channels["{channel-id}"].Messages
	.Request()
	.AddAsync(chatMessage);





BR,

Bhoobalan Palanivelu.

Bhoobalan Palanivelu,

Hi

 

Thanks for your reply. This is what I have done so far:

 

1. Created a new Web Service entry

2. Configured a single Method and populated top fields. I know this is correct as I can successful send a test request with just a single parameter line and it was received and displayed in my Teams channel

3. The issue I have is with the configuration of the Parameters, for which all but contentType I assume are Body parameters. The following screenshot is me playing with various structures and content entries, but I cannot get anything working :/

 

 

I am trying to send a message in a form similar to the following:

 

https://adaptivecards.io/samples/ActivityUpdate.html

 

I feel I am missing something straightforward in how this should be built within the Creatio Web Service definition, but the docs are not helping find it.

 

thanks

 

Mark

did you ever get this working?

keith schmitt,

No, I have been distracted with other things, so not got back to this. This would be a great blog for someone to write up and share!

Show all comments
Access Rights
Studio_Creatio_enterprise_edition
7.18

Can you please tell me in which object (table) data about user rights for a specific record is stored?

For example, in sales there is a record "Laptop" for this record the rights are configured, you need the name of this table where the names of users for whom these rights are distributed are stored.

Like 0

Like

5 comments
Best reply

Hello Tigran,

 

As Vladimir pointed out, there is no fast way to transfer the rights to records to another instance yet.

Although, you can manage to do that with a help of the SQL scripts, here is a community post about a similar task that explains it in great detail:

https://community.creatio.com/questions/deployment-permissions

 

Additionally, I will add this request to an already existing task to prioritize it so our developers will bring such functionality in future releases.

 

Thank you.

Hi Tigran,



For example, table name for Account is SysAccountRight

Vladimir Sokolov, 

thanks for the answer .

I can't find this object in the Configurator (  

Gevorgyan Tigran writes:

Vladimir Sokolov, 

thanks for the answer .

I can't find this object in the Configurator (  

It is now shown in Configurator, but you can insert/update/delete/select with SQL queries.

We manage access rights this way sometimes

Hello Tigran,

 

As Vladimir pointed out, there is no fast way to transfer the rights to records to another instance yet.

Although, you can manage to do that with a help of the SQL scripts, here is a community post about a similar task that explains it in great detail:

https://community.creatio.com/questions/deployment-permissions

 

Additionally, I will add this request to an already existing task to prioritize it so our developers will bring such functionality in future releases.

 

Thank you.

Thanks!!!

Show all comments
SysImage
data
Studio_Creatio_enterprise_edition
8.0

Hello community,

I referred the following OData Doc https://academy.creatio.com/docs/sites/en/files/pdf/node/1398/OData_.pdf (Pages 9 through 14) to add a contact image.



I understand there are 3 steps

1. Create a record in SysImage Table

2. Add Image content (Data column of BLOB type) using PUT request

3. Set Contact tables column "PhotoId" to the Id in SysImage table created in step 1.

 

Despite multiple attempts and I am unable to see the image on the UI of contact record. The following is how I see the image







I am probably doing something wrong in step 2.

Please help understand how to send Image Data via http://localhost:98/0/odata/SysImage(da08aecf-44bf-479e-99a3-5c4ce1c817… API.



Should the image Data be base64 or Hex format? Or can I directly add it as a file through postman and send?

Like 0

Like

1 comments

Hello,

 

Thank you for your question.

Please refer to this community article that explains how to fix this exact issue:

https://community.creatio.com/questions/upload-image-sysimage-using-oda…

 

Please note that after adding the picture, be sure to religion into the application and clear your browser's cache.

 

Thank you.

Show all comments
bulk emails
Studio_Creatio_enterprise_edition
7.18

Hi All,

 

Within a Bulk Email that we sent, I see in the sending log :   16 will not send, email is not actual.

 

Can someone define what an ACTUAL or NOT ACTUAL email is ?

Is it refering to a checkbox somewhere ?

 

Thanks.

 

Like 1

Like

1 comments

That refers to the email not being valid, possibly permanent error for an email address no longer existing. For contacts that have had a permanent failure delivering to the address, you'll see it in the UI like this: 

To make an email address valid again, you can click on the label and select "Valid" from the list:

Ryan

Show all comments
devlabs
Zoom
connector
Studio_Creatio_enterprise_edition
8.0

I am trying to install DevLabs Zoom Meeting connector for Creatio.

During the installation, after the step to specify the domain:

I get an error:

I attached the log.

Tell me what could be the problem?

Thanks.

File attachments
Like 0

Like

2 comments

Hello,



According to the package installation log:



2022-09-15 19:38:49,999 D:\App\1130722-demo\Terrasoft.WebApp\Terrasoft.Configuration\Pkg\UsrApp_e89ly9h\Autogenerated\Src\UsrIncidentRegistrationFromEmailProcessCustom1.UsrApp_e89ly9h.cs(4,16) ошибка CS0400: The type or namespace name 'Common' could not be found in the global namespace (are you missing an assembly reference?)

2022-09-15 19:38:49,999 D:\App\1130722-demo\Terrasoft.WebApp\Terrasoft.Configuration\Pkg\UsrApp_e89ly9h\Autogenerated\Src\UsrIncidentRegistrationFromEmailProcessCustom1.UsrApp_e89ly9h.cs(92,28) ошибка CS0246: The type or namespace name 'ILog' could not be found (are you missing a using directive or an assembly reference?)



The package was not installed due to an application compilation error.



The application does not compile due to the "UsrIncidentRegistrationFromEmailProcessCustom1" process in the "UsrApp_e89ly9h" package.

Cherednichenko Nikita,

Thanks. We have already understood, there was a compilation error. 

We need to fix all compilation errors, otherwise we cannot install any package.

Show all comments
Sales_Creatio_enterprise_edition
lookup
MessageTemplateType
Studio_Creatio_enterprise_edition
8.0

Dear,

Is it possible to add a new MessageTemplateType into Creatio ?

I can not find any lookup for this element.

In the database i can find the records, but can i add a new record and how to ?

Thank you

Nicolas

Like 0

Like

1 comments

Dear Nicolas,

 

Thanks for reaching out.

 

To add a new Message type, please register the lookup Template type based on the object Message Template type. This way, you will be able to create a new Template type.

 

Please let us know if additional questions arise, we will gladly assist you!

 

Best regards,

Anastasiia

Show all comments
client code
client_module
Javascript
section
object
Studio_Creatio_enterprise_edition
7.18

I created a harmony of data which comes from external web services. For example, I retrieved dataA for ColumnA, dataB for ColumnB, dataC for ColumnC etc. I want to INSERT this data to section object table which section page based on.



How can i bind these things?

Like 0

Like

1 comments

Hello,

 

You can create a business process in which you will fill in the required fields received from the web service.

 

Details on the academy website:

https://academy.creatio.com/docs/user/bpm_tools/process_elements_refere…

Show all comments
Studio_Creatio_enterprise_edition
8.0

Hi everyone,

Does anyone know if there is a way to use the Calculated Field Widget for Dashboards, within the new Freedom UI? 

 

I note on 8.0.2 there is a way to copy elements from old UI. Is this possible? 

 

Thanks!

 

Harry

Like 0

Like

4 comments

Hello Mark,

 

Could you please describe in greater detail your task?

 

Thank you,

Artem.

Hi Artem, 



within the old UI, we have the marketplace add-on "Calculated Metrics For Creatio", which once installed, has the ability to create calculated metrics in "Dashboards". 



I would like to migrate from the old UI dashboard, to freedom dashboard. However, calculated fields is mandatory. 



Is is possible through dev to implement this DevLabs add-on with the Freedom Dashboard? 

 

https://marketplace.creatio.com/app/calculated-metrics-creatio

Mark,

 

Unfortunately, there is no way to set up existing sections in the Atlas UI.

Our developers are already working on bringing this functionality in future releases of Atlas.

As soon as they bring this feature old sections will be automatically updated.

 

Thank you,

Artem.

Hi Artem, 

 

I am referring to using the element within the new UI. Not bringing an existing section into it. 

 

Thanks

Show all comments
dropdown
lookup
web service
webservice restful external integration
#BusinessProcess
event
lookup changed detection
Studio_Creatio_enterprise_edition
7.18

Hello,



I want to make a cascading dropdown. For example; user selects City, then County, then District, then Street... I want to fill the dropdowns from external web service whenever user selected previous dropdown.



How should i go about it?



Like 3

Like

3 comments

Hello Ensar,

Loos like you just need to add a filter to the column based on the other column value.

You can do it by adding attribute on the needed column.

For example:

"Transport": {
                "dataValueType": Terrasoft.DataValueType.LOOKUP,
                "lookupListConfig": {
                    "filters": [
                        function() {
                            var filterGroup = Ext.create("Terrasoft.FilterGroup");
                            filterGroup.add("WhatWeight",
                                Terrasoft.createColumnFilterWithParameter(
                                    Terrasoft.ComparisonType.GREATER,
                                    "[StTransport:Id].StMaxWeight",
                                    this.get("Weight")));
                            return filterGroup;
                        }
                    ]
                }

In this example we have column "Transport" and we wont to display values where their column "StMaxWeight" is greater that out column "Weight".

Thanks for your reply Dmytro Vovchenko,

 

Filtering is ok. At the same time, i need to get data from external web service not database. Is there a way binding lookups to external web service dynamically?

Not quite understand what are you trying to do but I think you can store the value from your web service in the schemas attribute and then work with it. To make it work you just need to somehow get the needed value from the web server in the schema code. 

Show all comments