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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SubmitForm with lookup...
Power Apps
Unanswered

SubmitForm with lookupvalue gives error 'Value must be a data entity record' using CDS

(0) ShareShare
ReportReport
Posted on by 102

Hi,

 

I want to create a new record which contains lookupvalues using the submitform formula.

I use CDS as data source.

I get the error 'Value must be a data entity record' for the lookupvalue (combo box).

On top of the screen I get: 'an entry is required or has invalid value'

How can I solve this?

Thank you!

Submitform issue.PNG

I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @ThomasVDS ,

    Could you please share more details about the formula you typed within the Items property of the Training ID ComboBox?

     

    Based on the issue that you mentioned, I have made a test on my side. Please make sure the Items property of the Training ID ComboBox is set to following formula as below:

    Choices(YourEntityName.'Training ID') /* <-- 'Training ID' represents the LookUp field in your CDS Entity */

    Note: The 'Traning ID' represents the Display name of your LookUp filed rather than logic name (e.g. crba2_TaskLists_Task) of your LookUp filed.

     

    If the issue still exists, please consider re-generate a new app based on your CDS Entity, then try above solution again, check if the issue is solved.

     

    Best regards,

  • ThomasVDS Profile Picture
    102 on at

    @v-xida-msftThank you very much! It works now!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard