I am attempting to display a CSV file stored in CDT in the UI using the documentViewerField. Here is the code.However, I just get a blank rectangle in the UI. Does the documentViewerField component not work for CSV files?
a!documentViewerField( label: index(ri!variable, "documentName", {}), document: index(ri!variable, "document", {}), height: "TALL" ),
Discussion posts and replies are publicly visible
What type of input ri!variable is? if it is document type of variable use following.
a!documentViewerField( label: document(ri!variable, "name"), document: ri!variable, height: "TALL", altText: "alt text" )