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

Community site session details

Session Id : 7zVsZp3vG6fQul2BBwBKiz
Power Automate - Building Flows
Answered

Populate a Microsoft Word Template - Created By and Choice Name

Like (0) ShareShare
ReportReport
Posted on 19 Feb 2024 13:34:24 by 219

Hello,

 

I've managed to create a flow which populates a Word template based on a specific record and then converts that into a PDF file. Within the population I'm using the "Created By" field and "Environment" which is a Choice field within the Dataverse Table.

 

On the Created By its populating the document with the ID of the user who created the record, how do i do it so it displays the Name of the user instead, or email address?

 

On the Environment its populating the value number of the choice, how do i populate the it so it displays the Name of the choice instead of the number?

Any help would be much appreciated, thank you.

  • Verified answer
    CCEP_Mike Profile Picture
    219 on 19 Feb 2024 at 15:16:45
    Re: Populate a Microsoft Word Template - Created By and Choice Name

    Nevermind i found the solution myself in the end. For anyone else wanting to do this, this is what i used instead.

     

    Created By = @{items('Apply_to_each')?['_createdby_value@OData.Community.Display.V1.FormattedValue']}

    Choice Field = @{items('Apply_to_each')?['FIELDNAMEHERE@OData.Community.Display.V1.FormattedValue']}

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!