How to update the SupportEmailBodyTemplate of ContextHelpSchema ?

The Code is a Localizable Strings, I want to update the Value (body) by a custom template. How can I achieve this ?

Like 0

Like

4 comments

Hello Naresh,

You can achieve your goal in a simpler way:

Go to System designer -> find "Translation" -> find key Configuration:ContextHelpSchema:LocalizableStrings.SupportEmailBodyTemplate.Value -> for required localization change data -> click the "Apply translations" button

Anhelina,

Hello Anhelina,

Thanks for the response, but I am trying to update the value of the Localizable Strings of "SupportEmailBodyTemplate" with some custom template. But the value itself has some URL encode embedded to the text, I want to update the text using JavaScript, or is there any other way I can do this ?

Let me know.

Thanks!!

Naresh Mamillapalli,

You can create a replacement of ContextHelpSchema. To do this: go to System designer -> Advanced settings -> Custom package -> Replacing view model -> in modal window fill "Parent object" with "ContextHelpSchema (ContextHelpSchema)" -> Apply -> Here you can write your custom template and change Localizable Strings.

Link to Academy resources for replacing schema: https://academy.creatio.com/docs/7-16/developer/development_tools/creatio_ide/development_in_creatio_ide#case-1185

P.S. Method prepareEmailConfig from ContextHelpSchema is filling SupportEmailBodyTemplate. Please, double check it when replacing and use a debugger to feel confident at all stages of change.

Best regards, Anhelina!

Anhelina,

Yes, I did that already by Replacing view model and adding another schema in my package, but the problem is with the value, how shall I update the value of "SupportEmailBodyTemplate", it is in the format of "body=%0D%0A****" etc., I just wanted to use the plain text in the value to replace with my custom template, but it is not working/taking the plain text. How should I achieve this ?

Thanks,

M Naresh

Show all comments

Hello,

i want to make a custom module to display data in a freedom UI page,

but i can not figure out how to send the Id of the main entity to the module, in a freedom UI page.

 

The page context is sent to the module with the crt.HandleViewModelInitRequest handler, but i don't know how to retrieve id from that context object..

 

is there some documentation i can read about this please ?

 

Regards,

Patrice

Like 0

Like

2 comments
Best reply

Try this: 

const recordId = await request.$context.Id;

Ryan

Try this: 

const recordId = await request.$context.Id;

Ryan

Thanks Ryan, i did not figure $context hold a collection of promises !

Show all comments

Dear mates,

We are adding to Creatio, our contacts from marketplaces with oData.

We are facing the following issue :

data are well integrated into Creatio, but if we look at the contact sheet, in the area on the top left, the telephone professional is not indicated even though it is present in the contact's communications fields. So in the contact details of the account, we do not directly see the contact's telephone number.

 

How can we add the phone to the contacts left panel in order to see the contact's telephone number directly on the accounts page ?

Thank you !

Nicolas

Like 1

Like

1 comments

Hello,



It`s seems to be an issue that our support should take a look. Please send us an email at support@creatio.com



Best regards,

Serhii

 

Show all comments

Dear mates,

i have installed the application "Conducting surveys for Creatio".

when i go to the Interviews edit page of the section wizard, i get the following error :

Page contains items with the same name in the schema source code in different containers. Changes of these items may be applied incorrectly. It can be fixed in the source code.
 
 
The name "undefined" is used by:
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaireType.undefined
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaireType.undefined.undefined
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaire.undefined
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaire.undefined.undefined
The name "converter" is used by:
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaireType.undefined.undefined.converter
- The item with path CardContentWrapper.CardContentContainer.HeaderContainer.Header.GlbQuestionnaire.undefined.undefined.converter

how can i fix this issue ?

Thank you !

Nico

Like 0

Like

2 comments

i created two custom objects for GlbQuestionnaire and GlbQuestionnaireType but the error still appears

LÉZORAY Nicolas,

 

Hello,

 

The developer has published a new version of the add-on with fixes for these errors. Please install the latest version via the link and ensure that everything works as expected.

 

Show all comments

How to make a field in the expanded list read-only by default or by a condition

Like 0

Like

3 comments

Hello,

 

You can customize a business rule to cover this need:

Set up business rules

Hi @Kalymbet .Can you guide little bit more. The link which you have shared that is not opening

Show all comments
Question

I'm creating a business process, and I want to compare two date fields, the result of this difference should provide me with the number of days that a particular item lasts in other integer field. Problem with formula or it should be faster with sql ?

 

RoundOff(([#data zakonczenia.First item of resulting collection.Data planowanego zamknięcie#]-[#data rozpoczecia.First item of resulting collection.Data rozpoczęcia#]).TotalDays)



error: 

Formula value error: Cannot convert type "Double" to "Boolean"

Like 1

Like

5 comments

Two thoughts, where do you get the RoundOff() function from, it doesn't look like a C# function (should it not be Math.Round()).

 

It may or may not be this, but if your code is OK (and the total days calculation looks fine), is the error in code elsewhere that is being published at the same time as your total days code?

it is just formula in business process. I have two dates field: begin date, end date. I must compare this and result should be in third field Integer only days but as an integer. This is what i must do. 

The error is likely because you're attempting to put the result of the formula in a boolean param or column and it's not a boolean, it's a double. If you're wanting to know if the number of days is greater than 5 days, for example, you could use the following, which would be a boolean:

RoundOff(([#data zakonczenia.First item of resulting collection.Data planowanego zamknięcie#]-[#data rozpoczecia.First item of resulting collection.Data rozpoczęcia#]).TotalDays) > 5

Ryan

I need to know the exact number of days because I will be using this information further, so the only way is to validate this?

 

Arkadiusz Polus,

if you need to know the number of days just make sure you putting the result of the formula in an integer param, not Boolean. 

Ryan

Show all comments

Hello Community!

 

I'm trying to fill a field with the result of a simple calculation (e.g. field A - field B).

 

However, when I create the business rule and select "set field" as action, I can only provide a constant value and not a formula...am I missing something?

 

Here is a screenshot of the 

 

I know that I can use a business process to achieve this, but this would be much more simpler and elegant I think.

 

BR,

Robert

Like 0

Like

4 comments
Best reply

It's not yet available in Freedom UI --> Creatio Roadmap indicates for Q4 2023 https://academy.creatio.com/docs/release/creatio-roadmap?check_logged_i…

I forgot to add that I use version 8.0.10.4735

It's not yet available in Freedom UI --> Creatio Roadmap indicates for Q4 2023 https://academy.creatio.com/docs/release/creatio-roadmap?check_logged_i…

Damien Collot,

Thanks Damien, at least I know that I did overlook something.

Hi Damien,

I do not have access to the link to the roadmap.

I get this message:

"

Access denied

You are not authorized to access this page.

"

Is it restricted?

It is very interesting information.

Thanks,

Luis

Show all comments

Hello,



In Classic UI we have used related object fields for business rules

How can we do the same in Freedom UI?

 

Thank you!

Like 0

Like

3 comments

@Damien, is this link now offline for you also? Can’t seem to access it! Anything in the roadmap with regards to improved analytics/excel reporting by any chance?!

Hello,

 

Linking a column filter of the current object with another unrelated object is currently not possible. We only operate on the object and its own columns (including columns through direct relationships). 

Show all comments
Hello. 
Hello.

I need to send an image through an API to convert it to base 64, I tried to do it using the Web service tool but it does not allow me to place an image or file field to use it from the bpm, I was looking for some information and I saw that it could be done using a script, I just haven't found a way to do it. Could you help me with some example or idea so I can do this please?

 

 

 

Like 0

Like

1 comments

Hello Laura, 

 

Please refer to this article for more detailed information about such functionality.  

Also, similar questions have already been discussed in the below posts, please review them for the detailed information:

https://community.creatio.com/questions/there-option-send-image-file-re…

https://community.creatio.com/questions/file-type-request-parameter-res…

Please inform us in case of any questions!

Best regards,

Anastasiia

Show all comments

Dear Community,

 

We are having an issue while connecting to our plateform's mobile application for all users. An error occurs when we try to test it after setting up workplaces, list of sections, pages and details in the mobile app wizard config and binding workplaces data.

 

below is the error displayed in the message log:

Model Name: SM-A525F

Platform: Android

Platform Version: 12

Resolution: 412x867

IsHybridMode: true

RootAppDirectory: creatio

ApplicationVersion: 8.1.0

ApplicationMajorVersion: 8.1

UseNativeSynchronization: true

UseNativeImport: true

UseNativeExport: true

UseNativeLogout: true

UseNativeMetadataSync: true

UseNativeFullSynchronization: true

UseDataService: true

IsDevMode: false

CurrentDateTime: 2023-09-22T16:53:52.064Z

ServerUrl: Url

ContactId: 96b911ed-39f0-4ca1-b828-d816b829d145

CultureName: en-US


ApplicationRevision: null

WorkplaceCode: Chartering

ProductInfo: {"ProductName":"Creatio","ProductEdition":"studio","CustomerId":"111","Version":{"Major":8,"Minor":0,"Build":6,"Revision":3439,"MajorRevision":0,"MinorRevision":3439}}



Type: Terrasoft.ServerException

Message: Server request returned error

AdditionalInfo: {

"statusCode": 500,

"url": "platformUrl/ServiceModel/MobileMetadataService.svc/Load/Chartering/en-US"

}

Stack trace:

Class.getServiceFailureException(terrasoft-all-combined.js:34788:29)

Class.getExceptionFromResponse(terrasoft-all-combined.js:5953:19)

Function.getExceptionByType(terrasoft-all-combined.js:53101:41)

Function.getException(terrasoft-all-combined.js:53156:21)

Function.processFailure(terrasoft-all-combined.js:36719:55)

terrasoft-all-combined.js:36791:20

Object.callbackFromNative(cordova.js:295:52)

processMessage(cordova.js:1081:17)

processMessages(cordova.js:1104:9)

pollOnce(cordova.js:973:9)

pollOnceFromOnlineEvent(cordova.js:960:5)

 

Any help would be appreciated.

 

Thank you in Advance,

Mouna.

Like 0

Like

3 comments

Hello,

 

To resolve your issue please go to advanced setting -> Action -> generate source code for all schemas. Then make the "compile all". In case, if this issue continues to reproduce please send us the letter or register request via the portal with a detailed description of the problem. Add the information about the instance on which you have this issue and provide external access to this website. Also, please send the credentials for the mobile application. 

Viktoriia Hrynchuk,

What is the best way to provide external access to the website without dealing with GDPR problems?

I asked because I have same problem as described in the thread.

Michał Zieliński,

Just write to us at support@creatio.com and we will help you set up external access and solve the problem. 

Regards,
Anton

Show all comments