Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4656 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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...

Posted

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:

  • 2 weeks later...
Posted

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,

This topic is 4656 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.