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.
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.
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:
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 258
MVP-Daniyal Khaleel 179
Tom_Gioielli 127 Super User 2025 Season 2