Hi i have an power app that takes some images and tags them with a string. I wonder if its possible to send those with a Api trough a button click ?
Solved! Go to Solution.
Hey@langsem
This may be of interest - https://powerapps.microsoft.com/es-es/blog/register-and-use-custom-apis-in-powerapps/
The API you are sending data to is going to govern how you do this... you can always add a button to your PowerApp which invokes a Flow, you can then use the HTTP Connector to submit data as needed to an API endpoint.
HTH
Jay
thanks! will look into the link, never worked With flow before any tutorials on it ?
thank u, i might think this could be the solution !
I have tried to make a flow and Connected it to my button in Power apps. With this code onSelect UploadaphototoSharePointfromPowerApps.Run(SONR.Text; FORSIKRING.Text; Pics)
It throws and error saying it gives 3 arguments but was just expecting one. How can i increase amount of arguments ?
@langsem I have created a YouTube video around this topic. https://www.youtube.com/watch?v=V8LpZpPGtV8
The supporting article with formula's can be found at for the https://clavinfernandes.wordpress.com/2020/02/12/convert-multiple-power-apps-media-controls-from-pow...
You can also find a similar topic in which I export an entire gallery of images at https://clavinfernandes.wordpress.com/2019/08/08/convert-all-images-from-powerapps-gallery-control-t...
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
will this work if i have 5 images thats stored in a Collection and 2 strings thats stored in textfields ? ?
@langsem Technically, yes! It should work.
To simplify things, Create three variable in Power Automate,
Using the Flow.RUN function send all the three variable to Power Automate. Once you have those in Power Automate, send it any data-source of your choice.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hm i see. My api expects this body
{
"item": {
"attrs": {
"attr": [
{
"name": "string",
"value": "string"
}
]
},
"resrs": {
"res": [
{
"filename": "string",
"base64": "string"
}
]
},
"acl": {
"name": "string"
},
"entityName": "string"
}
}
Not entirely sure how i shall pass my values into the string Fields. but on the Power apps when i take a image it stores a name of the image and the image itself i assume i have to pass the name of the image into one of the Fields, convert the image into a base64 then add the two textfields into the body aswell
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
42 | |
17 | |
15 | |
14 | |
13 |
User | Count |
---|---|
75 | |
38 | |
27 | |
20 | |
18 |