SEM Development Guide: Difference between revisions

From Sysgem Support
Jump to navigationJump to search
No edit summary
No edit summary
Line 71: Line 71:


To learn how to create or customize Windows and options within a SEM Module using the SEM Development Interface please read the [[Navigate SEM Development Interface]] page.
To learn how to create or customize Windows and options within a SEM Module using the SEM Development Interface please read the [[Navigate SEM Development Interface]] page.
== SEM User Permissions ==
In order to use Sysgem Enterprise manager (SEM), a user needs an Account within SEM. The SEM Account needs to have an "Access Control Profile" to control the level of 'SEM Base Privileges'. Finally, Access Control Profiles needs "Access Control Tokens" to be assigned to control the level of privileges offered by the SEM Module(s) that the user will access.
The following sections describe how SEM Account, Profiles and Tokens are set up and how the settings are accessed from scripts:
* [[SEM User Accounts]] (How to set up a SEM User Account)
* [[Access Control Profiles]] (Access Control Profiles are allocated to a 'SEM User' to control what 'SEM Base' privileges are available)
* [[Access Control Tokens]] (Access Control Tokens are allocated to a 'Profile' to control what 'SEM Module' privileges are available)





Revision as of 12:58, 22 February 2011

Introduction to the SEM Development Guide

Welcome to the Sysgem Enterprise Manager (SEM) Development Guide!

This guide outlines the concepts for developing and/or customizing SEM modules. It introduces the SEM Framework and the tools for developing, testing, and releasing software for the SEM environment.

Readers of this guide should have a prior understanding of the programming language Perl for developing scripts to run on the Windows platform and optionally the command languages for the following platforms:

  • OS/400 (CL)


Overview of SEM Components

This section describes the purpose of the following software components that are installed with the Sysgem Enterprise Manager and it gives an overview of how the components interact with each other:

  • SEM Authorization Server
  • SEM Management Console (GUI)
  • SEM Agents

An overview of the Sysgem Enterprise Manager(SEM) framework is decribed on the SEM Overview page.


Start the SEM Development Interface

This section describes how to edit either your own private SEM library or a SEM Module available to all users of the SEM system.

Before you can access the SEM Development Interface the following three conditions need to be satisfied:

  • Your SEM License has to contain the permission to use the Development Interface
  • The SEM 'Master Profile' on your system needs to have the permission set
  • The SEM 'User Profile' allocated to your SEM account needs to have the permission set

To learn how to set up and start the SEM Development Interface please read the Start SEM Development Interface page.


This section describes the features available to the SEM Developer and how to navigate around a SEM library.

The first display shown after selecting the "Edit" ( ) option is a list of "Custom Display Windows" that are contained within the library.

Editing a Custom Display gives the following 'property' pages

  • General Page
  • Startup Page
  • Service Display Page
  • Data Cache Page
  • Columns Page
  • Layouts Page
  • Common Page
  • Menu Page
  • Drag and Drop Page
  • Scripts Page

To learn how to create or customize Windows and options within a SEM Module using the SEM Development Interface please read the Navigate SEM Development Interface page.


SEM User Permissions

In order to use Sysgem Enterprise manager (SEM), a user needs an Account within SEM. The SEM Account needs to have an "Access Control Profile" to control the level of 'SEM Base Privileges'. Finally, Access Control Profiles needs "Access Control Tokens" to be assigned to control the level of privileges offered by the SEM Module(s) that the user will access.

The following sections describe how SEM Account, Profiles and Tokens are set up and how the settings are accessed from scripts:

  • Access Control Profiles (Access Control Profiles are allocated to a 'SEM User' to control what 'SEM Base' privileges are available)
  • Access Control Tokens (Access Control Tokens are allocated to a 'Profile' to control what 'SEM Module' privileges are available)


Developer Examples

Below is a list of topics giving tips and programming examples to help the SEM Developer:


Defining the Characteristics of an Input Form:

  • Field Definitions. (How to create and set up the permanent characteristics of fields on a SEM input form.)
  • Change Input Field View. (How to dynamically change the view of fields on a SEM input form from the "Fields" script.)


Input Variables Preset in a Script by the SEM Framework:

  • Script Input Variables. (Script variables preset by the SEM framework before a script is run and then available as input to the script.)


Controlling Subsequent Actions after a Script has run:

  • Dialogue Boxes. (Display Information/warning/error messages in a pop-up box.)
  • AUTO_APPLY command. (Do not pause to gather input after making a menu selection, but action the transaction as soon as the menu option is selected.)
  • AUTO_CLOSE command. (Automatically close the input form after a transaction is complete.)
  • APPLY_OFF command. (Do not allow the transaction to proceed. The "Apply" button on the input form is made unavailable. The only option is to cancel the transaction after reading the error message.)


Passing Data to a Main Target Agent Script