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¶
Create a new action to generate the survey candidate:
Provider Survey Provider Provider type SurveyCandidateResponse Method AddSurveyCandidate 2. Click Suggested Parameters and add the following properties. Map these as described below. Parameter Mapping CandidateId Map to the user's name or a similar unique value. ContactType Map to the contact type: Static > Portal. LanguageCode Map to Session > Auth > User Locale or to a static value, such as en-GB.RequestMode Map to Static > Immediate. You cannot use either PercentageBased or Scheduled. SurveyAppIdorName Map to the name of the current portal app. SurveyIdOrName The 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.