Loading
Salesforce now sends email only from verified domains. Read More
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Utils.widget.SignatureCapture()

          Utils.widget.SignatureCapture()

          Signature Capture Widget enables the signature control on the device. The signature capture control uses a DIV to specify the signature area. The Pkey and table name for each signature control is passed to the widget as a blob object. Framework forms the path, and then the path is updated in the Business Object.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          Parameters

          • Title: Indicates the title of each signature control, which indicates the role of the person who signs.
          • Binding: Indicates the Pkey and name of the table in which the signature will be saved.
          • Visibility and Editability: Indicates whether the signature is editable and/or visible for the role.

          Example

          
          {
          xtype: 'SignatureCapture',
          itemId: 'TestUISignatureControl01'
          ,
          bindings: [
          { resource: true, target: 'title',type: 'Label',
          id:'FrameworkReferenceCustomerMDUI_TestUISignatureControl01Id',bindingMode:
          'ONE_TIME', defaultValue: 'Signature'}
          ,
          {target: 'mediaPath', type: 'Text', binding: '@process.customerDetail.signature',
          bindingMode:'TWO_WAY'
          }
          ,
          {target: 'eaRightsVisible', type: 'Visible', binding: '@application.mySigVisible'}
          ,
          {target: 'eaRightsEditable', type: 'Editable', binding: '@application.mySigEditable'}
          ,
          {target :'visibilityRoles',
          type :'Visible',
          roles: {
          }
          }, {target :'editabilityRoles',
          type :'Editable',
          roles: {
          }
          
           
          Loading
          Salesforce Help | Article