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 / Form Combination Field...
Power Apps
Answered

Form Combination Field in View Mode

(0) ShareShare
ReportReport
Posted on by 26

Hello, 

 
I am trying to create an App. One Screen contains a form which then saves Values to a SharePoint list. It is possible to open this Screen with an Record from a Gallery in a previous screen in ViewMode. The ID is taken over correctly into the Form Screen, but my Combination Field shows me nothing. I tried using the Default and Default Selected Items properties, but it forces me to use a table value, and thus showing the ID from "ThisItem" which is already shown in another field. How can I let this combination field show me the selected value from the previous screen? 

My Formula was as following; If(DisplayMode.Edit;Blank();First(Fitler(Table;Name = ThisItem.ColumnName))) - which is not working

But: If(DisplayMode.Edit;Blank();ThisItem) Works fine but showing me the wrong Data.

Any ideas?
Thank you in advance! 

Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @PhilippMer ,

     

    The proper way to use a form in view mode is to use the ViewForm() function to change the FormMode to FormMode.View. The form control will then use its' Item property to to display. Assuming you are using a gallery to select the item to be viewed, you can set the Item property of the form control to Gallery1.Selected. Of course you'll need to change "Gallery1" to the name of your gallery.

     

    Default or DefaultSelectedItems properties are mainly used in datacards to set the value in FormMode.New, and hence are not the way to go.

  • PhilippMer Profile Picture
    26 on at

    Thank you for your reply, it really helped me out. I wanted to ask, I changed the Item property of the form but now I wanted to ask if the combination field inside the DataCard needs a Default property like Parent.something?
    Cant find something to work. Thanks in advance! 

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @PhilippMer ,

     

    The standard formula for the DefaultSelectedItems property of a ComboBox in a form is Parent.Default whilst the Default property is blank if that answers your question.

  • PhilippMer Profile Picture
    26 on at

    Im getting an error for the DefaultSelectedItems property when changing it to Parent.Default as I need a Table Value instead of a Text Value... Do you have an Idea why this is happening?

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @PhilippMer ,

     

    Unless you have done any other customization of the datacard, I would suggest to delete it and add it back to the form. That's way easier to reset it to standard than going through a lot of troubleshooting steps.

     

    Deleting the datacard is easy, but to add it back you need to select the form, then click on Edit Fields and then Add Field:

     

    BCBuizer_0-1653639124358.png

     

  • PhilippMer Profile Picture
    26 on at

    Hi @BCBuizer 

    Thank you for your help. I did as you advised and the new Text Field shows me the correct values. But I dont want to have a text fied- i want to change it to a CombinationField. So I enter the DataCard and Insert a combination Field and try to add the Parent.Default property to DefaultSelectedItems which is still not working. Am I doing something wrong here? 

  • Verified answer
    BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @PhilippMer ,

     

    To change the control for a Text column, again go to Edit fields and then select the control type. In the example below, the datacard will contain a dropdown for which you can then set the Items properties to whatever values you want the user to be able to select:

    BCBuizer_0-1653648745446.png

     

  • PhilippMer Profile Picture
    26 on at

    @BCBuizer  Thanks alot for your help and effort!

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 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard