web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Restrict TML to add to a campaign if it used by any other Campaign.

(0) ShareShare
ReportReport
Posted on by 360

Hi Experts,

I have a requirement from a client, in which If user is trying to add TML to a campaign , it should check some conditions, on the basis of that we need to allow or disallow TML to be associated with the campaign.

How Can I achieve this using plugin and on which event? sample code would be great.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Between Campaign entity and Marketing List entity there is a N-N relation. In the plugin there is Associate event on which Plugin can invoke. The only thing that You must remember to is that Associate event is invoked globally for all Assotiate events for all N-N relations in the system.

    Hope that helps.

  • Haseeb Jamshed Profile Picture
    360 on at

    Thanks for the comments, so you mean If I add a plugin on Associate event with Pre-Condition, It will fulfill my requirement, I am agree with you regarding invoked globally. I have wrote the sample code, but it is not firing unfortunately. Do you have a sample code or any thing please? :)

  • Jessica Milne Profile Picture
    5 on at

    Why do you want to use TML that is already used by some other Campaign? I think it will the waste of time and you will never get the good results as it will be copied. Mostly students prefer to read authentic reviews on https://essayreviewexpert.com/review/edubirdie source about edubirdie. So try to make yours instead of making the same like someone.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans