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 / Leave Request PowerApp...
Power Apps
Answered

Leave Request PowerApps Help

(0) ShareShare
ReportReport
Posted on by 1,059

Hi,

 

I have used Microsoft Leave Application template and tried to convert the Database to SP List, it's working so far, but the Description shows some weird HTML text in the gallery but it stores correct text in SP List.

 

here is the ScreenShot
Desc.jpgGalleryDesc.jpg

Whats the issue ? 
Help

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

    Hi @MH3 ,

    Did you set your description field like this?

    7154.PNG

     If so, that's the reason why the data in that field display like that in your gallery.

    Text in this kind of field is actually html text. If you display it in label, it will display html tags, which you think as strange characters.

    You just need to insert a html text inside your gallery , then set this html text's HtmlText:

    ThisItem.multext

    On your side, you should use :

    ThisItem.Description 

    Then it will look normally.

    7155.PNG

     

    Best regards,

  • MH3 Profile Picture
    1,059 on at

    Hi @v-yutliu-msft ,

     

    I did like this, it shows correct text, but there are spaces how to remove those spaces and show the text from the first line in html text?

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

    Hi @MH3 ,

    If you want to remove the blank spaces in the text, you just need to remove "<p></p>".

    If you want to remove the row spaces in the text, you just need to remove "<p><br></p>".

     

    I assume that you want to remove the blank rows.

    If so, please set the html text's Html like this:

    Substitute(ThisItem.Description,"<p><br></p>","")

     

     

    Best regards,

  • oyepanky Profile Picture
    567 on at

    Hi Everyone,

     

    Please check out my leave management video - Create Own Leave Management Application in PowerApps
    https://youtu.be/1FZU7-nCn7U

     

    i hope your all queries solve by this video 

     

     

    oyepanky_0-1715006929156.jpeg

     

     

    oyepanky_1-1715006929266.jpeg

     

    oyepanky_2-1715006929115.jpeg

     

     

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard