First, you initialize the NewslettersManager. Then, you check whether an item with the specified ID exists. Finally, you delete the AB campaign by calling the DeleteABCampaign method and save the changes.
First, you initialize the NewslettersManager. Then, you get all the available AB campaigns. Finally, you iterate the collection deleting the AB campaigns one by one, and save the changes.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important