PeopleSoft utility to get environment variables defined within a PeopleSoft server.
- Launch Application Designer
- click Tools, Copy Project, From File...
- click Select, choose MXM_CUSTOM_INIT
- click Copy
- Launch Application Designer
- Click Tools, Copy Project, From File...
- Click Select, choose MXM_GETENV
- Click Copy
Note: Perform this step if the project contains SQL Tables otherwise skip it
- Click Build, Project...
- Check the following options:
a. Create Table
b. Create Indexes
c. Create Views
d. Execute and build script. - Click Build
- Open the component
- Click Tools, Register Component...
- Check off the following:
- Add this component to a menu
- Add this component to a portal registry
- Add this component to a permission list
- Click Next
- Select Menu Name: MXM_CUSTOM_MENU and Bar Name: USE
- Click Next
- Select Folder Name: MXM_CUSTOM
- Change Content Reference Label and Long Description fields to "Environment Variables"
- Check off Always use default local node
- Click Next
- Select Permission List Name: PTPT1200
- Click Next
- Check off Registry entry under Add to project
- Click Finish
Record: MXM_GETENV Type: Derived/Work
Field | Type | Length | Long Descr | Short Descr |
---|---|---|---|---|
INPUTNAME | Char | 30 | Input Name | Input Name |
SEARCH | Char | 1 | Search Criteria | Criteria |
DESCRLONG | Long | 0 | Description | Descr |
Event: MXM_GETENV.SEARCH.FieldChange
MXM_GETENV.DESCRLONG.Value = "";
Local string &env = MXM_GETENV.INPUTNAME.Value;
Local string &envvalue = GetEnv(&env);
MXM_GETENV.DESCRLONG.Value = &envvalue;
Event: MXM_GETENV.PageActivate
MXM_GETENV.INPUTNAME.HtmlAttributes = "placeholder=""Environment Variable""";
Page:MXM_GETENV
Title: List Files
MXM_GETENV.INPUTNAME
MXM_GETENV.SEARCH
MXM_GETENV.DESCRLONG
Component | MXM_GETENV |
---|---|
Page | MXM_GETENV |
Navigation | Custom Components > Environment Variables |
Item Label | Environment Variables |
Search Record | INSTALLATION |
Add | Selected |
Update Display | Selected |
Disable Saving Page | Selected |
Menu | MXM_CUSTOM_MENU |
Bar item Name | MENUITEM |
Portal | Employee |
Folder Name | MXM_CUSTOM |
Content Reference label | Environment Variables |
Long Description | Environment Variables |
Sequence Number | 0 |
Always Use Local Node | Selected |
Permission Lists | PTPT1200 |
Actions | Add, Update/Display |
- PS_FILEDIR
- PS_SERVDIR
- PS_HOME
- PS_APP_HOME
- PS_CUST_HOME
- PS_CFG_HOME
- CLASSPATH
- PATH
Please create a GitHub Issue for any bugs, feature requests, etc. Happy to accept pull requests too!