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:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156