Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<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"
      • 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 =
  •  If true, hide the header after accept
    onSuccessfulPost: Defines
      • "true|false" - Hides the header after the header has been accepted, directing subsequent scans to the list.

    • <OnResultSelected> - Defines what to do on selecting a result
      • enabled = Must be set to activate (Important)
      • navigateTo = Navigate to this page
      • close = Close the page
      • ignoreSuccessMessage = 
      • refreshOnSuccess = Defindes if the page should refresh after a successful Adhoc request
         
    • <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
    <requests>
      • . 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
  • selectionAI
  • The Application Identifier for selecting the lookup result
      • .