Kris M Posted April 2, 2010 Posted April 2, 2010 Ive got an install of Supercontainer up and running and have not touched it long enough time so that i forgot why i did some of the things i did when i set it up. Now i need to build another use for it and im running into a knowledge gap where the set base url is concerned. A $$var called $$sc_base_url is set to http://servername/SuperContainer/Files" at startup. The set base url function is invoked during the startup script and the result is used to determine if the plugin is good to go. The parameter for is: SCSetBaseUrl ($$sc_base_url). The webviewer uses $$sc_base_url with some other arguments that specify the unique location. The servernameC:Program FilesFileMakerFileMaker ServerWeb Publishingpublishing-enginecwpe-tomcatbinSuperContainerWEB-INFweb.xml file contains the storage location that i want. Documents are all stored at the web.xml location when upload is invoked during upload via buttonclick on the webviewer. Does the xml file translate the storage location from the specified base url to the new location? What will happen if i use a script to batch transfer some files from containers to supercintainer? Will they go to the base url location or the web.xml specified location? If someone can volunteer some time to help me understand this i would be greatful. TIA
Smef Posted April 2, 2010 Posted April 2, 2010 The base URL location is the start of where your files will be stored based on the settings of your web.xml file. If your web.xml file sets storage to: c:myfolderSCDocsFiles Then the url: http://myserver.com/SuperContainer/Files/document1 will store the file at c:myfolderSCDocsFilesdocument1 All transfers to SuperContainer use the web.xml file to determine the storage location.
Kris M Posted April 2, 2010 Author Posted April 2, 2010 Thanks David... Including transfers with a plug in function call via script?
Smef Posted April 2, 2010 Posted April 2, 2010 Yes, all files stored with SuperContainer will be stored at the web.xml location.
Recommended Posts
This topic is 5349 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 accountSign in
Already have an account? Sign in here.
Sign In Now