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 / how to concat the name...
Power Automate
Unanswered

how to concat the name of a file for a pen input control from powerapps

(0) ShareShare
ReportReport
Posted on by 176

I have created a powerapp that has an input box for full name. It also has a pen input control. for the onselect of the save to sharepoint button i have this formula:  Set(varSignature, JSON(SignatureInputPen.Image, JSONFormat.IgnoreBinaryData)); Set(varSignature, Mid(varSignature, 24, Len(varSignature) - 24)); PenInputToHODSharepoint.Run(varSignature)

 

This part works perfectly.

 

I had the flow added to the app and had it configured to make the name of the file that is saved to sharepoint using the current date and time. That worked perfectly. I decided to try and change this part so that the name of the file comes from an input box from the powerapp. Below i have posted the part of the Flow i believe i have wrong and need to fix. I'm not exactly sure i understand how to collect the name from the input box to add as the name of the file in this part of the Flow, can someone help me? The input box name is SigNameInput. I added the .Text thinking it was needed. Is it? When i try and run the flow it fails. Any help appreciated.

 

"name": "@{concat(parameters('SigNameInput.Text'),'.png')

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,143 on at

    Hi @SeanTambling 

     

    varSignature passed to Flow only contains the JSON object

     

    Create another variable of type string in Flow and then set its value as "Ask in PowerApps"

     

    Then  in your PowerApp

    Set(varSignature, JSON(SignatureInputPen.Image, JSONFormat.IgnoreBinaryData)); Set(varSignature, Mid(varSignature, 24, Len(varSignature) - 24)); PenInputToHODSharepoint.Run(varSignature, SigNameInput.Text & ".png")

     

    In order for the Flow updates to be reflected in PowerApps, delete the Flow association from PowerApps.

    Close the App, Open app in edit mode and then associate the Flow again (sometime the changes in Flow do not reflect in PowerApps due to caching)

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

     

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 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard