cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Al_Rawan
Helper I
Helper I

Contents of Multiline Text Column are not Viewed in Display Form.

I have a "Note" column that is of the "Multiline" type. Users can add notes to a list item, and all notes are stored in the same field, separated by a new line.

The code of "Add Note" :

 

Patch(datasource,Gallery.Selected,{notes:DataCardValue.Value& Char(13)});

 

The notes are saved as following:

userName1 (date): notes

userName2 (date): notes

userName3 (date): notes

 

In a new screen, I want to display all of the information of the selected item in "Display Form," but "Notes" are not displayed, simply an empty text field.

I tried two methods in "Notes" DataCardVlaue, but neither worked.

 

ThisItem.notes 
or
Parent.Default 

 

 

 How Can I show the "Notes" contents in the text box including (username, date and notes). 

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @Al_Rawan ,

 

Could you please test you app with a Label out of the edit form and set Default to DataCardValue.Value that you mentioned in your post?

 

If it is a multiline text column, the default/auto generated control should be a Text Input then you should retrieve the texts using DataCardValue.Text

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @Al_Rawan ,

 

Could you please test you app with a Label out of the edit form and set Default to DataCardValue.Value that you mentioned in your post?

 

If it is a multiline text column, the default/auto generated control should be a Text Input then you should retrieve the texts using DataCardValue.Text

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,377)