When creating a ribbon button, you can pass CRM parameters to it, such as SelectedControlSelectedItemsIds and SelectedControlSelectedItemReferences.
Can you pass these into a custom JavaScript web resource and use them in functions?
Thanks,
Chris
*This post is locked for comments