Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Can we make the record Clickable from the Calendar view into the portal?

(0) ShareShare
ReportReport
Posted on by

In a dynamic CRM portal, I want to jump into the record from the Calendar view of the entity.

PFA image for reference -

6237.Image.png

Can anyone help me with this? All the suggestions would be appreciated.

Thank you

*This post is locked for comments

  • Nicholas Hayduk Profile Picture
    Nicholas Hayduk 2,863 on at
    RE: Can we make the record Clickable from the Calendar view into the portal?

    Add that code to the Custom JavaScript attribute of the Entity Form, or of the language-specific Localized Web Page that the Entity Form sits on, and update this line of code:

    window.location = '?id=' + $(this).data('event-id');

    to something like:

    window.location = '/url-of-your-event-details-page/?id=' + $(this).data('event-id');

    Nick

  • GRedhead Profile Picture
    GRedhead 270 on at
    RE: Can we make the record Clickable from the Calendar view into the portal?

    Hi Nick,

    I'm trying to implement your solution above, can you explain in a bit more detail how you implement it, please?

  • Suggested answer
    Nicholas Hayduk Profile Picture
    Nicholas Hayduk 2,863 on at
    RE: Can we make the record Clickable from the Calendar view into the portal?

    Hi Jalak,

    Something like the following should work:

    $(document).ready(function() {

     $('.entitylist').on('mouseup', '.event-info', function() {

       window.location = '?id=' + $(this).data('event-id');

     });

    });

    You'll need to update the URL that the window.location is set to to point at your event details page, but otherwise that should do it.

    All we're doing is attaching a mouse-up event on the 'event-info' class for any descendant elements in our entity list calendar.  That element contains a data attribute which contains the ID of the event.  Note that I'm using mouse up instead of click because I believe the calendar code stops the propagation of the client event, so it doesn't work the first time you click it.

    Nick

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans