Widget Type:
Form Widgets
TPC Version:
  • 3.3 +
staticvaluelogo

The CRM Static Value widget is used for inserting a static value into a widget. For example, if a certain product is only allowed to be ordered as a single unit, the CRM Static Value widget would be used to automatically fill the quantity field to one.

Configuration

  1. From the Portal Connector widget list, click and drag the CRM Static Value widget into the body of your form.

  2. There are a couple of options that must be configured for the widget to function properly. Click on the edit button to display the prompt, which should look like this:

     Static Value Properties

  3. When you are finished configuring the widget, click the save button to save the widget.

Regarding the 'Regarding' Option


The CRM Static Value widget is also capable of using the Regarding option which allows you to link the form submission to another CRM Entity. The Regarding option is only available to Activities. For example, the CRM Entity of Email makes use of the regarding option which allows email records (Or email logs) to be attached to other entites such as Accounts and Contacts. When the Regarding option is selected from the Static Value Field, the prompt should resemble this:

CRM Static Value Regarding

Widget Properties

Basic Properties

Static Value Field ~ static value

The Static Value Field drop down list will allow you to select the data field that the value will be saved to.

Value ~ static value

The Value text box allows you to input the value that will be inserted into the data field.

Advanced Properties

Advanced properties provide additional functionality. They can be accessed by clicking on the "Advanced" Button in the bottom right corner of the widget designer.

Static Value Field ~ static value

The Static Value Field drop down list will allow you to select the data field that the value will be saved to.

Value ~ static value

The Value text box allows you to input the value that will be inserted into the data field.

API

get_txtHiddenStatic()

Returns the value that the widget is set to as a string. 

Returns

String

get_dataFieldName ()

Returns developer name for the control. 

Returns

String

get_value()

Returns the hidden value of the widget. 

Returns

String

set_value()

Sets the hidden value of the widget. 

Returns

none