web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ClearCollect doesn't g...
Power Apps
Unanswered

ClearCollect doesn't get the lookup fields

(2) ShareShare
ReportReport
Posted on by 239

Hi,

i am connecting to the new CDS 2.0 using the new CDS connector (preview), and noticed that when i use the collect or ClearCollect functions, it skips the lookup fields in the collected table (it doesn't even get the ids of the lookup fields).

 

this behavior was not in the old CDS 1.0 premium connector!

 

regards,

Mohammad

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi,

     

    Could you please share more details about the entity you used here?

    Is it a custom Entity, or a system one?

     

    The lookup field under the New CDS seems to be a little different from the old one.

    It seems the field is mostly build on top of the entity structure from Dynamics 365, which only keeps the PrimaryKey of the parent entity.

    You may check more details from the following document:

    Attribute metadata

    Entity relationship metadata

     

    Regards,

    Michael

  • mokhawaja Profile Picture
    239 on at

    Hi @v-micsh-msft,

    it is a custom entity, and i tried to connect to the same entity using the two different connectors available now (Dynamics 365 connector, and the CDS preview connector)

     

    when i use the dynamics connector and use the ClearCollect function, it will retrieve all columns including the primary keys of the parent entity/ies.

     

    while if i use the CDS preview connector and use the same function ClearCollect on the same entity, it will retrieve everything EXCEPT the lookup field, i.e. it is dropped!

     

    Regards,

    Mohammad

  • T.Grounds Profile Picture
    Microsoft Employee on at

    Has this issue been resolved?  I'm using the default CDS connector to connect to custom entities in my environment and when I use ClearCollect to pull in the data, any lookup value or Option set value remains blank in my collection.

     

    Thanks - 

    Tom.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard