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 Apps / Generate a word templa...
Power Apps
Unanswered

Generate a word template with a button in PowerApps

(0) ShareShare
ReportReport
Posted on by

Hello everyone, 

 

I want to generate a word template automatically with a button in powerapps  but i keep having an error when i write the function FlowName.run()

 

in the Onselect field of the button : 

 

GenerateButton.Run("Meeting.docx";DataCardValue35.value;DataCardValue37.value)  The first is the name of the word file and the other two are the two fields that I want filled out in the word file.

 

The Run function doesn't recognize the first argument.

 

Do you have any idea on how to solve that ? 

 

 

 

 

yaminamaouche_0-1666182363657.png

yaminamaouche_1-1666182409544.png

 

yaminamaouche_3-1666182608963.png

 

 

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

    Hi @Anonymous ,

     

    I suggest you use 'PowerAppsV2' as the trigger instead of 'PowerApps'. Please try:

     

    1\Delete the trigger 'PowerAPPs' and add a new trigger PowerAppsV2

    2\Initialize two parameters for the trigger

    vbofengmsft_0-1666232039681.png

     

    3\Use the parameters initialized in the second step in other actions in flow

    4\Re-add the flow in the canvas app.

     

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    on at

    yaminamaouche_0-1666250024841.png

    Thanks for the answer but i need a few more details on this, what should i put in the input field ?

  • v-bofeng-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Please try

    vbofengmsft_0-1666251685805.png

     

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    on at

    yaminamaouche_0-1666271554185.png

    I did what you said but i want the inputs to be the values of the DataCard in powerapps form 

  • v-bofeng-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Please refresh the flow and try again.

    vbofengmsft_0-1666315136223.png

     

    Best Regards,

    Bof

  • Community Power Platform Member Profile Picture
    on at

    i already did that, it doesn't recognize the DatacardValue as Text 

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard