Change Input Field View: Difference between revisions

From Sysgem Support
Jump to navigationJump to search
No edit summary
No edit summary
Line 19: Line 19:
'''Making a Field Read-Only'''
'''Making a Field Read-Only'''


     print "AA ! text data\n";      # where "AA" is the field code of the required field
     print "AA ! \n";      # where "AA" is the field code of the required field




'''Making a Field Read-Write'''
'''Making a Field Read-Write'''


     print "AA ~ text data\n";      # where "AA" is the field code of the required field
     print "AA ~ \n";      # where "AA" is the field code of the required field





Revision as of 06:35, 27 April 2011

'Tips for developers working within the Sysgem Enterprise Manager (SEM) environment'.


Finding your way around the SEM development Interface


Dynamically Changing Fields in a SEM Input Form from the "Fields" script

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 ! \n";      # where "AA" is the field code of the required field


Making a Field Read-Write

   print "AA ~ \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


Making a Field an 'Optional' Field

Making a field an optional field puts a checkbox infront of the field which has to be selected to make the field active.

   print "AA ? \n";      # where "AA" is the field code of the required field