I am trying to create a workflow, based on PDF in Browser to show a selected PDF file in a sidebar. When in the webview object's options in the UI section I hardcode an URL of a file (generated by PDF in Browser) - it works. But when I use load_url with the same address, I just get a blank page.
This is the code I use:
v = ui.load_view()
v['webview1'].load_url('file:///var/mobile/Applications/…/Library/Application%20Support/Dropbox/….pdf')
v.present('sidebar')
What am I doing wrong?
Thanks for your help!