Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 

custom javascript code in notification body

Hi,

can anyone tell me how can I use custom script code in notification body.

The requirement is to have table format of fields in notification body but to hide entire row if any cell content is blank in the row.

3 ACCEPTED SOLUTIONS

Accepted Solutions

DavidPetty
Archer Employee
Archer Employee

@SinghaiPrachi notifications do not have the ability to embed JavaScript and there is no workaround to hide fields if they do not contain any data.

 Advisory Consultant

View solution in original post

piyushmittalvfs
Contributor III

Hi Prachi,

You can achieve this by creating calculated field(s) and use html tags to create custom table with required fields in that calculated field and then refer this calculated field in notification.

View solution in original post

Pasting the sample calculated field formulae for your reference and its output. You need to use the appropriate html tags to create a table and refer conditions and fields in that table basis your requirement.

Previously complete table - calculated field formulae was available on community but now did not find it. You need to create on your own.

View solution in original post

5 REPLIES 5

DavidPetty
Archer Employee
Archer Employee

@SinghaiPrachi notifications do not have the ability to embed JavaScript and there is no workaround to hide fields if they do not contain any data.

 Advisory Consultant

piyushmittalvfs
Contributor III

Hi Prachi,

You can achieve this by creating calculated field(s) and use html tags to create custom table with required fields in that calculated field and then refer this calculated field in notification.

How can we create a custom table in the calculated field using existing fields ?

Pasting the sample calculated field formulae for your reference and its output. You need to use the appropriate html tags to create a table and refer conditions and fields in that table basis your requirement.

Previously complete table - calculated field formulae was available on community but now did not find it. You need to create on your own.

Thanks @piyushmittalvfs 

It worked.