When trying to use the Document and Folder Browser Component in a blank interface expression I get the following error:
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!documentAndFolderBrowserFieldColumns [line 8]: Invalid function a!documentAndFolderBrowserFieldColumns (not available as [])
I am using the exact code given in the documentation example found at:
https://docs.appian.com/suite/help/17.4/Document_and_Folder_Browser_Component.html
The only substitution that I have made is changing the following:
local!rootFolder: cons!REPORTS_FOLDER to local!rootFolder: cons!MY_FOLDER (single value of folder type)
So I can't understand where the array error is coming from. I am using the cloud version of Appian 17.3.
Discussion posts and replies are publicly visible
As per the comment here received, I tried using the 17.3 component with the following snippet from the documentation. Still receiving a similar error.
docs.appian.com/.../Document_Browser_Component_173.html
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!documentBrowserFieldColumns_17r3 [line 10]: Invalid function a!documentBrowserFieldColumns_17r3 (not available as [])
=load( local!folder:cons!MY_FOLDER, { a!pickerFieldFolders( label: "Select a Folder", maxSelections: 1, value: local!folder, saveInto: local!folder ), a!documentBrowserFieldColumns_17r3( label: "Document Browser", folder: local!folder ) } )
Hello Oscar, Since you are in the version 17.3 you have to make a little change, take out the "_17r3" =load( local!folder:cons!MY_FOLDER, { a!pickerFieldFolders( label: "Select a Folder", maxSelections: 1, value: local!folder, saveInto: local!folder ), a!documentBrowserFieldColumns( label: "Document Browser", folder: local!folder ) } ) Best Regards Jose