Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 71679

Forum Post: RE: Disable Popup to optionally remove the queue item from the queue

$
0
0
Have a look at the following link which explains how to call a javascript function on a ribbon button. blog.cobalt.net/.../ribbon-workbench-solution If this example works then change this function to pass on the selected records which is explained in the following link. ribbonworkbench.uservoice.com/.../129783-pass-the-currently-selected-grid-row-s-to-a-custo Now you have ribbon button which once clicked, passes on the ids of the selected queueitems to a javascript function. The next step is to make a soap request(s) for the selected queueitems. Following link lists the parameters reqired for pickfromqueuerequest msdn.microsoft.com/.../microsoft.crm.sdk.messages.pickfromqueuerequest_members(v=crm.7).aspx For workerid you can call Xrm.Page.context.getUserId() to get the id the of user clicking pick button. and following link shows an example soap envelop which you might have to build and send to crm. guruprasadcrm.blogspot.co.uk/.../change-record-status-using-javascript.html You will have to set the correct type of and the parameters. var request = " "; request += " "; request += " "; request += " "; request += "<a:Parameters I hope this helps.

Viewing all articles
Browse latest Browse all 71679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>