web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create formatted text ...
Power Automate
Unanswered

Create formatted text file from SharePoint List

(0) ShareShare
ReportReport
Posted on by 41

Hey all, I have a SharePoint List from which I am looking to make a text report.

 

Essentially, the data input looks something like this (but with 12 columns, and about 100 rows):

 

PROJECT TITLETIMELINENOTES
The Best ComputerCompletedNot a great computer
Another DayWork in ProgressComing along great

 

And I would like the output to look something like this (either in Word or PDF):

 

PROJECT TITLE: The Best Computer

TIMELINE: Completed

NOTES: Not a great computer

 

PROJECT TITLE: Another Day

TIMELINE: Work in Progress

Notes: Coming along great

 

I have been able to accomplish this for a single SharePoint list item using Get item -> Compose (with some basic html formatting) but I can't figure out how to make this function apply to each row/item in the SharePoint list, except by using the html table function. And if I use an html table, I can't seem to figure out how to format that data back into plain text either.

 

Any input on simplest approach would be greatly appreciated. Thanks!

 

Best,

Josh

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @jdeitell ,

     

    Edit

    Please try this

    vxiaochenmsft_0-1693535496130.png

    PROJECT TITLE: @{items('Apply_to_each')?['Title']}<br>TIMELINE: @{items('Apply_to_each')?['TIMELINE']}<br>NOTES: @{items('Apply_to_each')?['NOTES']}<br><br>

     

    vxiaochenmsft_2-1693535837490.png

    vxiaochenmsft_3-1693535848267.png

     

    Best Regards,

    Wearsky

  • jdeitell Profile Picture
    41 on at

    This is perfect! Thank you so much for your help

  • jdeitell Profile Picture
    41 on at

    Have a follow-up question if it's not too much trouble. When I run this script it's displaying the items in order of date created. Right now my SharePoint list is sorted by a column called PRIORITY and then a column called TITLE. How can I apply the same sorting to this Flow output? 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard