February 12, 201213 yr Hi, I have a portal with PDF files (SC container as unstored calc) on Layout A . How do I show the PDF from the Portal in a webviewer on the same layout A? PS: I only know the basics of scripting...
February 13, 201213 yr Hey Ferdinand, Take a look at this example/sample database that uses portals, SCGetContainer(), and web viewers together on the same layout (A). Hopefully it sheds some light on how to achieve your end result. Hope this helps,
February 14, 201213 yr Author Thanks ooparah, I had already checked the demo file, but still do not understand which values I have to enter in the calc field WebViewerURL. I tried the following, but it's not working: SCGetInfo ("http://" & xxxxx::SC_setIP & ":8020/SuperContainer/Files/FMGalerie/Document/Doc/") :getlost:
February 22, 201213 yr I tried the following, but it's not working: SCGetInfo ("http://" & xxxxx::SC_setIP & ":8020/SuperContainer/Files/FMGalerie/Document/Doc/") Much too much entered here! The SCGetInfo() function (along with most SuperContainer functions) only requires that the "folderPath" be passed into the function. The folderPath is essentially everything after the "Files/" in the full URL. So, your call to SCGetInfo(), using the above example, would be similar to: SCGetInfo( "FMGalerie/Document/Doc/" ) Simple and sweet. :-) I hope this helps. I apologize for the delay in getting back to you... didn't see that you replied to this one until today. P.s. Make sure that you have set your baseURL prior to calling any SC Companion functions Good luck,
Create an account or sign in to comment