I'm working on an app for my company, and they have asked if a multi-line text input control in one of the forms can have default text in it. Obviously, I can set the default property of the control to contain this text, but the text also has to be editable and the edits need to be saved back to the Sharepoint list I'm using as a data source.
Right now, the user navigates to the form containing this text box from a gallery. If they edit the default text in this text box, then save the form and come back later, their edits still need to be there.
I'm sure there's a way to do this, but I'm not sure how. Any help would be appreciated. Thanks.
Solved! Go to Solution.
Actually I just figured it out. I set the default property of my text control to this:
If(IsBlank(Parent.Default),"Default Text",Parent.Default)
Assuming that they save the form batck to your datasource, you can use: ThisItem.MultiLineText
Right?
I'm actually using a rich text editor control. The default property of the data card is ThisItem.ColumnName. The update property of the data card is RichTextEditor1.HtmlText.
The default property of my rich text editor control is set to "Default Text."
If I navigate to my edit form, I see "Default Text" in the rich text editor. If I then make changes and submit the form, the changes show up in my Sharepoint list. However, the next time I navigate to the edit form from my main gallery, the changes I've made are not showing up in the rich text editor. All it shows is "Default Text."
Actually I just figured it out. I set the default property of my text control to this:
If(IsBlank(Parent.Default),"Default Text",Parent.Default)
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
199 | |
52 | |
41 | |
39 | |
35 |
User | Count |
---|---|
261 | |
86 | |
71 | |
70 | |
66 |