Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

<page id="BinContent" type="Lookup" icon="mainmenubincontent">
  ...
  <lookupConfiguration type="BinContent" includeInputDataRowInSubmitRequest="true" selectionAI="01,02,91" useRegistrationCollector="true" >
    <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> 
  • <lookupConfiguration> - Configuration for the Lookup page type.
    • type = "" - Type specifying the request towards the backend to 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 values.

    • <header> - Overall configuration enabling the visibility of the 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"
      • 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.

    • <onSuccessfulPost> - Defines what to do after successful post. Only one attribute makes sense at the time.
      • close = "" - Closes the current page, and returns to the previous page. Close has precedence over all other attributes.
      • navigateTo = "" - Navigate to an other page referenced by the id of the new page.

    • <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.
  • No labels