Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
2k views

If-else clause in fetchXml CRM

I want to get data from two tables deal and details. I could make join and fetch data but I couldn't figure out how to link-entity on a condition. In simple terms, I want if deal.sell is yes: ...
user2714823's user avatar
0 votes
1 answer
619 views

need help for sql query to Fetch XML query in CRM2011?

I have this query select d.ope_supervisorName,d.ope_categoriaName ,d.ope_categoria,d.ope_cuota,d.ope_cuotaventadetId ,f.Ope_name,c.ope_name from ope_cuotaventadet d join ope_figura f on d....
angel's user avatar
  • 4,612
0 votes
1 answer
2k views

CRM Fetch Statement Filter Condition where 2 lookups equel 2 linked entities

I Have a fetch and I want to link an entity where 2 lookups contain to other linked entity ID's Code: <fetch mapping='logical'> <entity name='serviceappointment'> <...
Richard Dewhirst's user avatar
0 votes
1 answer
1k views

CRM 2011 - How to set data in records from subgrid in Entity using C# code

I am making a plugin in CRM 2011. The plugin is taking data from the Entity's subgrid by using fetchXML, making some calculate with the data and at the end of the plugin I want to set the new ...
user2968949's user avatar
3 votes
3 answers
4k views

Crm 2011 Fetch XMl - Invalid XML issue, how to fix?

I am using fetch xml to retieve values from ms crm 2011 entities. it throws INVALID XML error, the sample xml is given below: <fetch version='1.0' output-format='xml-platform' mapping='logical' ...
Yaqub Ahmad's user avatar
  • 27.7k