What is SAP Commerce yForms

yForms enables insurance providers, financial service providers, and every organization that sells complex products or services to create highly customized Web forms that can be added to stores to guide customers through the purchase process. Forms can be easily created and managed through the Web-based form builder UI.

yForms is a flexible and powerful Web forms solution that is tightly integrated with SAP Commerce.

The yForms module provides a series of functions to create highly customized Web forms. For example, you can create forms with complex validation and dependencies and merge them into the store.

main features

The main functions of the yForms module are listed below:

  • Web based form generator integrated into background management cockpit
  • Create forms with complex validations and dependencies
  • Validation rules for form fields and pre calculation of values
  • Specification of error, warning, and alert messages
  • Dynamic table based on customer response
  • Link data to customer shopping carts and user accounts

The yForms module enables organizations that sell complex products or services to create highly customized Web forms. This module is built by integrating Orbeon Forms Professional Edition and can only be used after successfully installing the Orbeon module on your machine.

precondition

Install Orbeon before installing and using the yForms feature. SAP Commerce comes with a limited time license for Orbeon (version 2018.2.3). Unlimited production licenses can be downloaded from the software center, https://launchpad.support.sap... Information posted on the website. The element in the empty Orbeon production license shows that the license will not expire. For demo licenses, the expiration element displays the date before the license was valid.

demo page: https://electronics.local:900...

Create a new form in Backoffice:

Fill in application id and form id:

The Application Identifier in the configuration file must be the same as the Application Identifier of yForm created in Backoffice.

<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:oxf="http://www.orbeon.com/oxf/processors">

    <!-- buttons for insurance forms -->
    <property as="xs:string"  name="oxf.fr.detail.buttons.{Application_Identifier}.*"                value="save-final "/>
   
    <!-- Event-Form is going to have autosave -->
    <property as="xs:integer" name="oxf.fr.detail.autosave-delay.{Application_Identifier}.contact"   value="5000"/>

    <!-- forms and data for yforms are stored in hybris -->
    <property as="xs:string" name="oxf.fr.persistence.provider.{Application_Identifier}.*.form"      value="hybris"/>
    <property as="xs:string" name="oxf.fr.persistence.provider.{Application_Identifier}.*.data"      value="hybris"/>

    <!-- general CSS for every form in insurance-->
    <property as="xs:string" name="oxf.fr.css.custom.uri.{Application_Identifier}.contact"
              value="/forms/yforms/contact/style.css"/>

    <property as="xs:string" name="oxf.xforms.format.input.date" value="[D01]-[M01]-[Y]"/>
</properties>

Enter the form title and Description:

You can start editing the form:

Publish after editing:

The yForms module is built by integrating Orbeon Forms Professional Edition.

The Orbeon web extension was created to provide Orbeon as part of the SAP Commerce extension.

Orbeon web relies on xyforms services and accelerator services. The orbeon web extension treats orbeon as a web application that can be accessed through a web browser. The URL part of the web application for the orbeon web extension is orbeon.

More Jerry's original articles are: "Wang Zixi":

Keywords: Java Javascript node.js sap saprfc

Added by msgcrap on Fri, 24 Dec 2021 21:31:34 +0200