Question Status

Suggested Answer
litonn asked a question on 11 Mar 2015 5:10 PM

Hi, lets say I've an entity called "A" and "B" and they have n-n relationship. is there any way, I can show data from both entity in View? I can display the data by using Fetch Xml tester from both entity.

<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0" >
    <entity name="A" >
        <all-attributes/>
        <link-entity name="wc_A_wc_B" intersect="true" visible="false" to="Aid" from="Aid" >
            <link-entity name="B" to="Bid" from="Bid" alias="ad" >
                <all-attributes/>
                <filter type="and" >
                    <condition attribute="Bid" operator="not-null" />
                </filter>
            </link-entity>
        </link-entity>
    </entity>
</fetch>

Reply
Suggested Answer
Bruno Lucas responded on 11 Mar 2015 6:17 PM

regarding the fields, you cannot show the attributes of both but you can search on the related entity. just need to do this:

allanvarcoe.cinteros.se/.../advanced-find-and-nn-many-to-many.html

Bruno Lucas, Senior CRM Consultant

DynamicDay CRM Blog 

Please mark my post as "Verified" If it helped to solve your problem 

Reply
Bruno Lucas responded on 11 Mar 2015 6:59 PM

However, for  lookups you can use JavaScript

community.dynamics.com/.../98872.aspx

Bruno Lucas, Senior CRM Consultant

DynamicDay CRM Blog 

Please mark my post as "Verified" If it helped to solve your problem 

Reply
Suggested Answer
Bruno Lucas responded on 11 Mar 2015 6:17 PM

regarding the fields, you cannot show the attributes of both but you can search on the related entity. just need to do this:

allanvarcoe.cinteros.se/.../advanced-find-and-nn-many-to-many.html

Bruno Lucas, Senior CRM Consultant

DynamicDay CRM Blog 

Please mark my post as "Verified" If it helped to solve your problem 

Reply