Skip to main content

 –

Demonstrating lead capture from web forms in the Pega Sales Automation SAPlus sample application

Suggest edit Updated on May 10, 2021

You can use the SAPlus sample application to demonstrate lead capture from a web form.

Before you begin: Before you can demonstrate this feature, configure a gadget by using Pega Web Mashup and embed it in the BusinessLeadCreationScreen section in the sample application.

Pega Sales Automation includes a sample application that you can use to demonstrate the application's features. You can use Pega Web Mashup with Pega Sales Automation to expose a section as a form on a customer-facing website to generate leads in the application. Sample Pega Web Mashup rules are provided in the SAPlus sample application so that you can demonstrate lead capture from a web form.

  1. Ensure that the HTML source for the section contains the following information:
    • pega.web.config.appName = "SFASample"
    • pega.web.config.systemID = "NBAA"
    • PegaA_params=[UserIdentifier:" ", Password:" "} - Enter the credentials for any operator in the sample application.
  2. Add the BusinessLeadCreationScreen portal to the access group for the operator that you specified in the HTML source for the BusinessLeadCreationScreen section. Use this operator to demonstrate the lead capture process.

Pega Web Mashup customization

The Pega Web Mashup gadget uses a number of application records, forms, and rules.

Pega Web Mashup gadget application records, forms, and rules

RecordFormRule
FlowcrmCreateLeadWebPegaCRM-Work-SFA-Lead
Data TransformcrmDefault_WebPegaCRM-Work-SFA-Lead
HarnessNew_WebPegaCRM-Work-SFA-Lead
HarnessConfirm_WebPegaCRM-Work-SFA-Lead

Note: If you need to change the UI for the gadget, you must update the user interface rules that are defined in the New_Web and Confirm_Web harnesses.

  • The default values for the new lead that is created from the gadget are defined in the crmDefault_Web data transform.
  • The default territory for the new lead is BT1 (Global territory).
  • The default owner for the new lead is the operator that is used to authenticate the gadget.
  • The default stage for the lead is Assigned.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us