cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Expecting a record value

Hello all,

 

I'm new on the platform and I'm trying some stuff out. So I've a submit button that when clicked submits data to a CDS. (entity: Armatuur)

 

But i can't seem to figure out how i can solve the error.. Any suggestions how to fix the error?

 

Thanks you in advance!

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Expecting a record value

Hi @Leidt ,

Could you please share a bit more about the Entity the cr6c4_Armatuurtypebatterij (LookUp field) column references values from?

Could you please share more details about the formula within the Items property of the ComboBox3_2?

 

Based on the issue that you mentioned, I think there is something wrong with the formula you provided. I have made a test on my side, please take a try with the following workaround:9.JPG

On your side, please consider set the Items property of the ComboBox3_2 to folowing formula:

Choices(Armatuurs.cr6c4_Armatuurtypebatterij)    /* <-- Or Choices(Armatuurs.'Armatuur type + batterij') */

then modify your Patch formula as below:

Patch(
          Armatuurs,
          Defaults(Armatuurs),
          {
             cr6c4_Armatuurtypebatterij: ComboBox3_2.Selected
          }
)

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Frequent Visitor

Re: Expecting a record value

Additional information about my entity > Armatuur

Highlighted
Community Support
Community Support

Re: Expecting a record value

Hi @Leidt ,

Could you please share a bit more about the Entity the cr6c4_Armatuurtypebatterij (LookUp field) column references values from?

Could you please share more details about the formula within the Items property of the ComboBox3_2?

 

Based on the issue that you mentioned, I think there is something wrong with the formula you provided. I have made a test on my side, please take a try with the following workaround:9.JPG

On your side, please consider set the Items property of the ComboBox3_2 to folowing formula:

Choices(Armatuurs.cr6c4_Armatuurtypebatterij)    /* <-- Or Choices(Armatuurs.'Armatuur type + batterij') */

then modify your Patch formula as below:

Patch(
          Armatuurs,
          Defaults(Armatuurs),
          {
             cr6c4_Armatuurtypebatterij: ComboBox3_2.Selected
          }
)

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (6,880)