Raybaudi Posted July 20, 2009 Posted July 20, 2009 Hi all friends Do you think ( or know ) if global container fields have a path ? Something like: Get( FilePath ) & "/" & gContainer I know that this is a strange idea but nevertheless I would ask.
mr_vodka Posted July 20, 2009 Posted July 20, 2009 Hi Daniele. I am not quite sure what you are getting at. It would work just like another other global field. If in a served environment then each user would have its own copy, so it one uploaded a file to the global container, the path would only be valid for that user.
Raybaudi Posted July 21, 2009 Author Posted July 21, 2009 Hi John think: 1) a global container field can have data inside itself even if the DB has no record 2) a global container field has an image embedded now: does the embedded image have a full path that I can insert into a WebViewer ? ( without exporting the image ) IOW: does an embedded file have its own path ?
IdealData Posted July 21, 2009 Posted July 21, 2009 Not sure what you are trying to do, but AFAIK once an image (or file) is embedded into FM then all "path" information is discarded. If you are trying to show the global container in the web viewer then you could always EXPORT FIELD CONTENTS to the FM temporary path, then you can display using the "file:" protocol in the web viewer. HTH
Raybaudi Posted July 21, 2009 Author Posted July 21, 2009 Hi If you are trying to show the global container in the web viewer then you could always EXPORT FIELD CONTENTS to the FM temporary path, then you can display using the "file:" protocol in the web viewer. This ( as I said ) is what I wish to avoid. Not sure what you are trying to do, but AFAIK once an image (or file) is embedded into FM then all "path" information is discarded. I know that the original path is discarted but, I'm asking myself, can the embedded file have a new ( hidden ? ) path ? ( maybe even pointing to the .fp7 )
comment Posted July 21, 2009 Posted July 21, 2009 can the embedded file have a new ( hidden ? ) path ? I should hope the answer is no. It would be a major security flaw if data in a field (global or not, container or otherwise) could be accessed simply by pointing at it.
TheTominator Posted July 31, 2009 Posted July 31, 2009 No, by default the data in the global field doesn't have a path that is directly visible from the web viewer. But there may be a way to get to the data if you are using Instant Web Publishing or have configured another web server method for the data in the FileMaker solution.
Recommended Posts
This topic is 5664 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