Hi Team,
We are developing a component plugin to which a json file to be passed from Appian SAIL Interface to Javascript in plugin.
Is there any way to pass the document from Appian to JavaScript in the component plugin?
when we try to pass the document from document url to component plugin it asks authentication.
Discussion posts and replies are publicly visible
Did you check out the option to call server side logic? That should you allow to at least get the content of that JSON file.
https://docs.appian.com/suite/help/23.2/reference-js-api.html#appian.component.invokeclientapi(connectedsystem,-friendlyname,-parameters)
Yes, Currently we are reading the text in Json file and passing as text format. Now we need to pass the PDF file to Component plugin , Is it possible to do that?
I am not sure about the best way to do ... what exactly? What is your overall user story?
You can pass the download URL returned by the document() function.