Hi all, I'm on an 18.3 cloud instance and have an issue with the document viewer component - I'm feeding it a document reference (note: I've verified the local!selectedDocument is of type document, the ri!uploaded docs is a list of integers) but it is returning an error as below:
Here's the text in case it isn't readable in the image:
Your browser sent a request that this server could not understand.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
and here is the code:
a!sideBySideLayout( items: { a!sideBySideItem( item: a!dropdownField( label: "Select document to view", placeholderLabel: "Select document to view", choiceLabels: a!foreach(todocument(ri!uploadedDocs),document(fv!item,"name")), choiceValues: todocument(ri!uploadedDocs), value: local!selectedDocument, saveInto: local!selectedDocument ), width: "MINIMIZE" ), a!sideBySideItem( item: a!documentViewerField( label: "Document", document: local!selectedDocument, showWhen: not(isnull(local!selectedDocument)) ) ) } )
Has anyone come across this or have any ideas?
Discussion posts and replies are publicly visible