I'm working with a bunch of scripts in FileMaker that make calls to a web host online. This particular solution is going to be used by different companies, so I'd like to make the domain of the server the scripts are using dynamic so anybody using the solution file can quickly update it.
I created a new table called Global_Config and I added some fields to this table including one called domain. Then within my scripts I'm pulling the value from this so we can easily change it from the config if/when the domain ever changes.
It works just fine as long as the value is filled in to my Global_Config fields, however, for some reason all of those fields keep getting wiped out. I can't figure out why it is, but suddenly the stuff stops working, I run a quick test and I see that it's trying to hit www./something (leaving out the domain.com that would be pulled from the config table.)
So then I go back and look at my Global_Config layout and the fields are all empty.
Any information on what could be causing this would be greatly appreciated. Thanks!