Everyday its a headache to fetch the guid of a record if you are troubleshooting an issue. Either you have to press F11 and copy the url and extract the GUID or you have to resort to SQL.
I thought of creating a solution that will copy one or more selected GUID to clipboard on the click of a button on ribbon. On importing the managed solution the button will be available in "HomePageGrid" of all entities as well as on all entity forms.
The solution installs a Security Role "Fetch Guid Role". Whoever is assigned the role will have the button enabled.
Disclaimer: This crm solution will not work if you are assigning "Fetch Guid Role" inherited security role i.e. if the user is in a business unit under the root businessunit.
Temporary fix
To fix this u need to modify the webresource js in the zip file.
and follow below steps:
run this query in sql
select RoleId from Role where Name = 'Fetch Guid Role'
copy all the role ids.
Open the ss_getidjs... file inside Webresources folder after extracting the contents of the zip file.
Then in function UserHasRole add OR conditions for all ids retrieved using the sql query like the one already added. Then save and close the file.
Then select all items (ctrl+A) --> right click --> send to --> Compressed File.
Rename the file as the original solution zip file. Then import the solution and you are good to go.
Sorry for the inconvenience till I find a solution for this :(
I claim NO responsibility for any discrepancies on using the solution. Please use at your own risk.
Here is the link to the managed solution:
https://docs.google.com/open?id=0B1bv3lqw1igraGQzbEo0UEZVTG8
[Click on File --> Download when the link page opens]
Enjoy & Cheerio !
No comments:
Post a Comment