2

I am using Sitecore forms for Contact Us form submissions.

I used Sent Email Campaign Message and Redirect To Page submit actions, but contacts are getting saved into Experience Profile with the email from To field. Save Data submit action is not used.

Is creating contacts in Experience Profile the default behavior for the Sent Email form action?

Is there any way to stop saving these data in Experience Profile?

Is there any PowerShell script or any way to delete existing Experience Profile data?

Version: Sitecore 9.1.1

1
  • Welcome to sitecore stack exchange. Please make sure to not post several questions into one as Alina already responded to some of your questions. Commented Mar 25, 2021 at 11:41

2 Answers 2

0

In order to delete all Experience Editor data you should follow the instructions from the sitecore documentation https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/rebuild-the-reporting-database.html and also make sure to rebuild the index as rebuilding the reporting database is not covering this.

In order to delete contacts you can take a look at the sitecore documentation https://doc.sitecore.com/developers/93/sitecore-experience-platform/en/deleting-contacts-and-interactions-from-the-xdb.html, however you should take into consideration the points highlighted in How to delete a Contact programmatically in xDB

1
  • Want to delete contacts under Experience profile not Experience editor data.
    – Raju
    Commented Mar 25, 2021 at 12:21
1

Looking at Sitecore code, creating a contact (that shows up in Experienced Profile) is default behavior of Sitecore Form action: Send Email Campaign Message. Save Data action does not create contacts it just saves data that is submitted to the form, so is accessible at a later time for download. Identify Contact action is the one that explicitly creates a Sitecore Contact (that shows up in Experience Profile) If you are interested in a clean Send Email action you can look for Sitecore Forms Extensions

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.