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 / Updating a combo box t...
Power Apps
Unanswered

Updating a combo box to sharepoint look up

(0) ShareShare
ReportReport
Posted on by 162

Hi!

 

Does anyone know why this wont return the datacardvalue on update

 

maries1986_0-1633362350337.png

 

 

Just says Table?  it worked before but stopped working.  it wont update...change or put the default it 

Categories:
  • maries1986 Profile Picture
    162 on at

    I also need help with the dault value 

     

    maries1986_0-1633363285727.png

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @maries1986 

     

    Is the Lookup you are trying to update is single or multi-selection?

     

    if it's single selection

    Event : {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id: DataCardValue60.Selected.Id,
     Value: DataCardValue60.Selected.Value
     }

    If it's Multeselect column in SP then

     

    Event: ForAll(
     DataCardValue60.SelectedItems,
     {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id: Id,
     Value: Value
     }
     )
  • maries1986 Profile Picture
    162 on at

    @StalinPonnusamy 

     

    Hi 

     

    Thanks for the response.  What do you mean by Event?

     

  • maries1986 Profile Picture
    162 on at

    It is single selection.  

  • maries1986 Profile Picture
    162 on at

    I tried this:-

    Red under ID and Value 

     {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id: DataCardValue60.Selected.Id,
     Value: DataCardValue60.Selected.Value
     }

     I think the problem is more SP.......i need it to be able to have a blank value

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @maries1986 

     

    • What you are getting after DataCardValue60.Selected.?
    • Event is the Lookup Column Name in SharePoint

    I assume you are having an issue with the patch command. Please share your complete patch command. You may remove any sensitive data.

     

  • maries1986 Profile Picture
    162 on at

    maries1986_0-1633382663844.png

     

    Seems to be okay after from the :

     

    Thanks for the help

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @maries1986 

     

    Where exactly you are using this code? Thisitem.'Parent Host" should be just a ColumnName. So you may need to remove the Thisitem.

     

  • maries1986 Profile Picture
    162 on at

    in the Update:-  

     

    'Parent Host':{
    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    Id: DataCardValue60.Selected.Id,
    Value: DataCardValue60.Selected.Value
    }

     

    Error is under Parent Host:

  • maries1986 Profile Picture
    162 on at

    The error is name isnt recongised 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard