Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Creating a link to Appointment from an entity

Posted on by 240

Hi, 

I have the opportunity entity and I need to create a link in the entity which when clicked, would lead to the appointment task in the activities. How can this be done?

  • Aneeqa Pervaiz Profile Picture
    Aneeqa Pervaiz 240 on at
    RE: Creating a link to Appointment from an entity

    Thanks for your help. This works.

  • Verified answer
    LuHao Profile Picture
    LuHao 40,870 on at
    RE: Creating a link to Appointment from an entity

    Hi Aneeqa,

    The Project entity and Appointment entity have no relationships, they are not related entities, so you can only select all records instead of related records for the Appointment sub-grid in the Project form.

    You would show the Appointments of the Account in Project, right?

    If so, we will use quick view form.

    Please refer to https://carldesouza.com/dynamics-crm-quick-view-forms/

    Create a quick view form for Account.

    pastedimage1590392210024v1.png

    Insert a sug-grid in the quick view form.

    pastedimage1590392295445v2.png

    pastedimage1590392358542v3.png

    Edit the Project form, insert the quick view form.

    pastedimage1590392492580v4.png

    pastedimage1590392576700v5.png

  • Aneeqa Pervaiz Profile Picture
    Aneeqa Pervaiz 240 on at
    RE: Creating a link to Appointment from an entity

    So I added a subgrid for appointments in the projects entity. I can only add in 'All appointments' - as there are no views filteration according to the project name.

    I have done the same for time entries - and if I choose 'Only related records', I can see just the time entries of that particular project only. For appointments, it does not give the same option.

  • LuHao Profile Picture
    LuHao 40,870 on at
    RE: Creating a link to Appointment from an entity

    Hi Aneeqa,

    You want to display the related Opportunities in the Account form, right?

    If so, please follow this screenshot.

    pastedimage1589966288581v1.png

    You may pay attention to the view, the role of the view is to filter records, so you need to select the appropriate view for the sub-grid.

  • Aneeqa Pervaiz Profile Picture
    Aneeqa Pervaiz 240 on at
    RE: Creating a link to Appointment from an entity

    Hey,

    I now do have a section of appointments in my project entity. I am just wondering if it is possible to only display the relevant appointments for each account. I tried setting it to only related records, but that does not show the appointments entity then.

  • LuHao Profile Picture
    LuHao 40,870 on at
    RE: Creating a link to Appointment from an entity

    Hi Aneeqa,

    We can insert a sub-grid of Appointments in the Opportunity form.

    Go to Advanced Settings > Customizations > Customize the System, expand Entities > Opportunity > Forms, edit the main form.

    pastedimage1589872117658v1.png

    pastedimage1589872133729v2.png

    Insert a sub-grid.

    pastedimage1589872158693v3.png

    Select All Record Types and Appointments.

    pastedimage1589872209299v4.png

    Save and publish.

    In this way, in the Opportunity form, we can click See all records in the sub-grid and it will go to the Appointments view.

    pastedimage1589872357331v5.png

    pastedimage1589872368677v6.png

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,936 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,378 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans