EventSpark Home

Custom Survey Setup (Salesforce System Admin)

The Custom Survey Setup will need your Salesforce System Administrator to create fields and provide you with the API Name to commence with the creation of your Custom Survey.

Create custom fields on the Delegate/Guest Object
  • From Setup, go to Object Manager

  • Select the Delegate/Guest object

  • Click on Fields and Relationships

  • Click on New

  • Add new field(s) that you want to be on the form

    • Below are some examples of fields we use for feedback

  • If you would like to use a 5-Star Scale field, and would like to have the associated category field placed along side it with the verbiage description of the number, such as “Good” or “Passive”, you will need to create this field too with some added formula to the field.

    • See below for an example of what this may look like.

    • This field does not need to be added with read access on the permission set.

Creating a custom 5-Star Scale Field
  • While on the Delegate/Guest Object, Under Fields & Relationships, add a new field

    • Select “Number”

      • Give the field a name, in this example, I am creating a generic 5-Star Scale field to add to the Custom Survey, and therefore naming it “Feedback 5 Star Field”

      • Click Next, Apply the Field-Level Security to the Profiles you desire, click Next, make sure to add it to the delegate layout and click Save.

  • While on the Delegate/Guest Object, Under Fields & Relationships, add another new field

    • Select “Formula”

      • Select “Text”

      • Give the formula field a name, in this example, I am creating the Category field related to the 5-Star Scale to add to the Delegate/Guest Layout, and therefore naming it “Feedback 5 Star Field Category”


      • Click Next

      • Copy and paste the following text into the text field, replacing the API Field Name as I have it “evsprk__Feedback_5_Star_Field__c", you will put your custom API Field Name and then give the field a Description and Help Text:

CASE ( evsprk__Feedback_5_Star_Field__c,
1, "Poor",
2, "Average",
3, "Good",
4, "Very Good",
5, "Excellent",
"")

  • Click Next, Apply the Field-Level Security to the Profiels you desire, click Next, make sure to add it to the delegate layout and click Save.


Ensure the custom fields you have created are on the Delegate/Guest Page Layout. I have placed mine under the Feedback section.


Note: It is recommended that the custom added fields are not required. If you want them required on a specific form, you can set the Event Form Field ‘Required’ to true.

Grant Read/Edit access to the Delegate/Guest custom fields
  1. Create a permission set which will need to be assigned to the Site Guest User and any other users who may need access to these fields, if you have not already created a Custom Permission Set prior to this

    1. When creating the Permission set DO NOT assign a licence type

  1. Grant Read/Edit access to the custom Delegate/Guest fields you have created for your Custom Forms.

  1. Assign the permission set to Site Guest User and any other users who may need access to these fields

  1. Once completed you can now start adding the form fields to your Custom Survey Form