<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sysgem.com/index.php?action=history&amp;feed=atom&amp;title=%28M%29_Fields</id>
	<title>(M) Fields - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sysgem.com/index.php?action=history&amp;feed=atom&amp;title=%28M%29_Fields"/>
	<link rel="alternate" type="text/html" href="https://wiki.sysgem.com/index.php?title=(M)_Fields&amp;action=history"/>
	<updated>2026-07-05T07:40:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.sysgem.com/index.php?title=(M)_Fields&amp;diff=295&amp;oldid=prev</id>
		<title>Mike.schofield at 10:06, 24 February 2011</title>
		<link rel="alternate" type="text/html" href="https://wiki.sysgem.com/index.php?title=(M)_Fields&amp;diff=295&amp;oldid=prev"/>
		<updated>2011-02-24T10:06:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:06, 24 February 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;Tips for developers working within the Sysgem Enterprise Manager (SEM) environment&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;Tips for developers working within the Sysgem Enterprise Manager (SEM) environment&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== (M) Fields Script ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Variables set by the SEM framework:&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Variables set by the SEM framework:&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;(M) Fields Script&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Perl Script: &amp;#039;&amp;#039;&amp;quot;(M) Fields script&amp;quot;&amp;#039;&amp;#039; runs on the SEM user&amp;#039;s workstation after a menu option has been selected and before the display of the input form.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The Perl Script: &amp;#039;&amp;#039;&amp;quot;(M) Fields script&amp;quot;&amp;#039;&amp;#039; runs on the SEM user&amp;#039;s workstation after a menu option has been selected and before the display of the input form.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mike.schofield</name></author>
	</entry>
	<entry>
		<id>https://wiki.sysgem.com/index.php?title=(M)_Fields&amp;diff=191&amp;oldid=prev</id>
		<title>Mike.schofield: Created page with &quot;&#039;Tips for developers working within the Sysgem Enterprise Manager (SEM) environment&#039;.  == (M) Fields Script ==  &#039;&#039;Variables set by the SEM framework:&#039;&#039;  The Perl Script: &#039;&#039;&quot;(M) F...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.sysgem.com/index.php?title=(M)_Fields&amp;diff=191&amp;oldid=prev"/>
		<updated>2011-02-22T11:54:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;Tips for developers working within the Sysgem Enterprise Manager (SEM) environment&amp;#039;.  == (M) Fields Script ==  &amp;#039;&amp;#039;Variables set by the SEM framework:&amp;#039;&amp;#039;  The Perl Script: &amp;#039;&amp;#039;&amp;quot;(M) F...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;Tips for developers working within the Sysgem Enterprise Manager (SEM) environment&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== (M) Fields Script ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Variables set by the SEM framework:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Perl Script: &amp;#039;&amp;#039;&amp;quot;(M) Fields script&amp;quot;&amp;#039;&amp;#039; runs on the SEM user&amp;#039;s workstation after a menu option has been selected and before the display of the input form. &lt;br /&gt;
&lt;br /&gt;
The main purpose of the script is to enter text into the fields on the input form used by the menu option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Variables:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The details of the variables stored automatically by the SEM framework at the start of script are shown below.&lt;br /&gt;
&lt;br /&gt;
* Details of the Current SEM User:&lt;br /&gt;
&lt;br /&gt;
Details of the SEM user that has invoked the menu option are stored in the following Perl variables:&lt;br /&gt;
&lt;br /&gt;
    my $USER_NT_USERNAME      # Windows NT username&lt;br /&gt;
    my $USER_NT_COMPUTER      # Windows NT computer name&lt;br /&gt;
    my $USER_SYSGEM_USERNAME  # SYSGEM username&lt;br /&gt;
    my $CLIENT_BUILD          # SEM Client Build (e.g. 2.3 4459)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Details of the Current Display Window:&lt;br /&gt;
&lt;br /&gt;
    my $SysgemDisplayName  # Custom Display Name (e.g. Enterprise Accounts)&lt;br /&gt;
    my $SysgemMenuOption   # Menu Option (e.g. &amp;amp;Modify)&lt;br /&gt;
    my $SysgemVerbose      # Verbose display option (either 0 or 1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Startup Fields:&lt;br /&gt;
&lt;br /&gt;
The content of the fields entered in the start-up window as the display window was invoked:&lt;br /&gt;
&lt;br /&gt;
    my $STARTUP_XX  # Where XX is the two character code used in the startup window&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Selected Entry:&lt;br /&gt;
&lt;br /&gt;
All fields in the selected entry in the display window are recorded in Perl associative arrays (hashes). For each field in the selected record there are two hash elements, The first gives the &amp;quot;Title&amp;quot; of the field as shown in the display window, the second gives the content (value) of the field. For example:&lt;br /&gt;
&lt;br /&gt;
    my %SelectedEntry = ();&lt;br /&gt;
    #&lt;br /&gt;
    $SelectedEntry{0}{&amp;quot;SV&amp;quot;}{&amp;quot;title&amp;quot;} = &amp;quot;Agent&amp;quot;;    # holds the title of the column in the display&lt;br /&gt;
    $SelectedEntry{0}{&amp;quot;SV&amp;quot;}{&amp;quot;value&amp;quot;} = &amp;quot;GEMINI&amp;quot;;   # holds the Server (Agent) name of the selected record&lt;br /&gt;
    #&lt;br /&gt;
    $SelectedEntry{0}{&amp;quot;UN&amp;quot;}{&amp;quot;title&amp;quot;} = &amp;quot;Username&amp;quot;; # holds the title of the column in the display&lt;br /&gt;
    $SelectedEntry{0}{&amp;quot;UN&amp;quot;}{&amp;quot;value&amp;quot;} = &amp;quot;SmithJ&amp;quot;;   # holds the username of the selected record&lt;br /&gt;
&lt;br /&gt;
... the number of lines selected is shown in the variable...&lt;br /&gt;
&lt;br /&gt;
    my $SelectedEntries = 1;    # number of selected entries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Details of the Authorization Server&lt;br /&gt;
&lt;br /&gt;
    my $USE_AUTH_SVR_PROXY   # Whether the Authorization Server may be used for DB access (either 0 or 1)&lt;br /&gt;
    my $AUTH_SVR_ADDRESS     # The address of the Authorization Server as used in the SEM Login window&lt;br /&gt;
    my $AUTH_SVR_PORT        # The port number of the Authorization Server as used in the SEM Login window&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Output from Initialization Scripts (if any).&lt;br /&gt;
&lt;br /&gt;
Output from the initialize script such as &amp;quot;(I) Windows&amp;quot; are made available in an array:&lt;br /&gt;
&lt;br /&gt;
    my @script_output = ();&lt;br /&gt;
    #&lt;br /&gt;
    push(@script_output, &amp;quot;e.g. - 1st. line of output&amp;quot;);&lt;br /&gt;
    push(@script_output, &amp;quot;e.g. - 2nd. line of output&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Agents currently connected by this Display Window&lt;br /&gt;
&lt;br /&gt;
    my @CurrentServers = ();&lt;br /&gt;
    #&lt;br /&gt;
    push(@CurrentServers, &amp;quot;GEMINI&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Details of the Types of Connected Agent(s)&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    #   Server types (1)&lt;br /&gt;
    #&lt;br /&gt;
    my $ServerTypes = 1;&lt;br /&gt;
    #&lt;br /&gt;
    my %ServerType = ();&lt;br /&gt;
    #&lt;br /&gt;
    $ServerType{&amp;quot;GEMINI&amp;quot;} = &amp;quot;NT&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Total Agents available to this SEM user&lt;br /&gt;
&lt;br /&gt;
    my @DefinedServers = ();&lt;br /&gt;
    #&lt;br /&gt;
    push(@DefinedServers, &amp;quot;GEMINI&amp;quot;);&lt;br /&gt;
    push(@DefinedServers, &amp;quot;SIRIUS&amp;quot;);&lt;br /&gt;
    .. etc ..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Values Stored in the Registry for this Form (values are those previouslyused by the form, and will be used by default)&lt;br /&gt;
&lt;br /&gt;
    my $VALUE_SV = &amp;quot;GEMINI&amp;quot;;&lt;br /&gt;
    my $VALUE_UN = &amp;quot;SmithJ&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
... to suppress the use of previous entries used by this form, insert the following into this &amp;quot;(M) Fields&amp;quot; script:&lt;br /&gt;
&lt;br /&gt;
    #&lt;br /&gt;
    #   Disable registry save / restore.&lt;br /&gt;
    #&lt;br /&gt;
    print &amp;quot;&amp;amp;&amp;amp; : OFF\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Access Control Token Settings&lt;br /&gt;
&lt;br /&gt;
Details of the &amp;quot;Access Control Tokens&amp;quot; that are available to the SEM Users (via the SEM Profile for this user) are available to all scripts that run on the SEM user&amp;#039;s workstation. To see how to make this available to the script, please read: [[Access Control Tokens]]&lt;/div&gt;</summary>
		<author><name>Mike.schofield</name></author>
	</entry>
</feed>