Answered by:
Triggering "Retrieve" Plugin from Java script?

Question
-
Hi All,
I have registered a plugin on "Retrieve" message. On opening the Record form, plugin triggering and working as expected. But when I makes ODATA Retrieve service call from java script, "Retrieve" plugin not triggering. Retrieve plugin should trigger from all the Retrieve calls right?
Can we triggering "Retrieve" plugin from the java script on ODATA Retrieve service call?
Thanks in Advance,
Guru
Guru Prasad
Monday, December 31, 2012 6:43 AM
Answers
-
Hi,
I think we can use "retrieve multiple" for retrieve all
- Proposed as answer by John Grace - North52 Thursday, January 3, 2013 1:26 PM
- Marked as answer by DavidJennawayMVP, Moderator Tuesday, January 29, 2013 9:57 AM
Thursday, January 3, 2013 12:57 PM
All replies
-
If you are using OData you must register your plugin on 'RetrieveAll'. Even if you are submitting a single retrieve through OData it still ends up making a filtered RetrieveAll on the server side. Don't ask me why it works this way. I don't think it makes much sense either.
- Proposed as answer by HIMBAPModerator Thursday, January 3, 2013 1:29 PM
Wednesday, January 2, 2013 8:19 PM -
Hi JBlaeske,
Thanks for your response. Do we have 'RetrieveAll' message for plugins? I don't find it. can you please provide more details about the solution provided by you?
- Edited by Guru Prasad D Thursday, January 3, 2013 6:26 AM
Thursday, January 3, 2013 6:25 AM -
Hi,
I think we can use "retrieve multiple" for retrieve all
- Proposed as answer by John Grace - North52 Thursday, January 3, 2013 1:26 PM
- Marked as answer by DavidJennawayMVP, Moderator Tuesday, January 29, 2013 9:57 AM
Thursday, January 3, 2013 12:57 PM