Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Check a record if reopen

Posted on by 932

Hi All,

Is there anything to check that an entity record is reopened or count of re-open the records using JS or else?

Please suggest.

*This post is locked for comments

  • erhan.keskin Profile Picture
    erhan.keskin 2,247 on at
    RE: Check a record if reopen

    I see that the jscript suggestion is elaborated in this thread. For the plugin suggestion, you can create a plugin for retrieve or retrieve multiple to catch the record being retrieved and do whatever you need to do. What type of detail do you need? What do you want to do with the reopened count?

    Regards,

  • RE: Check a record if reopen

    Can you please elaborate?

  • erhan.keskin Profile Picture
    erhan.keskin 2,247 on at
    RE: Check a record if reopen

    Hi,

    I assume reopening is to open a record to view. It is not reopening from a closed state.

    These ways would help you depending on your expectation.

    1. Jscript method to understand if a record is opened.
    2. Plugin for retrieve or retrievemultiple to understand if a record is retrieved.

    Regards,

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: Check a record if reopen

    As suggested below you could create one hidden field and every form on-load you have to update the same field using js function.

  • Verified answer
    Saad Kabarousse Profile Picture
    Saad Kabarousse 732 on at
    RE: Check a record if reopen

    Hello,

    Create a hidden field of type whole number, and associate a JS fucntion on load of your form.

    Each time the function Called it will update the content of yout field. This will allow you to store all the times your record will get opened.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans