Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Invalid XML in plugin

$
0
0

Hi,

Im trying to fetch a case's associated custom entity 'productset' 's subgrid record by using a fetch xml. For which i am getting exception as invalid xml. The xml query  is:

string fetch3 = @"
<fetch mapping='logical'>
<entity name='new_productset'>
<attribute name='new_productsetid' />
<attribute name='new_name' />
<attribute name='createdon' />
<filter type='and'>
<condition attribute='new_associatedcase' operator='eq' uiname='"+objContext["title"].ToString()+@"'uitype='incident' value='"+caseorderId.ToString()+@"'/>
</filter>
</entity>
</fetch>";

The plugin step is on update of case record post operation


Viewing all articles
Browse latest Browse all 46379

Trending Articles