Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added OnResultSelected

...

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

    • <OnResultSelected> - Defines what to do on selecting a result
      • enabled = Must be set to activate 
      • 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 = "" - 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.