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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

how to check the database to see the last time a web resource was modified?

(1) ShareShare
ReportReport
Posted on by

I want to know Is there any way to see when last time my web resource was modified and I can get this modified information from  database.

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi, 

    All web resources are stored in the  "webresource" Entity. Let's say we have a web webresource named "mea_/Scripts/Opportunity/OpportunityForm.js". We can fetch the modifiedon and modifiedby fields by using the following request: 

    https://yourOrg.crm4.dynamics.com/api/data/v9.2/webresourceset?$select=modifiedon,name,displayname&$expand=modifiedby($select=fullname)&$filter=(name eq 'mea_/Scripts/Opportunity/OpportunityForm.js')

    Example:

    pastedimage1619208694187v1.png

  • Community Member Profile Picture
    on at

    You have provided me javascript code which will work I think for modifications. I am not tried this code but can you explain in more details and specify that the of i add this code in a web resources for any entity such as opportunity than how I can check modifications in sql. Server database. As I mentioned that i want to check modifications in sql server database. Can you tell me procedure how to check modifications in sql server database after adding this JavaScript code in a web resources for any entity.

  • lucafabbri365 Profile Picture
    10 on at
    Hello,
    I understand this is a pretty old post; however, I'll give it a try.
     
    Is it possible to know who modified a web resource over time (not just the last modification) ?
     
    Thank you. 
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at

    It seems it's not possible because web resources don't have audit history. However, if your organization uses a version control tool like Git, you would be able to track the history.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans