cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jason_Collet
Level: Powered On

Plain Text Content Control as Currency

Greetings,

After watching this video...

https://flow.microsoft.com/en-us/blog/intermediate-flow-of-the-week-create-pdf-invoices-using-word-t...
...I became inspired, and started working on a Flow that would generate Purchase Order Requests.  Following the instructions as per the video, I've created a Word Document with several Plain Text Content Controls:

PO_Doc.jpg

Everything goes as planned until we hit the first entry that I need formatted as currency.  In the example above, the entry for "Price1" will not allow me to have a floating zero..."43.60" immediately becomes "43.6".  The data is pulled from a Sharepoint list which has the column settings for "Currency".

From what I have been able to research, the only way to accomplish formatting currency in this way is through a macro.  I've attempted to apply a macro in several places in the document, and have not had any success.  Any insight would be greatly appreciated.

3 REPLIES 3
Community Support Team
Community Support Team

Re: Plain Text Content Control as Currency

Hi @Jason_Collet ,

 

Have you seen the format of this field value in Flow run history?

We need to determine if the field has been formatted in Flow or changed when it is inserted into Word Template.

If it is the former, we may be able to make changes in Flow; if it is the latter, I am afraid that Flow is not working.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jason_Collet
Level: Powered On

Re: Plain Text Content Control as Currency

Thank you for the prompt reply.  Just ran the flow again, and you are spot on...that is the culprit:

Flow.jpg

For good measure, here is the "Populate a Microsoft Word Template":
FlowPop.jpg
Is there an Expression I am supposed to apply against the Dynamic Content to keep the column settings as Currency?

Jason_Collet
Level: Powered On

Re: Plain Text Content Control as Currency

From my research (please see the other posts in this thread), it is indeed the *former*--the field has been formatted in Flow.  What changes may be made in Flow to allow for currency format?

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 401 members 5,817 guests
Please welcome our newest community members: