Future and Language protecting your Notes Application
Steve Castledine 10 August 2006 12:00:00
Alias's, Alias's, Alias's!Now in the most part I will be preaching to the converted. However from my time before IBM and consulting and developing for many companies that the concept of "Alias Names" in form and view design elements was lost.
For any application that maybe converted to a different language or usually most relevant will go about some change in its life, using an alias for all form and view elements is a must.
Then when you use any code etc - refer to the design element by its alias name then if say the Form name needs to be changed at any point - it can be without breaking any other part of your database.
For those who are new to notes development the following is where you would set a form alias:
The above is pretty standard stuff to the seasoned developer. However the one area I have been slack with in the past is "Field Alias's". These are used for "Combobox", "Checkbox", "Radio Button" etc types of fields.
You set the left value as the "displayed value" in the document, add a divider and then the right value is the "stored" value which is then used from your code and view formulas etc. With this set for each field, then you are able to change the document display value (for example if you are converting to a different language) without affecting any part of your application.

- Comments [13]
