Versions Compared

Key

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

This functionality enables an opened registration collector to expand with new steps, based on the response from the backend.
It is currently only available on Unplanned and lookup - Return steps on postItem Registration and Lookup pages with a registration collector.

Post - Append steps

When posting from a Registration Collector registration collector on either an Unplanned Item Registration or Lookup pages page, new steps can be returned that will be appended to the current registration collector.

...

Code Block
languagexml
<response xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response" messageid="EE5BC00A-5876-47CA-9BE2-8C6EA7F531ED" status="Error">
  <description>Item No. '?' does not exist.</description>
  <registrationCollectorConfiguration>
	<steps>
      <add id="10" name="FromBin" inputType="Text" header="@{RegistrationCollectorFromBinHeader}" label="'{FromBin}'" defaultValue="{FromBin}" helpLabel="@{RegistrationCollectorFromBinHelpLabel}" optional="false" primaryInputMethod="Scan"/>
      <add id="20" name="ToBin" inputType="Text" header="@{RegistrationCollectorToBinHeader}" label="'{ToBin}'" defaultValue="{ToBin}" helpLabel="@{RegistrationCollectorToBinHelpLabel}" optional="false" primaryInputMethod="Scan" />
      <add id="31" name="ExpirationDate" inputType="Date" header="@{RegistrationCollectorExpirationDateHeader}" label="Expiration Date" optional="false" helpLabel="@{RegistrationCollectorExpirationDateHelpLabel}"/>
    </steps>
  </registrationCollectorConfiguration>
</response>

...

The steps returned will be appended to the current registration collector and the first newly added step will be the active step. The steps will be grouped by the post they are where returned inby.

Notice that only the steps will be added to the current registration collector so Registraiton Collector Configurations . This means that other configuration returned like e.g scanBehaviourWhenRegisteringQuantity cannot be changed in the responsedefined on the registrationCollectorConfiguration, will not affect the registration collector.

Changes in previous steps - Removal of steps

If a change is being made in a step, then all steps after that step will be removed if they has have been added by another post or in other words belongs to another group.

...