With Salesforce B2C Commerce, you can define how ecommerce forms,
such as customer address entries, are processed. This includes validation,
manipulation and extraction.
-
Open Studio.
-
Describe the form fields, validation rules, and other metadata
for the form in an XML-based form definition file.
A form field definition can also reference metadata in
B2C Commerce.
-
Create a template that uses the form definition and associated
metadata to assemble the form.
-
Write a pipeline that:
-
Initializes the form data via a pipelet.
-
Creates the in-memory form instance via a pipelet (using the
form definition).
-
Renders the ISML template with an Interaction Continue node
(referencing the data in the in-memory form instance).
-
Validates the entered data.
-
Exits with a transition based on a named action (as defined
in the form definition).
-
Processes the form data returned from the Interaction
Continue node.
-
Integrate these changes into an existing application. For
example, if you create a new subpipeline, you must modify an
existing subpipeline to call it.