N/render Custom Data Source

Is there is a way to “trick” the N/render into correctly interpretting an added customDataSource such that it interprets the FreeMarker ${….@label} tag correctly?

Such as ${record.total@label}

I tried adding an additional label key explicitly like
var customObj = { 'total@label' : "test label" }
to my custom object that is aliased as “record” but this threw and Unexpected Error when it was trying to render the xml string into PDF

Thanks

Intermediate Asked on February 28, 2020 in SuiteCloud.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor