cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mdevaney
Level 8

Re: WHY I CANT SAVE MY CARD IN SAHREPOINT LIST?

Aha, so it’s a a choice column. That requires a special technique. Check out this forum post by @Meneghino  You will need to take this example of his and apply your own field names

Patch(MyList, MyItem, {MyLookupColumn: {Id: Dropdown1.Selected.ID, Value: Dropdown1.Selected.Title, '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"}})

https://powerusers.microsoft.com/t5/Building-Power-Apps-Formerly/Solved-patching-to-SharePoint-choic...

View solution in original post

Gorilla_8
Level: Powered On

Re: WHY I CANT SAVE MY CARD IN SAHREPOINT LIST?

Theres another way to make a list in powerapps more simple? hehehe

mdevaney
Level 8

Re: WHY I CANT SAVE MY CARD IN SAHREPOINT LIST?

You must patch it this way if it’s a Choice or LookUp column unfortunately. Not a huge drawback. Just keep the code handy in your OneNote for future use.
Gorilla_8
Level: Powered On

Re: WHY I CANT SAVE MY CARD IN SAHREPOINT LIST?

I try to save another option and i cant, ypu know why?

Gorilla_8
Level: Powered On

Re: WHY I CANT SAVE MY CARD IN SAHREPOINT LIST?

Just in case my solution was:

 

CentroDeCusto: {ID: inputItemCentroDeCusto.Selected.Value; Value: inputItemCentroDeCusto.Selected.Value; '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"}

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 139 members 5,469 guests
Please welcome our newest community members: