Forum Discussion
SharePoint List Flow - Displaying Unique ID
- Dec 09, 2024
In your Flow, when you're pulling data from the SharePoint list, add a https://learn.microsoft.com/en-us/power-automate/data-operations action right after getting your list item. This will help format the text before it goes into your document.
For a single line of text field, use this expression:
body('Get_item')?['TextFieldName']
For a multiple lines of text field, use this expression:
body('Get_item')?['MultiLineFieldName']
For a number field, use this expression:
body('Get_item')?['NumberFieldName']
For a date/time field, use this expression:
body('Get_item')?['DateFieldName']
Place this Compose action between your "Get Item" and your "Create Word Document" steps. Then, when you're setting up your Word document template, use the output from the Compose action instead of directly using the SharePoint field.
This gives you just the clean text without all the extra SharePoint ID information that usually comes with it. The Compose action basically acts as a filter, stripping away everything except the text you actually want to see in your document.
Please export your solution in Power Automate as a package and attach it here. Additionally, take a screenshot of the columns from your list settings and include it here as well. I’ll review the details and see how I can assist you in resolving this issue.
https://learn.microsoft.com/en-us/power-automate/export-import-flow-non-solution