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

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

Recommended Posts

Posted

Hi,

I am fairly new to FM (and even more so to scripting). Therefore I am glad that I was able get Supercontainer running at all and to migrate 2000 images to the supercontainer via the recommended script (and my first working loop :smile: ).

- Filemaker 11 Pro/ Mac OS Lion

- Location of the images: "http://localhost:8020/SuperContainer/Files/obj_obj/"

- Webviewer calc: "http://" & "localhost:8020" & "/SuperContainer/Files/" & "obj_OBJ" & "/" & obj_OBJ::_pkObject

Anyway, I have two problems:

1)

Images are not showing up in portals. What is wrong in the non stored calc field for the portal?

SCGetContainer("http//:localhost:8020/supercontainer/Files/obj_obj/obj_OBJ::_pkObject"; 50 ; 50 )

2)

Images don't show up neither at another Mac PC nor an iPad in the the local network.

Thanks for your help in advance

Posted

Well there are a few things that are amiss with what you have there. You are very close. The SCGetContainer should just have ("/obj_obj/obj_OJB:_pkObject";50;50) in it. You establish the other part using the companion plug-in's SCSetBaseURL function (e.g. SCSetBaseURL("http://yourserverIP:8020/supercontainer/Files/"). That establishes for the other functions that you are working within that Files folder.

The second issue is that you are using "localhost" in your URLs where you actually need to be using the specific IP address for whatever machine on which the SuperContainer server is running. Reason being, the clients are going to interpret "localhost" as their machine and look for the files on them, rather than at the server's location.

As a final note, web viewers won't show up in portals, so to display SuperContainer information in a portal you have to do what you're doing with the "SCGetContainer()" and stick them in unstored containers.

Posted

Many Thanks!

If have set Mac to a static IP and exchanged it with "localhost".

But in regard to the portal I have an additional question.

How do I combine SCGetContainer and SCSetBaseURL in the calc field? Just with a simple AND (which doesn't work) ?

Like this?

SCSetBaseURL("http://xxx.xxx.2.210:8020/SuperContainer/Files") AND SCGetContainer( "/obj_obj/obj_obj::_pkObject";50;50 )

Posted

Thanks

I have was able to get it running via VPN in our small network including Portal images and I have purchased Supercontainer. :smile:

But a new problem emerged:

When I am run FM via VPN (Logmein Hamachi) between office and home everything is fine. BUT I just tried the database at Starbucks and non of SC's functions like SCSetBaseURL were available. :blink:

Is this a port problem?

Posted

But a new problem emerged:

When I am run FM via VPN (Logmein Hamachi) between office and home everything is fine. BUT I just tried the database at Starbucks and non of SC's functions like SCSetBaseURL were available. :blink:

Is this a port problem?

Problem solved by installing the SC plugin on the client PC. :idot: :smile:

This topic is 4835 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.