No announcements
Found 308067 threads
-
0 Votes
Execute only when entityreference is not null - how to do this for a plugin?
You need to check the null condition before: try with if (entity.Contains("new_case") && entity["new_case"] !Answered | 2 Replies | 1048 Views | Created by Sebd.DD - Wednesday, December 18, 2013 6:27 PM | Last reply by Sebd.DD - Wednesday, December 18, 2013 7:08 PM -
2 Votes
How to Start a Plugin when a Role is Assigned or Removed
I wonder why AssignUserRoles and RemoveUsersRoles simply do not work as expected?Answered | 2 Replies | 3528 Views | Created by kjlane - Wednesday, March 7, 2012 5:19 AM | Last reply by kjlane - Wednesday, March 7, 2012 5:05 PM -
0 Votes
CRM 2016 Deactivate a record via Plugin not working
To do so, first get the entity context and check for an attribute exists then compare the value.Answered | 2 Replies | 3392 Views | Created by howexg9 - Friday, October 21, 2016 10:23 PM | Last reply by Nags06 - Thursday, October 27, 2016 11:46 AM -
0 Votes
Help Needed with plugin error
your code is a custom worfklow activity (:CodeActivity) not a plugin.Answered | 2 Replies | 2502 Views | Created by Pete Newman - Thursday, October 9, 2014 11:03 AM | Last reply by Pete Newman - Thursday, October 9, 2014 2:33 PM -
0 Votes
Unable to retrieve account EntityReference from contact entity on update message.
You will always get only those fields in target those are updated or populated while creation.Answered | 5 Replies | 2027 Views | Created by Vikram96 - Sunday, September 29, 2013 8:19 PM | Last reply by HIMBAP - Monday, September 30, 2013 8:19 AM -
4 Votes
Guid Vs EntityReference
How do I get the GUID for the entity record through code.Answered | 8 Replies | 27428 Views | Created by Gerard Holohan - Wednesday, November 23, 2011 4:01 PM | Last reply by Gerard Holohan - Monday, November 28, 2011 5:21 PM -
0 Votes
How to create a plugin that stops the creation of an entity depending on property of another entity ?
And when registering the plugin it should be on "Pre-operation" ?Answered | 2 Replies | 1127 Views | Created by Malhoosh - Friday, December 13, 2013 9:18 PM | Last reply by Malhoosh - Friday, December 13, 2013 10:44 PM -
0 Votes
CRM 4.0 Plugin execution
However, how will you know which workflow to cancel?Answered | 8 Replies | 6120 Views | Created by Dstr123 - Friday, May 20, 2011 2:07 PM | Last reply by Dstr123 - Friday, May 20, 2011 4:10 PM -
4 Votes
CRM Plugin - doesn't appear to do anything
One issue has occurred, we have products that are part of parent products and these parent products are top level so contain no parent products the following code then generates an error, how ...Answered | 18 Replies | 2545 Views | Created by Matt_Hirst_UK - Thursday, July 10, 2014 2:40 PM | Last reply by Matt_Hirst_UK - Tuesday, August 12, 2014 10:17 AM -
0 Votes
Systemuser create plugin, record does not exist when running in sync mode.
I try to make simple: it works when is registered as asynchronous because will be executed outside the database transaction.Answered | 3 Replies | 1919 Views | Created by Hoyty - Tuesday, May 7, 2013 7:16 PM | Last reply by Guido Preite - Tuesday, May 7, 2013 8:06 PM -
0 Votes
Add entityreference to webresource
How your code is faking the lookup?Answered | 5 Replies | 1647 Views | Created by Boudewijn Snoeren - Tuesday, March 26, 2013 9:51 AM | Last reply by Azevedo Pedro - Wednesday, March 27, 2013 5:15 PM -
2 Votes
How to Check the NULL Values for lookup in plugin?
Hi, Becuase you are adding the lookup property into the entity whether it is null or not use code like this: if (_cor !Answered | 5 Replies | 12546 Views | Created by Srikanth_MSCRM - Friday, July 1, 2011 9:09 PM | Last reply by Jehanzeb.Javeed - Friday, July 1, 2011 10:44 PM -
0 Votes
How to Retrieve EntityMoniker object in the plugin and to which message i need to register the plugin(SetState or SetStateDynamicEntity or both).
When you open a form and deactivate the record, it is the SetStateDynamicEntity that is called.Answered | 2 Replies | 2818 Views | Created by Abhishek Jai - Monday, May 14, 2012 6:12 AM | Last reply by Sri_S - Monday, May 14, 2012 6:50 AM -
2 Votes
Strange behavior of plugin execution !!!!
Do this and let me know if your problem disappears.Answered | 9 Replies | 4700 Views | Created by BERKAYA Hedi - Tuesday, August 31, 2010 12:58 PM | Last reply by RhettClinton - Thursday, September 2, 2010 2:46 PM -
5 Votes
CRM 2011 - Clear EntityReference field in code
check: http://mahenderpal.wordpress.com/2012/07/02/set-entityreference-to-null-in-ms-crm-2011-quick-tip/ Contact MeAnswered | 9 Replies | 20717 Views | Created by Janet T - Friday, March 25, 2011 9:30 AM | Last reply by HIMBAP - Friday, October 26, 2012 3:37 PM -
0 Votes
SalesOrder plugin not being executed
If you have registered the plugin on Disk and you are able to delete the plugin assembly without IISRESET it means the plugin is never fired and the assembly was not even ...Answered | 3 Replies | 2866 Views | Created by steven_455 - Monday, October 31, 2011 2:13 PM | Last reply by Sam - Inogic - Tuesday, November 1, 2011 1:01 AM -
0 Votes
execute message in plugin
Hi Vinoth, Thanks for the input,it seems to be static condition only but i also need it to filter only if the user has a particular role.I think its somewhat difficult.Answered | 10 Replies | 6406 Views | Created by Divya Sekaran - Friday, March 5, 2010 1:36 PM | Last reply by Divya Sekaran - Friday, March 5, 2010 2:52 PM -
0 Votes
Fire plugin when close as won opportunity
Hi Mahender, Thanks for the reply I executed the above code.Answered | 4 Replies | 4981 Views | Created by crmpnk1 - Monday, February 18, 2013 2:06 PM | Last reply by crmpnk1 - Tuesday, February 19, 2013 12:18 PM -
5 Votes
Trigger a plugin on close of activity
Actually My plugin is getting triggered when i register it in Setstate and Setstatedynamicentity.. an in this i have a if condition where it checks ...Answered | 6 Replies | 4100 Views | Created by Athul MT - Tuesday, September 25, 2012 7:13 AM | Last reply by Athul MT - Thursday, September 27, 2012 6:44 AM -
7 Votes
CRM 2011: Retrieve and RetrieveMultiple plugins
There are only 3 InputParameters for Retrieve messages: Target(EntityReference), ColumnSet, and RelatedEntitiesQuery.Answered | 24 Replies | 28893 Views | Created by Ben Cook - Thursday, May 19, 2011 8:34 PM | Last reply by Ankit Himmatlal Shah - Thursday, January 24, 2013 1:47 PM - Items 1 to 20 of 308067 Next ›
No announcements