Title: Link Entity Data
Last modified: May 28, 2021

---

# Link Entity Data

 *  Resolved [manojmane29](https://wordpress.org/support/users/manojmane29/)
 * (@manojmane29)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/link-entity-data/)
 * Hi,
 * I am using the fetchXML in my wordpress page. Where i have to show the link entity
   data but i am unable to prepopulate the data of link entity.
 * I am using the below fetchXML :-
 *     ```
       <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
         <entity name="gfav_subsidyapplication">
           <attribute name="gfav_subsidyapplicationid" />
           <attribute name="gfav_name" />
           <attribute name="createdon" />
           <attribute name="gfav_program" />
           <attribute name="gfav_lastname_subsidy" />
           <attribute name="gfav_firstname_subsidy" />
           <attribute name="gfav_email_subsidy" />
           <attribute name="gfav_dateofbirth_subsidy" />
           <order attribute="gfav_name" descending="false" />
           <filter type="and">
             <condition attribute="gfav_subsidyapplicationid" operator="eq"  value="{9857B6EC-4DBE-EB11-BACC-0022486D8A0D}" />
           </filter>
           <link-entity name="av_programs" from="av_programsid" to="gfav_program" link-type="inner" alias="ab" />
         </entity>
       </fetch>
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flink-entity-data%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [alexacrm](https://wordpress.org/support/users/alexacrm/)
 * (@alexacrm)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/link-entity-data/#post-14500747)
 * Hi [@manojmane29](https://wordpress.org/support/users/manojmane29/)
 * <link-entity> node needs to include <attribute> child nodes, e.g.
 *     ```
       <link-entity name="av_programs" from="av_programsid" to="gfav_program" link-type="inner" alias="ab">
          <attribute name="av_name" />
       </link-entity>
       ```
   
 * Use [FetchXmlBuilder for XrmToolBox](https://fetchxmlbuilder.com/) to visually
   build and test your queries.
    HTH George
 *  Thread Starter [manojmane29](https://wordpress.org/support/users/manojmane29/)
 * (@manojmane29)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/link-entity-data/#post-14503596)
 * [@alexacrm](https://wordpress.org/support/users/alexacrm/) Okay but how can i
   read the alias entity attribute value ? Can you please share the syntax format.
 * Thanks,
    Manoj
 *  Plugin Author [alexacrm](https://wordpress.org/support/users/alexacrm/)
 * (@alexacrm)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/link-entity-data/#post-14506745)
 * [@manojmane29](https://wordpress.org/support/users/manojmane29/)
 * using the alias, something like
 * `{{ record['ab.av_name'] }}` where `record` is the variable iterating over the
   array returned by the fetch.
 * HTH
    George

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Link Entity Data’ is closed to new replies.

 * ![](https://ps.w.org/integration-cds/assets/icon.svg?rev=2504995)
 * [Dataverse Integration](https://wordpress.org/plugins/integration-cds/)
 * [Support Threads](https://wordpress.org/support/plugin/integration-cds/)
 * [Active Topics](https://wordpress.org/support/plugin/integration-cds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/integration-cds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/integration-cds/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [alexacrm](https://wordpress.org/support/users/alexacrm/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/link-entity-data/#post-14506745)
 * Status: resolved