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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / return sharepoint url ...
Power Apps
Answered

return sharepoint url (boolean?

(0) ShareShare
ReportReport
Posted on by 34

I have setup a flow (see below) to upload a file to sharepoint and then return the URL. However when I use the function below on the OnSelect it return a boolean, how do I get to return the text variable set in the Automate respond to powerapps bit.

 

Set(
 sharePointUrl,
 PowerAppsbutton_1.Run(
 JSON(
 {
 FileName: "Photo.jpg",
 File: UploadedImage1_1.Image
 },
 JSONFormat.IncludeBinaryData
 )
 )
);

 

Screen Shot 2021-06-08 at 19.54.39.png

 

Categories:
  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    This is usually caused by the Respond to Power Apps action not recognizing the return value as the right data type.  You might want to try saving it as a string variable before the respond step and then using that string variable as the return value.

     

    Also the return value won't be in sharePointUrl when you are done.  It will be a property of the SharePointURl variable.  See if sharepointUrl is just a boolean or has a property called sharepointurl, in other words access SharePointUrl.SharePointUrl to get the actual string.

  • philkky12 Profile Picture
    34 on at

    Nailed it an turns out I needed to reassign the flow to the button to get the latest version of the flow, thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard