web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    how to check the database to see the last time a web resource was modified?

    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.
  • lucafabbri365 Profile Picture
    10 on at
    how to check the database to see the last time a web resource was modified?
    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. 
  • Community Member Profile Picture
    on at
    RE: how to check the database to see the last time a web resource was modified?

    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.

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: how to check the database to see the last time a web resource was modified?

    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

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 127 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans