Zone Parameter Details
For most zone parameters, the embedded help for the parameter provides the detailed information needed for configuring the parameter values. For some parameters with very detailed descriptions, the embedded help is abbreviated and more detail is provided here.
- Zone Visibility Service Script
- SQL Statement
- Column Parameters
- Zone Action
- User Filters
- Hidden Filters
- Multi-Select Action
Parent topic: Defining Zones
Zone Visibility Service Script
All zones support a visibility script that is used to determine if the zone should be displayed to the user or not based on conditions. The script may receive input parameters and is expected to return a Boolean value indicating if the zone should be displayed or not. The embedded help for the Zone Visibility Service Script parameter provides details related to the syntax.
The following table highlights some service scripts provided by the product that may be used if applicable to your zone's requirements. This is not an exhaustive list of visibility scripts. There may be others that are specific to a given zone.
| Script Code | Description | Comments |
|---|---|---|
|
F1-ShldShwZn |
Zone Visibility - Display Zone in Portal |
This script simply returns a value of 'true' and is used when the zone should always appear. |
|
F1-CondShwZn |
Zone Visibility - Display Zone in Portal Conditionally |
This is used when the condition for showing the zone is based on the population of a context value. This is commonly used when one zone in the portal should only appear after a broadcast of a record from another zone in the portal. For an example of a zone the uses this visibility script, refer to F1-BSFTYPE . |
|
F1-RwCtShwZn |
Zone Visibility - Based on Row Count |
This is used when the condition for showing the zone is based on the existence of one or more rows that can be determined using SQL. This script accepts a zone code, user filters 1 through 25 and hidden filters 1 through 10. The script returns an indication of 'true' if at least one row count is returned by the zone. To use this visibility script, a specific data explorer zone must be developed for the specific use case. For an example of a zone the uses this visibility script, refer to F1-MIGRREQEL . |
Parent topic: Zone Parameter Details
SQL Statement
Data explorer zones are used to select data to display using one or more SQL statements. The SQL parameters are applicable to the following zone types
-
Info Data Explorer - Single SQL (F1–DE-SINGLE). The parameter has the description SQL Statement.
-
Info Data Explorer - Multiple SQLs (F1–DE). The parameters follow the description pattern of SQL Statement x.
-
Query Data Explorer - Multiple SQLs (F1–DE-QUERY). The parameters follow the description pattern of SQL Statement x.
Note:
If your implementation has been configured to restrict the functions that may be used when defining an SQL then an error is issued at runtime if there are functions found that are not in the allowlist. The allowlist may be viewed using the SQL function allowlist link in the SQLs zone on the zone maintenance page.Note:
Zone SQL should take care not to use the following reserved keywords for the table alias. (For example, the table alias in this SQL is 'XX': SELECT 'X' FROM W1_ACTIVITY_TYPE XX.)| Keyword |
|---|
| AT |
The following table provides a list of SQL substituted keywords that may be used in the SQL Statement parameters in explorer zones. At execution time, the system determines the database and substitutes the keyword with the database specific syntax:
| Keyword | Description | Examples |
|---|---|---|
|
@toCharacter() |
Converts the input to Character data type. |
select @toCharacter(batch_cd) as batchCode from ci_batch_ctrl |
|
@toDate() |
Converts the input to Date data type. |
select @toDate(last_update_dttm) as lastUpdateDate from ci_batch_ctrl |
|
@toNumber() |
Converts the input to Number data type. |
select @toNumber(next_batch_nbr) from ci_batch_ctrl |
|
@currentDate |
Fetches the current date. Caution: The Oracle functions SYSDATE and CURRENT_DATE should not be used because they do not properly cater for adjusting dates from the database time zone to the installation time zone, if needed. |
select batch_cd, @currentDate as today from ci_batch_ctrl |
|
@currentTimestamp |
Fetches the current date / time. Caution: The Oracle functions SYSTIMESTAMP and CURRENT_TIMESTAMP should not be used because they do not properly cater for adjusting the date / time from the database time zone to the installation time zone, if needed. |
select batch_cd from ci_batch_ctrl where last_update_dttm > @currentTimestamp |
|
@concat |
Combines the result list of two or more columns. |
select batch_cd @concat next_batch_nbr concatNbr from ci_batch_ctrl |
|
@substr(string, start) |
String is the input String that you are trying to get a substring of. Start is the position of the character for the output results. |
select batch_cd batchCode from ci_batch_ctrl Result: TESTCD select @substr(batch_cd,3) batchCode from ci_batch_ctrl Result: STCD |
|
@substr(string, start, end) |
String is the input String that you are trying to get a substring of. Start is the position of the character for the output results. End is the number of characters required in the output from starting position. |
Select batch_cd batchCode from ci_batch_ctrl Result: TESTCD select @substr(batch_cd,3,2) batchCode from ci_batch_ctrl Result: ST |
|
@trim |
Trims the white spaces of the output on both sides. |
select @trim(batch_cd) as batchCode from ci_batch_ctrl |
|
The following syntax is related to ‘fuzzy’ searching. It is only applicable if Oracle DB Text is enabled and a context text index has been created. Refer to Advanced Search Options for more information. |
||
|
@fuzzy(string, score, numresult, ‘weight’) |
String is the input value for the search. Score is the degree of ‘fuzziness’. Valid values are between 1 - 80. The higher the number the more precise the search. Default is 60. Numresults is the number of variations to consider for the string. Valid values are between 1 and 5000. Default is 100. Indicate ‘weight’ to signal that the results are returned in order of weight. Leave this setting off to indicate that the results are returned in order of score. |
Set score to 70, number results to 6, and specify weight. select user_id, last_name from sc_user where contains(last_name, @fuzzy(:F1,70, 6, 'weight')) > 0 |
|
@fuzzy(string) |
This returns a string result from the fuzzy expansion operation where the default value of 60 is assumed for the score and the default value of 100 is assumed for the numresult. |
To use default values: select user_id, last_name from sc_user where contains(last_name, @fuzzy(:F1))> 0 |
|
@fuzzy(string, score) |
This returns a string result from the fuzzy expansion operation with the score specified and the default value of 100 for the numresult. |
Set score to 70. select user_id, last_name from sc_user where contains(last_name, @fuzzy(:F1,70)) > 0 |
|
@fuzzy(string, score, numresult) |
This returns a string resulted from the fuzzy expansion operation with the similarity score and the numresults specified. |
Set score to 70, number results to 6. select user_id, last_name from sc_user where contains(last_name, @fuzzy(:F1,70, 6)) > 0 |
Parent topic: Zone Parameter Details
Column Parameters
Data explorer zones are used to select data to display using one or more SQL statements. For each SQL statement, the zone may configure up to 20 Columns that contain the formatting definition for displaying the output data.
These parameters are applicable to the zone types
-
Info Data Explorer - Single SQL (F1-DE-SINGLE). The parameters follow the description pattern of Column x.
-
Info Data Explorer - Multiple SQLs (F1-DE). For this zone type, all SQLs are executed and the zone displays a union of all the results. The parameters follow the description pattern of Column x for SQL y. There are some mnemonics that do not make sense to differ within rows of the same column. For example, the column label. For these mnemonics, only the value in SQL 1 is considered for that column. The table below indicates which mnemonics follow this rule.
-
Query Data Explorer - Multiple SQLs (F1-DE-QUERY). For this zone type, only one SQL is executed. The SQL y Condition parameter may be used to control this. The system will execute the first SQL whose condition is satisfied (or with no condition populated). The parameters follow the description pattern of Column x for SQL y.
The following sections describe the various types of mnemonics.
Source Mnemonics
This table describe the mnemonics that control how the data in a column is derived.
| Mnemonic | Description | Valid Values | Comments |
|---|---|---|---|
|
source= |
Defines how the column's value is derived. |
SQLCOL |
Indicates that the source of the column's value comes from a column in the SQL statement. This type of column must also reference the sqlcol= mnemonic. |
|
BO |
Indicates that the source of the column's value comes from a business object. This type of column must also reference the bo=, input= and output= mnemonics to define how to interact with the business object. |
||
|
BS |
Indicates that the source of the column's value comes from a business service. This type of column must also reference the bs=, input= and output= mnemonics to define how to interact with the business service. |
||
|
SS |
Indicates that the source of the column's value comes from a service script. This type of column must also reference the ss=, input= and output= mnemonics to define how to interact with the service script. |
||
|
FORMULA |
Indicates that the source of this column's value is calculated using a formula. This type of column must also reference the formula= mnemonic. |
||
|
SETFUNC |
Indicates that the source of this column's value is calculated using a superset of values from the rows in the SQL statement. This type of column must also reference the setfunc= mnemonic. |
||
|
ICON |
Indicates that the source of this column's value is a display icon reference (meaning that an icon will be displayed in the column). This type of column must also reference the icon= mnemonic to define the icon reference. |
||
|
FKREF |
Indicates that the source of this column's value is an FK reference (meaning that the FK reference's context menu and information string will be displayed in the column and will be enabled for navigation). This type of column must also reference the fkref= and input= mnemonics to define how the FK reference is called. Note: To show a foreign key's information but not enable navigation, refer to Common Use Cases for the recommended technique. |
||
|
SPECIFIED |
Indicates that the source of this column's value is specified by concatenating literals and other column values. This type of column must also reference the spec= mnemonic. When constructing an HTML element for a web component or a function, the syntax may be slightly different for a data explorer column. Refer to UI Map Attributes and Functions for the appropriate syntax. |
||
|
MSG |
Indicates that the source of this column is a message from the message table (along with any substitution variables). This type of column must also reference the msg= mnemonic. |
||
|
sqlcol= |
Defines the column in the SQL statement when source=SQLCOL. |
COLUMN_NAME |
Enter the name of a column that is retrieved in the SELECT statement. Note that if the select statement uses an alias for a column, then the alias should be referenced here. |
|
x |
Where x is an integer value that references a column by its relative position in the SELECT statement. For example, sqlcol=3 would display the 3rd column in the SELECT statement). |
||
|
bo= |
Defines the business object to invoke when source=BO. This mnemonic must be used in conjunction with the input= and output= mnemonics to define how information is sent to / received from the business object. |
'Business Object Code' |
|
|
bs= |
Defines the business service to invoke when source=BS. This mnemonic must be used in conjunction with the input= and output= mnemonics to define how information is sent to/received from the business service. |
'Business Service Code' |
|
|
ss= |
Defines the service script to invoke when source=SS. This mnemonic must be used in conjunction with the input= and output= mnemonics to define how information is sent to / received from the service script. |
'Service Script Code' |
|
|
icon= |
Defines the icon to use when source=ICON. |
Cx |
This means the Display Icon code is defined in an earlier column. For example, define C1 if column 1 defines the icon code value. |
|
COLUMN_NAME |
This means the Display Icon code was retrieved by the SELECT statement. The value should match the name defined in the SELECT clause. |
||
|
'image' |
This means the image file is defined directly. For example '/images/treeRootObject.gif'. |
||
|
'Display Icon Code' |
This means the Display Icon code is defined directly. For example 'F1EDIT. |
||
|
fkref= |
Defines the FK reference used to retrieve the column’s information when source=FKREF. This mnemonic must be used in conjunction with the input= mnemonic to define how information is sent to the FK reference to build the information. |
Cx |
This means FK reference code is defined in an earlier column. For example, define C1 if column 1 defines the FK reference value. |
|
COLUMN_NAME |
This means the FK reference was retrieved by the SELECT statement. The value should match the name defined in the SELECT clause. |
||
|
'FK Reference Code' |
This means the FK Reference is defined directly. For example 'F1-ROLE'. |
||
|
formula= |
Defines the formula to use when source=FORMULA. Examples:
|
The formula can contain numeric constants, operators and column references. |
For column references, use the format Cx where x represents the column number. |
|
Refer to Expression Parser for information about the functions supported. |
|||
|
setfunc= |
Defines the function to apply to the rows of a given column when source=SETFUNC. |
function(Cx) |
Where Cx represents a column whose rows should have the function applied and the function is one of the following:
|
|
input= |
This is used to define one or more input fields and values passed to business objects, business services, service scripts, and FK references. The syntax is as follows: [ELEMENT_NAME=ELEMENT_REF ELEMENT_NAME=ELEMENT_REF ...] In other words, the list of input values is surrounded by square brackets separated by a space. Each passed value first defines the ELEMENT_NAME, which is the name of the element / field in the target. ELEMENT_REF is the value passed in. The next column indicates the possible values for ELEMENT_REF. |
Cx | Where Cx represents the value of a previous column. If the value to pass is in the first column, reference C1. |
| COLUMN_NAME | This means the value to pass in was retrieved by the SELECT statement. The value should match the name defined in the SELECT clause. | ||
| 'literal value' | This means a literal value within the single quotes should be passed in. | ||
|
userTimeZone |
This means
the current user's time zone should be passed in. This is
typically used with the business service
F1-ShiftDateTime to convert data in the storage time zone to the user's time zone for display. |
||
|
installationTimeZone |
This means the installation time zone should be passed in.
This is typically used with the business service
F1-ShiftDateTime to convert data in the storage time zone to the installation time zone for display. |
||
|
Examples:
|
|||
|
output= |
This is used to define the name of the element retrieved from the business object, business service or service script used to populate this column. |
elementName |
Example: output=personInfo |
|
pagingkey= |
This mnemonic is only applicable when the Enable Paging parameter has been configured. It indicates that this column is one of the keys used by the SQL statement to orchestrate paging through results. This mnemonic can only be specified when the source=SQLCOL. Fastpath: Refer to Pagination Configuration for more information. |
Y |
|
|
N |
This is the default, meaning that you don't need to indicate pagingkey=N at all to indicate that the column is not one of the paging keys. |
||
Note:
If multiple columns are configured with the same source BO, BS or SS and the same input data, the system caches the output from the first call and reuses the results for subsequent columns.Formatting Mnemonics
This table describe the mnemonics that control how a column is formatted.
Note:
For the F1-DE zone type, zone displays the union of all the different SQLs.| Mnemonic | Description | Valid Values | Comments |
|---|---|---|---|
|
type= |
Defines how the column's value is formatted. Note: Icon and Foreign Key columns. The source= source mnemonic may be used to indicate a column should be derived from an icon reference or a foreign key (FK) reference. If you use either of these sources, the type= mnemonic is not relevant as either an icon or a context menu / info string will appear in the column. |
STRING |
Columns of this type capture a string. This is the default value. |
|
DATE |
Columns of this type capture a date and will be displayed using the user's display profile. |
||
|
TIME |
Columns of this type capture a time (in database format) and will be displayed using the user's display profile. |
||
|
DATE/TIME |
Columns of this type capture a date and time (in database format) and will be displayed using the user's display profile. |
||
|
MONEY |
Columns of this type capture a monetary field. This type of column may also reference the cur= mnemonic. If the cur mnemonic is not specified, the currency code on the installation record is used. |
||
|
NUMBER |
Columns of this type capture a numeric field. This type of column may also reference the dec= mnemonic. |
||
|
label= |
Defines the column's override label. The label appears in the column's heading and in the zone's drag and drop area. If this mnemonic is not defined, the system uses the column's default label. The source of a column's default label differs depending on the column's source. Note that some sources don't have a default value and omitting this mnemonic will result in a blank label. Note: In the case of the zone type Info Data Explorer - Multiple SQLs (F1–DE), the system will use the column definitions in SQL 1 to define the labels. |
FIELD_NAME |
Enter a valid field name whose label should be used for the column label. This should always be the option used if multiple languages are needed. |
|
'text' |
Defines the text directly. |
||
|
cur= |
Defines the currency code applied when type=MONEY if the installation record's currency should not be used. |
Cx |
This means currency code value is defined in an earlier column. For example, define C1 if column 1 defines the currency code. |
|
COLUMN_NAME |
This means the currency code was retrieved by the SELECT statement. The value should match the name defined in the SELECT clause. |
||
|
'Currency Code' |
This means the currency code is defined directly. For example 'USD'. |
||
|
dec= |
Defines the number of decimal places when type=NUMBER. It is optional. If provided it should be an integer. If not provided, the number of decimals will default to the number of decimal places defined on the currency code specified on the installation record. |
nR |
Where n is the number of decimal places to show. Suffixing the number of decimal places with R means that the system should round up / down. Simply specifying n (without an R) means that decimal places should be truncated. For example, entering dec=4 will display 4 decimal places and truncate the remainder. Note: Formatting only. This mnemonic is only used for formatting, it does not impact the precision used for subsequent calculations. For example, if a column retrieved from the database contains 6 significant digits and dec=0, the column will be shown with no decimal places (truncated), however any references to the column in subsequent calculations will use 6 decimal places. For example, if the column is referenced in a formula or set function, all 6 decimal places will be used. |
|
char= |
This mnemonic applies special character(s) to the column's value. |
'x[]x' |
Where x references the literal value to display and [ ] defines the relative position of the characters (before or after the value). You need only include the [ ] if you want to position characters in front of the value. For example, char='%' will place a percent sign after the value. If you want to position the word 'minutes' before a value, enter char='minutes [ ]'. If you want to output a value like BUDGET $123.12 (YTD), enter char='BUDGET [ ] (YTD)'. |
|
suppress= |
This is used to indicate a column should not be displayed. A column would be suppressed if it's only defined for use by subsequent columns, for example, if there is a formula that derives a column using two other columns. In this scenario, the columns referenced in the formula can be suppressed. Note: In the case of the zone type Info Data Explorer - Multiple SQLs (F1–DE), the system will apply the settings for the column definitions in SQL 1 to all subsequent SQLs. |
true |
|
|
false |
This is the default, meaning that you don't need to indicate suppress=false at all to indicate that the field should be shown. |
||
|
suppressSearch= |
This is used to indicate a column should not be displayed when the zone is invoked in search mode only. Note: In the case of the zone type Info Data Explorer - Multiple SQLs (F1–DE), the system will apply the settings for the column definitions in SQL 1 to all subsequent SQLs. |
true |
|
|
false |
This is the default, meaning that you don't need to indicate suppressSearch=false at all to indicate that the field should be shown. |
||
|
suppressExport= |
This is used to indicate a column should not be downloaded when exporting. Note: In the case of the zone type Info Data Explorer - Multiple SQLs (F1–DE), the system will apply the settings for the column definitions in SQL 1 to all subsequent SQLs. |
true |
|
|
false |
This is the default, meaning that you don't need to indicate suppressExport=false at all to indicate that the field should be included in a download. |
||
|
width= |
This is used to override the width of a column (number of pixels). The default value is the maximum width of any cell in the column. |
n |
Where n is a number between 0 and 999. Note: If there is no available breaking point in the data, the column will be longer than the specified number of pixels. The length of the column's label (which appears in the column's heading) may also make the width wider than specified. In the case of the zone type Info Data Explorer - Multiple SQLs (F1–DE), the system will set the width based on the column definitions in SQL 1. |
|
color= |
This is used to override the column's text color. |
A valid HTML "named" color |
For example color=yellow. Note: Refer to Color Contrast for information about the use of the HTML color 'red' and its impact on accessibility. |
|
A valid RGB color model combination |
For example color=#E0292F or color=#CCCCCC. Note that the # is required. |
||
|
bgcolor= |
This is used to override the column's background color. |
A valid HTML "named" color |
Similar to the color= mnemonic. |
|
A valid RGB color model combination |
Similar to the color= mnemonic. |
||
|
order= |
Defines the column's default sort order. |
ASC |
Indicates that the order is ascending. This is the default meaning that it is not necessary to indicate order=ASC. |
|
DESC |
Indicates that the order is descending. |
||
|
rowHeader= |
Designates the column as a row header for accessibility purposes. |
true |
By default, the first data column of the data explorer results is identified as the row header, for accessibility tools. If the data in the first column does not uniquely identify the row, use this mnemonic to explicitly mark a different column or multiple columns as the row header. Note: In the case of the zone type Info Data Explorer - Multiple SQLs (F1–DE), the system will look only at the columns in SQL 1 that have this mnemonic defined and apply it to all results for those columns. |
Click Mnemonics
This table describe the mnemonics that define whether a column value may be clicked and if so, what should happen.
| Mnemonic | Description | Valid Values | Comments |
|---|---|---|---|
|
navopt= |
Defines the navigation option that references the target transaction or script when the user clicks a column. Note, this mnemonic should be used in conjunction with the context= mnemonic to define what information is sent to the navigation option's target transaction. This mnemonic is ignored if source=FKREF because the FK reference code defines the hyperlink's destination. |
Cx |
This means navigation option code is defined in an earlier column. For example, define C1 if column 1 defines the navigation option. |
|
COLUMN_NAME |
This means the navigation option was retrieved by the SELECT statement. The value should match the name defined in the SELECT clause. Example: navopt=MAIN_PORTAL |
||
|
'Navigation Option Code' |
This means the navigation option code is defined directly. For example navopt='userMaint'. |
||
|
context= |
This is used to define one or more context fields and values passed to the target navigation option to go along with the navopt= mnemonic. The syntax is as follows: [FIELD_NAME=FIELD_REF FIELD_NAME=FIELD_REF ...] In other words, the list of input values is surrounded by square brackets separated by a space. Each passed value first defines the FIELD_NAME, which is the name of the context field in the navigation option. FIELD_REF is the value passed in. The next column indicates the possible values for FIELD_REF. |
Cx |
Where Cx represents the value of a previous column. For example, if the value to pass is in the first column, reference C1. |
|
COLUMN_NAME |
This means the value to pass in was retrieved by the SELECT statement. The value should match the name defined in the SELECT clause. |
||
|
'literal value' |
This means a literal value within the single quotes should be passed in. |
||
|
bpa= |
Indicates that a BPA script should be executed with the user clicks the column and indicates the BPA to execute. Note, this mnemonic should be used in conjunction with the tempstorage= mnemonic to define the temporary storage values that will be initiated when the script is executed. This mnemonic is ignored if source=FKREF because the FK reference code defines the hyperlink's destination. |
Cx |
Indicates that the BPA script is defined in a previous column. |
|
COLUMN_NAME |
This means the BPA script to execute was retrieved by the SELECT statement. The value should match the name defined in the SELECT clause. |
||
|
'BPA Script Code' |
This means that the BPA script to execute is defined directly. |
||
|
tempstorage= |
This is used to define how temporary storage variables are initiated when the bpa= mnemonic is used. The syntax is as follows: [FIELD_NAME=FIELD_REF FIELD_NAME=FIELD_REF ...] In other words, the list of input values is surrounded by square brackets separated by a space. Each passed value first defines the FIELD_NAME, which is the name of the field in temporary storage. FIELD_REF is the value passed in. The next column indicates the possible values for FIELD_REF. |
Cx |
Where Cx represents the value of a previous column. For example, if the value to pass is in the first column, reference C1. |
|
COLUMN_NAME |
This means the value to pass in was retrieved by the SELECT statement. The value should match the name defined in the SELECT clause. |
||
|
'literal value' |
This means a literal value within the single quotes should be passed in. |
||
|
list= |
This is used to enable work list capability for this column. You may optionally populate the listdesc= mnemonic to override the text that will be placed in the worklist zone. |
true |
Setting list=true will cause the work list icon to appear in the column's header. If a user clicks the column, it will populate all the rows in the output into the work list zone. Note: In the case of the zone type Info Data Explorer - Multiple SQLs (F1-DE), the output may be showing a union of the results of multiple SQL statements. In this case, if some of the SQL statements configure a given column with list=true, but not all, only the data in the cells for the statements that configure this mnemonic are put into the work list when the user clicks the icon. Also note that when determining which columns should have the worklist icon when building the zone, the system only looks at the configuration for the columns in SQL 1. |
|
listdesc= |
This is an optional mnemonic when using the list= mnemonic. It can be used to override the text that is placed in the work list zone. |
Cx |
Where Cx represents the value of a previous column. For example, if the text to use is in the first column, reference C1. |
|
listbroadcast= |
Indicates that the broadcast information for the column is also to be made available in the work list zone. This means that the work list can be used to broadcast information to a portal in the same manner as a data explorer. |
true |
Use this setting to turn on the feature. |
Common Use Cases
This section provides some common configuration that can be copied and pasted for newly created zones.
| Use Case | Code Snippet |
|---|---|
|
Displaying the description of a lookup value that has been retrieved in the SQL statement. The business service checks for an override label. |
source=BS bs='F1-GetLookupDescription' label=FLD_NAME input=[fieldName='FLD_NAME' fieldValue=FLD_NAME] output=description |
|
Display a foreign key with its information but suppressing the navigation. (This is useful when you have a foreign key that is additional information in a zone but would cause confusion to enable navigation. To display foreign key reference with its information and enabled for navigation, use the source of FKREF as described above.) The first example assumes that you know the FK Reference. The second example uses a business service that receives the maintenance object as input. |
source=BS bs='F1-GetForeignKeyReference' input=[input/fkReference=FK_REF_CD input/fkValue1=BUS_OBJ_CD] output=output/infoDescription label=DESCR |
|
source=BS bs='F1-GetFKReferenceDetails' input=[input/maintenanceObject='F1-EXT LKUP' input/pkValue1=BUS_OBJ_CD input/pkValue2=C1] output=output/infoDescription label=DESCR |
|
|
Display a foreign key, including a corresponding navigation link, for generic objects that may or may not have a foreign key reference. If the FK reference exists, its information is shown, otherwise not. Standard foreign key services assume all rows have foreign key details. The service script F1FKInfoOpt provides the same foreign key details but does not error when foreign key details do not exist. To build the foreign key description and link, the script needs to be used twice; one column gets the navigation details and another gets the description. The latter references the navigation details column and invokes a BPA script to perform the dynamic navigation. |
This column gets the navigation details: source=SS ss='F1FKInfoOpt' input=[input/fkReference=C9 input/fkValue1=C6 input/fkValue2=C7] output=output/navigationOption suppress=true This column constructs the foreign key description and link: source=SS ss='F1FKInfoOpt' input=[input/fkReference=C9 input/fkValue1=C6 input/fkValue2=C7] output=output/infoDescription label=F1_APPSEC_COMP_DESCR bpa='F1ApsecNav' tempstorage=[navopt=C15 pkField1=C10 pkValue1=C6 pkField2=C11 pkValue2=C7] list=true |
Parent topic: Zone Parameter Details
Zone Action
Most zone types provided by the product allow for one or more Zone Actions to be defined to appear in the zone header. An action can appear as a hyperlink, icon or button. The action can also be provided as an HTML string.
Note:
Zone types also include parameters for actions defined at the zone type level using IMPLEMENTOR_ACTION_n (Action n) parameters. These are rarely used by the product zone types. The actions defined here override any actions defined on the zone type (if present). The details below apply to the zone type level actions as well.A zone action is defined using the following mnemonics:
| Mnemonic | Description | Valid Values | Comments |
|---|---|---|---|
|
type= |
This mnemonic defines the appearance of the action in the zone header. |
LINK |
Indicates that the action is shown as a textual hyperlink. |
|
ICON |
Indicates that the action is shown as a graphical icon. |
||
|
BUTTON |
Indicates that the action is shown as an HTML button. |
||
|
ASIS |
Indicates that the parameter will provide the HTML to be used for the action. |
||
|
action= |
This mnemonic defines the action to take when the link/icon/button is clicked. This is ignored when the type=ASIS. |
NAVIGATION |
Indicates that the action is navigation to a page. |
|
SCRIPT |
Indicates that the action is to run a BPA script. |
||
|
navopt= |
Defines the navigation option to use when the action=NAVIGATION. |
'NAV_OPT_CD' |
Enter a reference to a valid navigation option in single quotes. |
|
bpa= |
Defines the script to run when the action=SCRIPT. |
'SCRIPT_CD' |
Enter a reference to a valid BPA script in single quotes. |
|
icon= |
Indicates the icon to use when type=ICON. |
DISP_ICON_CD |
Enter a reference to a valid display icon. |
|
'path' |
Enter an explicit path to the icon, for example 'images/gotoZone.gif'. |
||
|
asis= |
This is required when the type=ASIS. This provides the ability to precisely define the HTML you wish to have included in the header. All valid HTML is permitted including the use of "ora" css classes and JavaScript functions. |
['HTML'] |
|
|
label= |
By default, the label or tooltip will come from the navigation option or BPA script description. Use this mnemonic to override that label. |
FIELD_NAME |
Enter a valid field name whose label should be used. This should always be the option used if multiple languages are needed. |
|
'text' |
Enter the text directly in single quotes. |
||
|
context=[target1=source1 target2=source2] |
This is used to pass context data when navigating to a page or executing a BPA script. The mnemonic supports passing multiple values. In each case the target context field or BPA script variable is defined first followed by an equal sign, followed by source data defined using one of the valid values defined in the next column. One or more values may be defined. Each context value is defined separated by spaces. The whole set of context values should be surrounded by square brackets. |
FIELD_NAME |
Indicates that the value should be taken from the field with this name from portal context, global context or the page data model. The mnemonic sourceLoc is used for defining the source. |
|
xpath |
Indicates that the value should be taken from a schema field, represented by the Xpath, displayed in this zone. This is valid when the zone is displaying a UI Map. |
||
|
'constant' |
Indicates that the value defined in single quotes should be passed. |
||
|
sourceLoc= |
This mnemonic defines the source of the FIELD_NAME's value in the context mnemonic. If this mnemonic is left blank, the default behavior is as follows: - The portal context is checked. - If no portal context value is found, the global context is checked. - If neither value is available, the field is ignored. |
G |
Indicates that the field's value is retrieved from the global context. |
|
P |
Indicates that the field's value is retrieved from the portal context. |
||
|
D |
Indicates that the field's value is retrieved from the page data model. |
||
|
class= |
Use this mnemonic to override the look and feel of the link / icon / button using a different CSS style. |
'className1' 'className2' |
Enter one or more classes in single quotes. Multiple class names may be provided. |
|
style= |
Use this mnemonic to override the look and feel of the action element using the indicated css style. |
Standard style= format. |
All allowed css style definitions may be used. |
|
vss= |
This mnemonic, along with vinput= and voutput=, may be used to conditionally hide the action. Use this mnemonic to define the service script responsible for determining wherher the action should be visible or not. |
'SCRIPT_CD' |
Enter a reference to a valid service script in single quotes. |
|
vinput=[target1=source1 target2=source2] |
This is used to pass input data to the visibility script. The mnemonic supports passing multiple values. In each case the target field is defined first followed by an equal sign, followed by source data defined using one of the valid values defined in the next column. One or more input values may be defined. Each value is defined separated by spaces. The whole set of values should be surrounded by square brackets. |
FIELD_NAME |
Indicates that the value should be taken from the field with this name from portal context. |
|
'constant' |
Indicates that the value defined in single quotes should be passed. |
||
|
voutput= |
Use this mnemonic to define the XPath name of a Boolean element set by the visibility script indicating whether to show the action or not. |
xpath |
If the visibility script sets the element to true the action is visible. If it is set to false the action is not visible. |
Examples:
-
type=BUTTON action=SCRIPT bpa='F1-SET-USER' context=[USER_ID=USER_ID] label=UPDATE_LBL
-
type=LINK action=NAVIGATION navopt='gotoUser' context=[USER_ID=path(schema/userdId)]
-
type=LINK … vss='F1BtrActVis' vinput=[batchControl=BATCH_CD batchNumber=BATCH_NBR batchRerunNumber=BATCH_RERUN_NBR batchRunAction='CLOSE_PARMS'] voutput=showAction
-
type=ASIS asis=['<A class="oraLink" href="www.google.com">Search</a>']
Note:
If the zone type has actions defined and there is a desire to simply remove the zone type actions, the Zone Action can be set with the following configuration: type=ASIS asis=[]Parent topic: Zone Parameter Details
User Filters
Data explorer zones include the ability to define User filters to allow a user to enter data to restrict the zone’s rows and / or columns. The filters may be defined individually using User Filter parameters 1–25. Alternatively, a UI map may be defined for capturing filters. In this case, the map's input fields must be associated with the zone's filters by specifying the xpath= mnemonic on the respective User Filter parameters.
These parameters are applicable to the zone types
-
Info Data Explorer - Multiple SQLs (F1–DE)
-
Query Data Explorer - Multiple SQLs (F1–DE-QUERY)
-
Info Data Explorer - Single SQL (F1–DE-SINGLE)
A user filter is defined using the following mnemonics:
| Mnemonic | Description | Valid Values | Comments |
|---|---|---|---|
|
name= |
This mnemonic is used if the zone's filter should be pre-populated with a value from global context, portal context or broadcast from another zone. |
MD Field Name |
|
|
datasource= |
This mnemonic defines the source of the filter's pre-populated value defined in the name mnemonic. If this mnemonic is left blank, the default behavior is as follows: - If the field has been broadcast from another zone, the broadcast value is used. - If no value is broadcast, the portal context is checked to determine if this field exists (if so, its value is taken). - If still no value, the global context is checked. - If still no value, no default value is shown. |
G |
Indicates that the zone should look for the filter value in global context. |
|
P |
Indicates that the zone should look for the filter value in portal context. |
||
|
D |
Indicates that the zone should look for the filter value in the page data model. |
||
|
type= |
Defines the visual metaphor used to capture the filter values. |
DATE |
Filters of this type capture a date. |
|
DATE/TIME |
Filters of this type capture a date and time. |
||
|
STRING |
Filters of this type capture a string |
||
|
MONEY |
Filters of this type capture a monetary field. This type of filter must also reference the cur mnemonic. |
||
|
NUMBER |
Filters of this type capture a numeric field. This type of filter may also reference the decimals mnemonic. |
||
|
LOOKUP |
Filters of this type capture a lookup value. This type of filter must also reference the lookup mnemonic. |
||
|
TABLE |
Filters of this type capture an administrative table's value (code and description). This type of filter must also reference the table mnemonic. |
||
|
CHARTYPE |
Filters of this type capture predefined characteristic values for a characteristic type (code and description). This type of filter must also reference the chartype mnemonic. |
||
|
ASIS |
Filters of this type capture a list of values to be referenced within an 'IN' clause within the SQL statement. |
||
|
label= |
Defines the filter's label that appears in the zone's description bar and in the input area. |
MD Field Name |
Enter a valid field name whose label should be used for the filter label. This should always be the option used if multiple languages are needed. |
|
'text' |
Defines the text directly. |
||
|
cur= |
Defines the currency code applied when type=MONEY. |
Currency Code |
Enter a reference to a valid currency code. |
|
dec= |
Defines the number of decimal places when type=NUMBER. |
Valid number |
It is optional. If provided it should be an integer. If not provided, the number of decimals will default to the number of decimal places defined on the currency code specified on the installation record. |
|
lookup= |
Defines the lookup flag whose values appear when type=LOOKUP. |
Lookup Field Name |
Enter a reference to a valid lookup field name. |
|
table= |
Defines the admin table whose values appear when type=TABLE. |
Table Name |
Enter a reference to a valid control table name. |
|
chartype= |
Defines the characteristic type code whose values appear when type=CHARTYPE. |
Char Type code |
Enter a reference to a valid characteristic type code. |
|
xpath= |
This mnemonic is used in conjunction with a Filter Area UI Map. For each filter, you must specify the XPath to the corresponding UI map schema element. |
XPath |
The type= mnemonic must also be appropriate for the map's input field, otherwise the query's SQL could fail. |
|
likeable= |
This mnemonic defines if a likeable search is performed on the entered value when type=STRING. |
S |
The query will add % to the suffix of the filter value. |
|
P |
The query will add % to the prefix of the filter value. |
||
|
PS |
The query will add % to the prefix and suffix of the filter value. |
||
|
divide= |
The mnemonic controls if a divider line appears above and/or below the filter. Note, you can specify this parameter twice if you want divider lines placed above and below a filter, e.g., divide=above divide=below. |
above |
This results in a divider line placed above the filter. |
|
below |
This results in a divider line placed below the filter. |
||
|
searchField= |
This mnemonic controls the initial population of the filter when the zone is launched as a search from a UI map. |
MD Field Name |
Enter the field name that exactly matches the searchField name specified in the oraSearchField HTML element in the UI map. |
|
oraSearchFilter |
This mnemonic is only applicable when the zone is used as a foreign key search. It indicates that this filter is the one that the user is prompted for in the auto-filtering functionality. No additional values are needed. Note: Be sure that filters that include this mnemonic also define a 'label=' mnemonic so that the auto-filtering prompt shows the label. If no label is defined, the user sees the generic term 'Filter'. |
||
|
encrypt= |
This mnemonic defines if the user filter is encrypted and needs to be searched by hashed value. |
[TBL_NAME,FLD_NAME,WHERE_FLD,WHERE_VALUE] Note: The field name referenced here should be the source value of the field. However, the SQL should use the hashed value in its filter. |
A valid table name and field name are required. The WHERE_FLD and WHERE_VALUE are optional, but if entered, both are required. Use this to only encrypt the field if another field has a certain value. The following is an example. encrypt=[CI_PERSON,PER_ID_NBR,ID_TYPE_NBR,'SSN']. The WHERE_VALUE may also reference another filter. The following is an example. encrypt=[CI_PERSON,PER_ID_NBR,ID_TYPE_NBR,F1]. |
Examples:
- label=F1_NBR_DAYS type=NUMBER
- label=F1_SHOW_ALL_REQ_FLG type=LOOKUP lookup=F1_SHOW_ALL_REQ_FLG
-
Filter value where a Filter UI Map is defined and Description is one of the filters. type=STRING xpath=description likeable=S
- type=STRING label=DESCR likeable=S divide=below
- label=REQ_TYPE_CD type=TABLE table=F1_REQ_TYPE
Parent topic: Zone Parameter Details
Hidden Filters
Data explorer zones include the ability to define Hidden filters to restrict the rows and / or columns that appear in the zone. The following are the potential sources of a hidden filter's value:
-
The global area contains the fields whose values are maintained in global context.
-
The portal area contains the fields describing the object currently displayed in a portal.
-
Other zones on a portal can broadcast information to the portal area, which can then in turn be used by the zone as a hidden filter.
These parameters are applicable to the zone types
-
Info Data Explorer - Multiple SQLs (F1–DE)
-
Query Data Explorer - Multiple SQLs (F1–DE-QUERY)
-
Info Data Explorer - Single SQL (F1–DE-SINGLE)
A hidden filter is defined using the following mnemonics:
| Mnemonic | Description | Valid Values | Comments |
|---|---|---|---|
|
name= |
This mnemonic defines the name of the field that needs to be broadcast from other zones or populated in the portal context |
FIELD_NAME |
|
|
datasource= |
This mnemonic defines the source of the hidden filter's value. If this mnemonic is left blank, the default behavior is as follows: - If the field has been broadcast from another zone, the broadcast value is used. - If no value is broadcast, the portal context is checked to determine if this field exists (if so, its value is taken). - If still no value, the global context is checked. - If still no value, the zone appears as per the poprule mnemonic. |
G |
Indicates that the zone should look for the filter value in global context. |
|
P |
Indicates that the zone should look for the filter value in portal context. |
||
|
D |
Indicates that the zone should look for the filter value in the page data model. |
||
|
poprule= |
This mnemonic controls what happens if the hidden filter is not present. |
R |
Indicates that a value for the filter is required. The zone will be set to the "empty state" and the "please broadcast" message will appear in the zone. This is the default value. |
|
O |
Indicates that the value is optional. If no value is required, the zone is still built without that value. |
||
|
type= |
Defines the visual metaphor used to capture the filter values. |
DATE |
Filters of this type capture a date. |
|
DATE/TIME |
Filters of this type capture a date and time. |
||
|
STRING |
Filters of this type capture a string |
||
|
MONEY |
Filters of this type capture a monetary field. This type of filter must also reference the cur mnemonic. |
||
|
NUMBER |
Filters of this type capture a numeric field. This type of filter may also reference the decimals mnemonic. |
||
|
LOOKUP |
Filters of this type capture a lookup value. This type of filter must also reference the lookup mnemonic. |
||
|
TABLE |
Filters of this type capture an administrative table's value (code and description). This type of filter must also reference the table mnemonic. |
||
|
CHARTYPE |
Filters of this type capture predefined characteristic values for a characteristic type (code and description). This type of filter must also reference the chartype mnemonic. |
||
|
ASIS |
Filters of this type capture a list of values to be referenced within an 'IN' clause within the SQL statement. |
||
|
label= |
Defines the filter's label that appears in the zone's description bar. |
FIELD_NAME |
Enter a valid field name whose label should be used. This should always be the option used if multiple languages are needed. |
|
'text' |
Defines the text directly. |
||
|
cur= |
Defines the currency code applied when type=MONEY. |
CURRENCY_CD |
Enter a reference to a valid currency code. |
|
dec= |
Defines the number of decimal places when type=NUMBER. |
N |
It is optional. If provided it should be an integer. If not provided, the number of decimals will default to the number of decimal places defined on the currency code specified on the installation record. |
|
lookup= |
Defines the lookup flag whose values appear when type=LOOKUP. |
LOOKUP_FIELD_NAME |
Enter a reference to a valid lookup field name. |
|
table= |
Defines the admin table whose values appear when type=TABLE. |
TABLE_NAME |
Enter a reference to a valid admin table name. |
|
chartype= |
Defines the characteristic type code whose values appear when type=CHARTYPE. |
CHAR_TYPE_CD |
Enter a reference to a valid characteristic type code. |
|
searchField= |
This mnemonic controls the initial population of the filter when the zone is launched as a search from a UI map. |
FIELD_NAME |
Enter the field name that exactly matches the searchField name specified in the oraSearchField html element in the UI map. |
Parent topic: Zone Parameter Details
Multi-Select Action
This parameter defines an action to be included in the action area for multi-selection processing. Note that a multi-selection action can only be used if the Multi Select parameter has been set to YES, which causes a checkbox to appear on each row displayed. The action defined here will trigger against all rows selected by the user via the checkbox.
These parameters are applicable to the zone types
-
Info Data Explorer - Multiple SQLs (F1–DE)
-
Query Data Explorer - Multiple SQLs (F1–DE-QUERY)
-
Info Data Explorer - Single SQL (F1–DE-SINGLE)
A multi select action has the following mnemonics:
| Mnemonic | Description | Valid Values | Comments |
|---|---|---|---|
|
script= |
This mnemonic defines the script to be invoked when the action is clicked. This is required. |
SCR_CD |
Enter a reference to a valid BPA script or Service Script. |
|
type= |
This mnemonic defines how the action should be rendered. |
BUTTON |
The action is rendered as a button. This is the default. |
|
LINK |
The action is rendered as hypertext. |
||
|
ICON |
The action is rendered as a graphic icon. For this option, the icon mnemonic is required. |
||
|
icon= |
This mnemonic defines the icon to display when type=ICON. |
DISPLAY_ICON_CD |
Enter a reference to a valid display icon code. |
|
refresh= |
This mnemonic indicates how and if a refresh should occur after the script completes. |
NO |
Indicates that no refresh is performed. This is the default. |
|
ZONE |
Indicates that a refresh of the zone is performed. |
||
|
PORTAL |
Indicates that a refresh of the entire portal is performed. |
||
|
label= |
By default, the button label, link text or icon tooltip will come from the script description. Use this mnemonic to override that label. |
FIELD_NAME |
Enter a valid field name whose label should be used. This should always be the option used if multiple languages are needed. |
|
'text' |
Enter the text directly in single quotes. |
||
|
list= |
When executing the script, the framework builds an XML list containing information from each row selected. This list must be defined in the script's schema and referenced in this mnemonic. |
listElementName |
Enter a valid list element name from the script schema. |
|
context=[elementName1=rowData1 elementName2=rowData2] |
This mnemonic is used to populate the list with the appropriate information from each selected row. The mnemonic supports passing multiple values. In each case the element in the schema list is defined first followed by an equal sign, followed by information about the data used to populate the element defined using one of the valid values defined in the next column. One or more values may be defined. Each context value is defined separated by spaces. The whole set of context values should be surrounded by square brackets. Example of a schema: Example of list and context mnemonics. list=accountInfo context=[accountId=ACCT_ID name=C2 amount=P3 process='O'] |
Cx |
Indicates that the element should be populated with a value in the referenced column parameter. |
|
Px |
Indicates that the element should be populated with a value in the referenced post processing parameter. |
||
|
COLUMN_NAME |
Indicates that the element should be populated with a value from a column in the SQL statement. |
||
|
'constant' |
Indicates that the value defined in single quotes should be passed. |
||
|
class= |
Use this mnemonic to override the look and feel of the action using a different CSS style. |
'className1' 'className2' |
Enter one or more classes in single quotes to be appended to the standard class(es). Multiple class names may be provided. |
|
style= |
Use this mnemonic to override the look and feel of the action element using the indicated css style. |
Standard style= format. |
All allowed css style definitions may be used. |
Parent topic: Zone Parameter Details