cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndKanPA
Resolver I
Resolver I

Alias on attribute not returned

FetchXML is:

 

<fetch top="50" distinct="true" >
  <entity name="cr847_table1" >
    <attribute name="cr847_company" alias="comp"/>
    <attribute name="cr847_employe" />
    <filter>
      <condition attribute="cr847_tableid" operator="eq" value="640b201a-f939-eb11-a813-0022480691de" />
    </filter>
  </entity>
</fetch>

After adding an alias in FetchXML-Builder a column with alais is shown.
Same request in FetchXML-Tester doesnt returns that alias column.

 

Is it a special feature in FetchXML-Builder, that an attribute alias works?

 

Thanks,

AndKan.

 

1 REPLY 1

Hi @AndKanPA,

If you will change in FetchXML Builder to view raw results you will see that it also shows results without alias for an attribute. So I assume that is a feature of FetchXML Builder to showed alias for an attribute in a regular view.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (3,362)