Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

run is an unknown or unsupported function in namesapce

(0) ShareShare
ReportReport
Posted on by 379

Greetings! I have been trying to fix this error in my application for several days and I have not been able to find the solution, maybe it is something simple, but I cannot see it, please if someone knows how to help me, I will be grateful, I include screenshots of my application and flow so you can have a better idea. This app is about a project form where you can view your PDF application, then save it directly to a document library in SharePoint called Exported PDF.

 

lcdelgado_0-1683727226430.pnglcdelgado_1-1683727261997.pnglcdelgado_2-1683727362914.png

I really appreciate any help on this matter. 🤗

  • lcdelgado Profile Picture
    379 on at
    Re: run is an unknown or unsupported function in namesapce

    here is my flow with the path:

    lcdelgado_0-1683814410534.png

    the error :

    lcdelgado_1-1683814465801.png

    I don't know what I'm doing wrong. I know you tell me what the example is doing buy still with some doubts.🙄

  • lcdelgado Profile Picture
    379 on at
    Re: run is an unknown or unsupported function in namesapce

    Download(
    Download_PDF.Run(

    {
    name:"ProjectForm.pdf",
    contentBytes:'PDF Viewer Screen'}
    ).path
    );

    This is what I have

  • lcdelgado Profile Picture
    379 on at
    Re: run is an unknown or unsupported function in namesapce

    Thats what I was trying to do, but I just don't know how. 

  • lcdelgado Profile Picture
    379 on at
    Re: run is an unknown or unsupported function in namesapce

    I'm sorry, I just new to Power app and I get confused sometimes. 🙄

  • mmollet Profile Picture
    3,187 on at
    Re: run is an unknown or unsupported function in namesapce

    OOOOhhh ok this flow is asking for the URL or address of the file. Here is his example of how he gets the path. You can see at the end of this code it says .path which is getting the address that should be passed into the flow. You will have to alter the below code to fit your app/flow.

    Download(
     DownloadPDFFromPowerApps.Run(
     {
     name: $"WorkOrder_{Text(
     Now(),
     "yyyymmddhhmmss"
     )}.pdf",
     contentBytes: varWorkOrderPDF
     }
     ).path
    );

     

  • lcdelgado Profile Picture
    379 on at
    Re: run is an unknown or unsupported function in namesapce

    that the file name, it's supposed to be the flow name instead?

  • mmollet Profile Picture
    3,187 on at
    Re: run is an unknown or unsupported function in namesapce

    Have you tried just passing the flow "ProjectForm.pdf"? I am assuming that is the name of the file you are trying to get into power apps. 

  • lcdelgado Profile Picture
    379 on at
    Re: run is an unknown or unsupported function in namesapce

    here:

    lcdelgado_0-1683749259478.png

     

  • lcdelgado Profile Picture
    379 on at
    Re: run is an unknown or unsupported function in namesapce

    lcdelgado_1-1683749048538.png

     

  • lcdelgado Profile Picture
    379 on at
    Re: run is an unknown or unsupported function in namesapce

    I was following this example: 

    Power Apps PDF Function: Create, View & Download PDFs (matthewdevaney.com)

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard