Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5428 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a problem. I've made a "Preferences" layout where all the icons and logos are stored in container fields (global storage). I copy-pasted the icons to the containers. But every time I close the file and open it again all the container fields are empty.

How can I preserve the data in those ?

Posted

In order for data in globals to "stick" you must have control of the file. If it is being hosted by another computer then you must use that one to fill the globals.

If it's FM server then you must close the file and open it using FMP, fill the globals, close and re-open in FMS.

Posted

Yes, the file is hosted by FM server and I'm using and editing that directly. So you mean I have to download the file from server, fill in the containers and then upload it back to the server ?

Posted (edited)

Yes, however another way around this is to create a table specifically to hold your graphics, but not as globals - these days it's the preferred route as you can readily update your graphics without closing the file.

Edited by Guest
Posted

Done and now it seems to be working correctly. Thank you, IdealData !

Posted

Global fields are session specific and will have an initial value of what it was at the point that is started being served or last modified by a server side script.

So you can either have a preferences table that stores your icons and then set the global fields on startup with an opening script, unserve the files and store the images in the global fields when unserved, or use a server side script to set the globals.

This topic is 5428 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.