cancel
Showing results for 
Search instead for 
Did you mean: 

How to format a token?

CelinOsswald
Explorer
0 Kudos

Hello Experts,

is there a possibility to format the output within a token?

This is how the notifications look like:

This is the code:

<html>
<font size="2" face="arial">
<label key="notification.u.salutation"/><br><br>
<LOOP>
<label key="notification.Enrollment.MessageText1"/><&ROLLUP_MESG><br>
</LOOP>
<LOOP>
<label key="notification.Enrollment.MessageText2" arg0="<&ROLLUP_STUD_ID>" arg1="<&ROLLUP_STUD_NAME>"/><br><br>
</LOOP>
<label key="notification.Enrollment.MessageText3"/><br>
<&SCHD-DESC><br><br>
<label key="notification.Enrollment.MessageText4"/><br>
<&SEG-GRID><br><br>

<LOOP>
<label key="notification.Enrollment.MessageText6" arg0="<&APPROVAL_OR_DENIAL_REASON>"/><br><br>
</LOOP>
<label key="notification.u.question.contact"/><br>
</html>

Is there a possibility that the text within a token is formated like this (the following example shows the output of the token: <&SEG-GRID>):

Beginn: 25.03.2023 10:00 Europa/Berlin

Ende: 25.03.2023 18:00 Europa/Berlin

Kursleiter: xy

Einrichtung: Logistikzentrum

Primärer Standort: Logistikzentrum

This is the sequence of the code that is shown above in text format:

<label key="notification.Enrollment.MessageText4"/><br>
<&SEG-GRID><br><br>

If yes how am I able to format the text within a token? Thank you very much.

Kind regards,

Celin


Neeraj_Jain
Active Contributor
0 Kudos

You are not giving the answer. To comment on the answer please use "Add a Comment" option under beneath of answer.

Regards, Neeraj Jain

Accepted Solutions (0)

Answers (2)

Answers (2)

karenperez
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear celin_mutschler,

All the fonts and sizes are hard coded and cannot be explicitly changed either through UI or backend due it has CSS UI Implications.

Thank you.

Best Regards,

Karen Perez

karenperez
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear celin_mutschler,

Yes, you can change the format as explained in this KBA.

I hope it helps!

Thank you.

Best Regards,

Karen Perez

CelinOsswald
Explorer
0 Kudos

Dear Karen,

I had a look into the KBA and and now the text is not horizontally anymore. Thats exactly what I wanted. Thank you very much!

Is there a possibility to change the standard text font into arial? Where do I change the general text formatting settings of all tokens or is there a possibility to change this within the html?

This is how it looks like:

Thank you very much!

Kind regards,

Celin Mutschler