Solved

Custom Fields in Emails

  • 17 February 2023
  • 3 replies
  • 93 views

Userlevel 1
Badge +1

 

 

When i use the following:

${sr.getAddonFieldValue("CustomColumn34sr")}

The output is 125.

125 is the ‘Reference id’ of my profile. If I put someone else's name in the field, it shows their ID. How can I change this to show their name instead if their reference id?

 

I have followed this:

 

 

 

“Hi Chris,
Please try this instead and let me know if this works:

$AccountObj.getCustValues("sr_cust_sbm_proj_code",$AccountObj.getResourceBundle()).getCaption($sr.getAddonFieldValue("CustomColumn5sr"))

Cheers,
Danny”

 

so in my case, it will be:

$AccountObj.getCustValues("sr_cust_test_listtt",$AccountObj.getResourceBundle()).getCaption($sr.getAddonFieldValue("CustomColumn34sr"))

 

the ‘125’ is from ${sr.getAddonFieldValue("CustomColumn34sr")}

 

 

 

 

We are on cloud hosting.

icon

Best answer by Maayan Karstaedt 22 February 2023, 10:31

View original

3 replies

Userlevel 5
Badge

Hi @Leon Symnz !

 

Is your custom field is multi select or relational you need to use this tag: 

${sr.getAddonFieldValueCaption(“CustomColumn34sr”)}

 

Let us know how it goes!

Userlevel 1
Badge +1

Hi @Leon Symnz !

 

Is your custom field is multi select or relational you need to use this tag: 

${sr.getAddonFieldValueCaption(“CustomColumn34sr”)}

 

Let us know how it goes!

Morning,

 

I was emailing with Vlad yesterday and he provided me the same. This is working.

 

Thanks again

Userlevel 1
Badge +1

Hi @Leon Symnz !

 

Is your custom field is multi select or relational you need to use this tag: 

${sr.getAddonFieldValueCaption(“CustomColumn34sr”)}

 

Let us know how it goes!

 

 

I know it has been a while but I believe there’s an error in your answer. it should be ‘CustomColumn34sr’ not “CustomColumn34sr”

Reply