Skip to content

Generate survey candidate

In a public portal app, the survey requires a survey candidate to identify the survey instance. This is used when getting the survey questions and submitting the answers. When you generate the survey candidate depends on the requirements for the public portal app.

Configure the survey candidate

  1. Create a new action to generate the survey candidate:

    ProviderSurvey Provider
    Provider typeSurveyCandidateResponse
    MethodAddSurveyCandidate
    2. Click Suggested Parameters and add the following properties. Map these as described below.
    ParameterMapping
    CandidateIdMap to the user's name or a similar unique value.
    ContactTypeMap to the contact type: Static > Portal.
    LanguageCodeMap to Session > Auth > User Locale or to a static value, such as en-GB.
    RequestModeMap to Static > Immediate. You cannot use either PercentageBased or Scheduled.
    SurveyAppIdorNameMap to the name of the current portal app.
    SurveyIdOrNameThe name of the survey as defined in the survey in Admin Configuration
    SurveyCandidateAddress.EmailAddress,Select the Use Null check box for this type of app.
    3. Select the Publish Topic check box. The form you added earlier needs to subscribe to this action.