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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Change Related table f...
Power Apps
Unanswered

Change Related table for Regarding field

(0) ShareShare
ReportReport
Posted on by 225

Hopefully an easy answer for someone to get the thumb up! 🙂

Why is the ability to change the Related table for the Regarding field of a Task grayed out?  I have the SA & Customizer Role. I looked at the Task Form and there isn't a controller on the field as explained in this article section: Enable activities for a table.

 

rg0173_0-1697732322821.png

Perhaps unrelated but it seems like I can't enable an entity for 'Creating a new activity' because it is also grayed out (using the Team entity as an example)

rg0173_1-1697732485836.png

 

I have the same question (0)
  • Verified answer
    ivan_apps Profile Picture
    2,187 Moderator on at

    Activities are basically a single table with different 'types' of activities. My closest analogy is a SharePoint list with multiple Content Types - if you have SharePoint background. You can create new 'activity' tables and they will all be included in the 'regarding' field but you can't modify the default tables that come with dataverse (common data model) to be 'activity' tables.  Also once you define an activity table, you can't undo that definition. 

     

    There are also several pre-defined activities, so when you create a new activity table and then have an app that you will create activities from, you will see all pre-defined activities including your new ones.

     

    Teams and users are part of the common data model and drive Dataverse security so you definitely can't change them to become activities. Take a look at any 'Owner' field, it is a selection between Users or Teams in a single lookup because that will determine who has access to that record. That along with the 'Regarding'  & 'Customer' fields are the only fields that are polymorphic lookups in Dataverse by default.

     

    Now if you want to create your own 'Regarding' field, you now have the ability to using the Dataverse API. It isn't part of the UI yet but you can create a new field that behaves exactly like a 'Regarding' field without having to deal with Activity tables or record Ownership.  Luckily if you download the XrmToolBox there is a tool there that gives you an interface to create Polymorphic Lookups. You can assign as many tables to reference within a single lookup that way.

     

    Polymorphic Lookups: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/multitable-lookup?branch=pr-en-us-4448

    XrmToolBox: https://www.xrmtoolbox.com/

    XrmToolBox Plugin: https://www.xrmtoolbox.com/plugins/MscrmTools.PolymorphicLookupCreator/

     

    Hope this helps!

     

     

  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    Regarding is a system field and your activity can be related to any of the entities that have the "Creating a new Activity" checkbox checked.

    Why the same checkbox is greyed out for "Team" - that's a great question but I believe since that's a system table it might have some restrictions.

    For any of your custom tables, you can activate activities but keep in mind - that would be a one-way road - once you enabled activities the only way to undo them is to delete and recreate the table from scratch.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 802 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 273

Last 30 days Overall leaderboard