Hello Everyone, I am trying to fetch the this fiel...
# suitescript
y
Hello Everyone, I am trying to fetch the this field value and display into table structure in "Advance PDF template", but can not read the values using #list. Got this error.
Copy code
"For "#list" list source: Expected a sequence or collection, but this has evaluated to a hash+string (wrapper: com.netledger.templates.model.StringModel):
==> "
Any one have idea about this error, how to resolve it. #C06V7S5E77Z
b
you can also use TemplateRenderer.addCustomDataSource if you are willing to parse the field value first so that you can place it inside an object
the TemplateRender expects json to be an object instead of an array of objects
similarly, it expects objects to be an object instead of an array