August 24, 201114 yr 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 ). - 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
August 24, 201114 yr 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.
August 24, 201114 yr Author 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 )
August 25, 201114 yr You don't need to concatenate them. Once you call ScSetBaseURL() everything afterward is assuming it's in the same base folder tree.
August 26, 201114 yr Author Thanks I have was able to get it running via VPN in our small network including Portal images and I have purchased Supercontainer. 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. Is this a port problem?
August 27, 201114 yr Author 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. Is this a port problem? Problem solved by installing the SC plugin on the client PC. :smile:
Create an account or sign in to comment