Creatio Community,

 

Is it possible to format a custom macro field on an email template? I need to display a date with the long format date on an email (eg. August 25, 2022) 



The email definition that has the date looks like this:



The details of this fee were [#UsrPatientContactPreference.UsrEmailText#] to the patient or dispute submitter, on [#UsrRequestForAdditionalInformationSentOn#]



The  last field is the one I need to format.

 

Thanks,

Jose

Like 0

Like

1 comments
Best reply

Hi Jose,

 

Unfortunately, of now, there is no such functionality, but our R&D already has plans to implement it in future versions of Creatio!

 

As a workaround you can add a macro handler into the template:

https://academy.creatio.com/docs/developer/application_components/email…

Hi Jose,

 

Unfortunately, of now, there is no such functionality, but our R&D already has plans to implement it in future versions of Creatio!

 

As a workaround you can add a macro handler into the template:

https://academy.creatio.com/docs/developer/application_components/email…

Show all comments

Hi 

 

Is there a way to set up a 'Formatting pane' for different fields/ columns

 

Thanks 

File attachments
Like 0

Like

1 comments

Hi Minh, 



One of the ways to do it is to add : 

 

{ 
 
"operation": "merge",
"Name": "$name$"
"contentType": this.Terrasoft.ContentType.RICH_TEXT 
} 

 

to the "Diff Schema" section of the schema of the page

where $name$ is the code of the field.



Important points: 



1. You can only add it to Text fields. 

2. It will add HTML tags to the content of the field, which might be displayed as well : 

 

3. Also, as you can see on the above screenshot, it adds the panel to the page, which is not collapsable.



Please consider the points noted above, before making changes. 



Yurii

Show all comments