Something curious about g_form.getLabelOf('SysBoomBah');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2016 05:34 AM
As I was pondering issues associated with an Update Set containing changes to the INCIDENT TABLE and FORM scripts such that I do not want to "break" some older incidents but allow NEW ones to use the new functionality, I was surprised to find something I did not expect.
I *expected* that what would be returned from a statement such as:
g_form.getLableOf('Any_Made_Up_Column_Name_You_Please');
returns what you entered if the column does not exist (as if the column DOES exist.)
No big deal, but just unexpected.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2016 05:58 AM
Sorry -- I just reread this ==> changes below:
As I was pondering issues associated with an Update Set containing changes to the INCIDENT TABLE and FORM scripts such that I do not want to "break" some older incidents but allow NEW ones to use the new functionality, I was surprised to find something I did not expect.
I *expected* that what would be returned from a statement such as:
g_form.getLableOf('Any_Made_Up_Column_Name_You_Please');
was an empty string or even an error but what IS returned is what you entered - if the column does not exist (as if the column DOES exist.)
No big deal, but just unexpected.