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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Linking an activity to a custom entity

(0) ShareShare
ReportReport
Posted on by 240

Hello, 

Is there any way to link activities to two entities? One is the default Regarding - I want that to set only to Account (always). Then I want a second field - which would be a type of Regarding - and be automatically set to the entity from where the activity is being created. 

In short, there would be two links in any created activity, the default regarding would be set to Account, and a second field would be set to a custom entity. There is only one custom entity that I am looking to link the activity to at the moment.

What are my options here? Thank you. 

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello Aneeqa,

    You can create custom 1-N relationship between your activity and custom entity (where activity is the child) and populate that lookup with the reference to your custom entity.

  • Aneeqa Pervaiz Profile Picture
    240 on at

    Hey Andrew,

    Thanks for the tip.

    So I created the relationship, and added the lookup field on the activity form [activity types form]. Now, when I populate the lookup field with the reference to the custom entity, I want that activity to also show up in the 'Related Activities' tab in the custom entity form.

    Attached picture for reference:

    1321.Activity.png

    How do I make this lookup field act like a Regarding field in Activity. 

    Thanks. 

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I'm afraid this will not work the way you want. You will have to place a separated grid to show activities related to your custom entity by new custom field.

  • Aneeqa Pervaiz Profile Picture
    240 on at

    Since I created multiple lookup fields for each kind of activity, so in the grid data source, I am getting different options for each activity. I want it to display all activities where that custom entity lookup field is populated; be it appointment, phone call, email etc. How can that be done?

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I'm afraid you can't do that.

  • Suggested answer
    NODAL Profile Picture
    860 on at

    Hi Aneeqa, 

    I would recommend using OOB connections entity instead of creating multiple relationships. 

    You can create a separate connection role to differentiate multiple regardings. 

    However you would need to create seperate grid to display these connections. 

    Thanks, 

    Ketan

  • z.sam Profile Picture
    299 on at

    Hi,

    so how could we use the activities for custom entities?

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 > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 103 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 83

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans