3

I just tried to create a form based on template that was created before. The mail campaign is set up correctly in the template, but the problem is that all token mappings are lost for the new form.

I want to map the tokens for the mail campaign configuration for a form just created via form builder using pipelines. What is the correct pipeline to use for this?

2
  • A form is just an item, so maybe item:saved or item:saving ?
    – Richard Seal
    Commented Sep 15, 2022 at 13:59
  • Not sure much but I tried to see ShowConfig and found a pipeline named forms.renderForm, you can view this. For more information, you can see Sitecore.ExperienceForms.Mvc.config at C:\inetpub\wwwroot\website\App_Config\Sitecore\ExperienceForms Commented Sep 15, 2022 at 15:49

1 Answer 1

3

Look at forms.saveForm pipeline in the Sitecore.ExperienceForms.Pipelines.Client.configconfiguration file; the default settings are

<forms.saveForm>
   <processor type="Sitecore.ExperienceForms.Client.Pipelines.SaveForm.CreateModels, Sitecore.ExperienceForms.Client" resolve="true" />
   <processor type="Sitecore.ExperienceForms.Client.Pipelines.SaveForm.GenerateNames, Sitecore.ExperienceForms.Client">
      <defaultItemName>Form Item</defaultItemName>
   </processor>
   <processor type="Sitecore.ExperienceForms.Client.Pipelines.SaveForm.CheckAccessRights, Sitecore.ExperienceForms.Client" resolve="true" />
   <processor type="Sitecore.ExperienceForms.Client.Pipelines.SaveForm.UpdateItems, Sitecore.ExperienceForms.Client" resolve="true" />
</forms.saveForm> 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.