Hello, I am new to Power Apps. I am using with a SharePoint list, and want my title field to populate from other data on my form. I've seen a reference in this forum, but it is for single line text boxes. My form does not contain single line text boxes. For example:
DataCardValue3 - Product (Choice): Chair, Table, Lamp, Picture
DataCardValue4 - Is the Product Available (Choice): Yes, No
DataCardValue5 - Product Availability Colors (Choice): Red, Blue, Green, Orange
DataCardValue1 - Created (Date): 12/02/2019
DataCardValue2 - Created By (Person): Doe, John
DataCardValue6 - Title (Single Line): Default = Parent.Default
I'm looking to make Title not visible on the form, but upon submit from a Save button, it would display in my SharePoint list as
Lamp-Red-12/02/19 or even something with the users name: Table-Orange-Doe, John.
If I changed Parent.Default, what should I type in to replace?
Solved! Go to Solution.
To generate a Title in the style of Lamp-Red-12/02/19 you would use code similar to this.
DataCardValue3.Selected.Value & "-" &
DataCardValue5.Selected.Value & "-" &
Text(DataCardValue1.SelectedDate,"mm/dd/yyyy")
Or to generate a Title in the style of Table-Orange-Doe, John you would use code similar to this.
DataCardValue3.Selected.Value & "-" &
DataCardValue5.Selected.Value & "-" &
DataCardValue2.Selected.DisplayName
I am certain you are already aware that to make the Title datacard hidden you must change the Visible property to
False
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
To generate a Title in the style of Lamp-Red-12/02/19 you would use code similar to this.
DataCardValue3.Selected.Value & "-" &
DataCardValue5.Selected.Value & "-" &
Text(DataCardValue1.SelectedDate,"mm/dd/yyyy")
Or to generate a Title in the style of Table-Orange-Doe, John you would use code similar to this.
DataCardValue3.Selected.Value & "-" &
DataCardValue5.Selected.Value & "-" &
DataCardValue2.Selected.DisplayName
I am certain you are already aware that to make the Title datacard hidden you must change the Visible property to
False
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
User | Count |
---|---|
232 | |
109 | |
94 | |
58 | |
29 |
User | Count |
---|---|
292 | |
126 | |
106 | |
62 | |
57 |