Jump to content
Sign in to follow this  
DykstrL

Server Hosted Files Trick

Recommended Posts

Dealing with FM Server hosted files for many years, I have developed a trick that I do before turning a hosted file "on" - especially production files. I add several "extra" fields. I add these fields to a file just before hosting the file:

ExtraText1 = text

ExtraText2 = text

ExtraText3 = text

ExtraText4 = text

ExtraText5 = text

ExtraNum1 = Number

ExtraNum2 = Number

ExtraNum3 = Number

ExtraNum4 = Number

ExtraNum5 = Number

ExtraGlobalText1 = Global Text

ExtraGlobalText2 = Global Text

ExtraGlobalText3 = Global Text

ExtraGlobalText4 = Global Text

ExtraGlobalText5 = Global Text

ExtraGlobalNum1 = Global Number

ExtraGlobalNum2 = Global Number

ExtraGlobalNum3 = Global Number

ExtraGlobalNum4 = Global Number

ExtraGlobalNum5 = Global Number

ExtraContainer1 = Container

ExtraContainer2 = Container

ExtraContainer3 = Container

ExtraContainer4 = Container

ExtraContainer5 = Container

I don't know how many times I've been asked to add "just one more field" and have to either disconnect everyone or wait until they all close the file - just to add "one more field". With these extra fields, I can just grab an appropriate type and use that one. Calculations can use one of the fields and be set with a script temporarily until I can get into the field definitions a create the calculation field. Later on I can go back and rename the field(s) appropriately when I get a chance.

The addition of the fields adds only 2.5k to the file size and if the fields are not used, there is no performance or storage issues.

We have a couple of production files that are nearly impossible to get everyone off and the boss wants this new field added "NOW!". This inevitably happens when an application is first put into actual production.

This little trick has been a lifesaver on many occassions once I started doing this as part of my final checklist for hosted files. I thought it might help others...

Share this post


Link to post
Share on other sites

While in theory this is a good idea, there are a couple of caveats:

1. Make sure that you make a note of what there fields get used for and name them properly at the earliest opportunity. Otherwise you will forget and the field will not get named.

2. If multiple people can make use of these fields, make sure to coordinate amongst each other. Overwise you will use the same fields for different purposes.

I know someone who violates both of these and it causes major problems. Luckily I just delete them and waste that person's development efforts anyway, so no real harm done.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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