Change Input Field View
From Sysgem Support
'Tips for developers working within the Sysgem Enterprise Manager (SEM) environment'.
Dynamically Changing Fields in a SEM Input Form from the "Fields" script
Finding your way around the SEM development Interface
The purpose of the "Fields" script is to populate an input form before it is displayed, but not only can the text within a field be changed, but the characteristics of the field can also be changed.
This section describes the possibilities for changing the input form from the Fields script before the form is displayed.
Adding Text into a Field
print "AA : text data\n"; # where "AA" is the field code of the required field
Making a Field Read-Only
print "AA - text data\n"; # where "AA" is the field code of the required field
Making a Field Read-Write
print "AA ~ text data\n"; # where "AA" is the field code of the required field
Hiding a Field
print "AA - \n"; # where "AA" is the field code of the required field
Setting a List of Selectable Entries in a List Field
print "AA @ 1st entry\\2nd entry\\3rd entry\n"; # where "AA" is the field code of the required field
Adding Selectable Entries to an Existing Set in a List Field
print "AA + 4th entry\\5th entry\\6th entry\n"; # where "AA" is the field code of the required field
Pre-Selecting Entries in a List Field
print "AA : 2nd entry\\5th entry\n"; # where "AA" is the field code of the required field