• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Nitro App Builder - Pre-Execution Program with optional parameter?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Nitro App Builder - Pre-Execution Program with optional parameter?

    In defining data source in Nitro App Builder, there is an Advanced section in the Save pop-up to allow for a pre-execution program definition. There is no area to define parameter(s) to the program. Is there a way to pass one or more parameter(s) to the pre-execute program?

    NitroApp.PNG


  • #2
    You cannot specify parameters to pass to this program. However, you do have access to the following built in variables:
    • Datasource Id (gDataSource)
      • Numeric
    • User (gUser)
      • The login name used for the Valence session
    • The user Id (gUserId)
      • Numeric
    • The IBM I user (gIbmUser)
    You also have access to any app variable using the GetAppVar procedure. So you can create any app variables you wish and use those like parameters in your program.

    Comment

    Working...
    X