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 / value of sharepoint li...
Power Apps
Unanswered

value of sharepoint list item gets blank when form is edited using power app

(0) ShareShare
ReportReport
Posted on by 150

sharepoint form is customized and added azure sql column values in  drop down list, i  used combo box in which values gets filtered according to drop down list, values in combo box gets from azure sql , 

when sharepoint form is edited , value gets blank.

 

combo box defaultselecteditem

If(
SharePointForm1.Mode = FormMode.Edit,
{
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Value: ThisItem.'Vendors Name'
}
)

 

combo box item property

Search('[dbo].[vw_FlowAutomation_Vendors]_1',DataCardValue3.Selected.Value,"Company")

 

 

when combo box  is selected its associated address field value should be display in text box,,

but its value is saved in sharepoint list but not shown in edit form ?

 

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

    Hi @Tejaswini1234 ,

    Firstly, a custom sharepoint form is just a form, not a powerapps app.

    These two are different.

    Could you describe more clearly about your problem?

    Do you mean that the combo box in sharepoint custom form can not display value?

    If you could show me your form's screenshoots, it will be better to understand your issue.

     

     

     

  • Tejaswini1234 Profile Picture
    150 on at

    in took vendor and address column  which is sinngle line of text in sharepoint when its  customized,, in vendor  name datacard i put combo box and assign azure sql table column values, when combo box vendor value get selected its related address should be display in textbox field of address,

    while editing sharepoint list item form, that time address field gets blank 

    editform.png
  • Tejaswini1234 Profile Picture
    150 on at

    while changing the combo box values it address in textbox field should  be change  in edit form of sharepoint list item

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Tejaswini1234 ,

    Could you show me the settings of the textinput control, especially the default property?

     

  • Tejaswini1234 Profile Picture
    150 on at

    PlainText(
    If(
    SharePointForm1.Mode = FormMode.Edit And TextInput4.Text = DataCardValue6.Text,
    ComboBox2.Selected.'Formatted Address',
    SharePointForm1.Mode = FormMode.Edit And IsBlank(DataCardValue6.Text),
    Parent.Default,
    SharePointForm1.Mode = FormMode.Edit And DataCardValue6.Text <> TextInput4.Text,
    ComboBox2.Selected.'Formatted Address',
    ComboBox2.Selected.'Formatted Address'
    )
    )

     

     

    There is company drop down list , vendor combobox and address textbox on form,

    when company seleceted , its vendors get filter in  combobox and address in textbox on form,

    In edit form when company is changed ,its defaultselected  item is not remove from vendor combo box as it is not present in that form, 

    comboform.png

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard