...
Code Block | ||
---|---|---|
| ||
<page id="BinContent" type="Lookup" icon="mainmenubincontent"> ... <lookupConfiguration type="BinContent" includeInputDataRowInSubmitRequest="true" useRegistrationCollectorselectionAI="true01,02,91" selectionAIuseRegistrationCollector="91true" > <header configurationKey="BinContentCfgHeader" automaticAccept="OnOpen" clearAfterPost="true" hideAfterAccept="true" automaticAcceptAfterLastScan="true"/> <list listId="Lookup" /> <requests> <lookup></lookup> <submit></submit> </requests> <onResultSelected enabled="true" navigateTo="LookupSelectionPageId"/> <onSuccessfulPost close="true" refreshOnSuccess="true"/> </lookupConfiguration> </page> page> |
- <lookupConfiguration> <lookupConfiguration> - Configuration for the Lookup page type.
- type = "" - Type specifying the request towards the backend to perform specific perform specific work.
includeInputDataRowInSubmitRequest = "false" - Define if the input values from the previous page should be included in the submit.
- selectionAI = "01,02,91" - Gs1 AI's to use for selecting a lookup result.
- useRegistrationCollector = "false" - Use the registration collector to register additional valuesselectionAI - The Application Identifier for selecting the lookup result.
- <header> -
Overall - Overall configuration enabling the visibility of the
configurable header- configurable header.
- configurationKey = "" - The key used to locate the header configuration in the reference data.
- automaticAcceptAfterLastScan = "true|false" - Automatically accepts the header if a scan is performed and all mandatory fields have a value.
- automaticAcceptOnOpen = "" Defines if the values in the header should be automatically accepted. Formerly known as updateOnActivate. *DEPRECATED by automaticAccept="OnOpen"
hideAfterAccept = If true, hide the header after accept- configurable header.
- automaticAccept ="Always|Never|OnOpen" - Defines when the page will issue a page refresh.
- Always - Makes the page refresh whenever it is opened or returned to from a child page.
- Never - Never requires the user to refresh page whenever needed.
- OnOpen - Replaces the automaticAcceptOnOpen attribute, and refreshes the lookup page whenever it is opened, if all mandatory fields are filled in.
- clearAfterPost = "true|false" - Clears all input fields set to "clearOnClear" after a successful post.
- hideAfterAccept = "true|false" - Hides the header after the header has been accepted, directing subsequent scans to the list.
- automaticAccept ="Always|Never|OnOpen" - Defines when the page will issue a page refresh.
- <onSuccessfulPost> - Defines what to do after successful post. Only one attribute makes sense at the time.
- close
: Close - = "" - Closes the current page, and
let the app go back - returns to the previous page
(or Main menu)navigateTo: ignoreSuccessMessage: Omits the success message. This is determined by the contents of "Description" tag in the received response when the lookup was performed- . Close has precedence over all other attributes.
- navigateTo = "" - Navigate to an other page referenced by the id of the new page.
- refreshOnSuccess: Run the page action (Accept) again
- <requests>
- <lookup> - Reference to a backend service call to do the actual lookup. Defaults to Lookup
- <submit> - Reference to a backend service call to submit the lookup. Default to PostAdhocRegistration.
- <list> - Defines the list to use for displaying values.
- id = "" - Reference to a list defined in the lists section
- <requests>
- selectionAI The Application Identifier for selecting the lookup result
- .
onSuccessfulPost: Defines
<requests>