randhir Posted November 12, 2011 Posted November 12, 2011 hi, I am using super container with webviwer,my work is to find complete url of the folder with image name where the image is stored . I have taken one field called url in which i have to store the complete url of the super container image. for this i have made the url field as calculation and give the url of webviewer in url field which is calculation as("http://192.168.2.3:8020/SuperContainer/Files/Contact Management/" & Contact Management::Name_First) by using this i get only url of the folder not the image name. I need solution like: The field URL should get the calculated result as Full Path with Image name, which is using in the current layout.
randhir Posted November 14, 2011 Author Posted November 14, 2011 Hi Its urgent, can any one have answer of this??
Tim Anderson Posted November 14, 2011 Posted November 14, 2011 Try replacing 'http://' with 'file:///'
ooparah Posted November 14, 2011 Posted November 14, 2011 Randhir -- If I understand you correctly, you will not want to access or reference a file directly via its "Full path". Instead you would want to construct the URL to be equivalent to: /databaseName/tableName/recordID. This is similar to how you are doing it -- minus your use of first and last name (which again, is not recommended). By passing something like: "http://192.168.2.3:8020/SuperContainer/Files/Contact Management/" & Contact Management::RecordID should allow you to successfully retrieve the image file that is located at that location on the SuperContainer server. So, trying to construct the 'full path' to the image's location is something you do not want to do. I hope this helps... If I have failed to address your issue or you need some clarification, please do not hesitate to e-mail me or contact me at the phone number below.
randhir Posted November 15, 2011 Author Posted November 15, 2011 hi obinna, Thanks for your help ,but these things is not working.
ooparah Posted November 17, 2011 Posted November 17, 2011 Randhir, If you want, you can contact me a the phone number below or via Skype and we can try to work this issue out for you.
Smef Posted November 17, 2011 Posted November 17, 2011 Keep in mind that you should ONLY access the folder. You should never refer to a file stored in SuperContainer by the filename. Your SuperContainer path is like the name of a container in FileMaker. You would not refer to a document stored in a container by the filename, and similarly you should not refer to a document stored in SuperCotntainer by the filename. Get in touch with Obinna and he'll help you get this straightened out.
randhir Posted December 26, 2011 Author Posted December 26, 2011 how i can retrive the name of images which is in super container throughs scgetinfo()
ooparah Posted December 27, 2011 Posted December 27, 2011 Use the FileMaker GetValue() function, such as: Get Value ( SCGetInfo( "/path/to/file" ) ; 1 ) The FileMaker website goes into a bit more detail on how to use the Get Value() function. I hope this helps. If you have any additional questions or need clarification on this, please do not hesitate to contact me directly. Regards,
Recommended Posts
This topic is 4713 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