July 20, 200916 yr 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.
July 20, 200916 yr 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.
July 21, 200916 yr Author 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 ?
July 21, 200916 yr 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
July 21, 200916 yr Author 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 )
July 21, 200916 yr 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.
July 31, 200916 yr 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.
Create an account or sign in to comment