I took the smart UI Documentation zip file and in there was a quick example of calling the folder browser widget. What I need help with is about two aspects.
- One if the Authentication fails instead of the OT alert I have a console.log it will say "Error Fetching Initial configuration".I am running Fiddler and I can see an error occurred after the post of the REST API but somewhere inside the framework, something is translating that to the message I receive. Since that is a simpler one I think I can do my alerting mechanisms so there isn't much I am missing here.
- The second aspect is where I need more clarity to suppose the page works as far as authentication happens and if I give a nonexistent dataid for it to start then that error block never registers anything but I get a modal window set by OT. The modal window wills ay something like "Error
Sorry, the item you requested could not be accessed. Either it does not exist, or you do not have permission to access it. If you were sent a link to this item, please contact the sender for assistance."
Does anyone have any samples/examples to make the UI Widget more debugger/programmer-friendly as I am only learning JS debugging?
Ideally, I want to create a UI Widget embedded like these examples doing as little programming or changes in my side
This one has a page that takes you to
https://knowledge.opentext.com/knowledge/piroot/eep/v200200/eep-cgi/en/html/_manual.htm HTML code for a
I started there but again I am at a loss to understand how those closures/scoping and other things work really

because the Jquery I have seen is much older has callbackobjects and things like that. Will that code understand a callback object and if anyone has an example?
The page I attach should work straight out if you have a working LL server and using Postman you can get an OTDSTicket:)
7.1.1 – Integrating the folder browse widget