here is where i got to with my Flow... still not making any progress.
the 'SharePoint - Get Item' action is returning the List Item with ID # 2, and it is returning the URL where the barcode preview exists:
at the 'Initialise Variable' step, i'm trying to convert the barcode image into a string URI, so that i can save it into an HTML file, and then convert the HTML file to PDF.
there is a problem at the 'Initialise Variable' step though... as it converts the URL into a URI (ie. https://<tenant>.sharepoint.com/sites/SPOTrain/sandpit/TestingSubsite1/_layouts/15/barcodeimagefromitem.aspx?ID=2&list=94ce2749-f1bd-4472-ae39-8ac04c266c56") not the actual .GIF picture of the barcode itself 😧
Towards the end of the night, i added the 'SharePoint - Send an HTTP Request to sharePoint' action, to try and GET download a .GIF copy of the barcode first, then save that into the variable... but i couldnt get this to work either.
the barcode preview column itself, appears to be a Picture column.
if you put an Image control into PowerApps, and put the URL into it, then the barcode renders, but i couldnt find a way to convert it into a URI within Powerapps either.
any idea's how i can go future?
Have you tried the dynamic content barcode value in the action set variable?
Please also try to use WDL conversion functions in your flow to see if it will work:
I will help confirm it on my side either.
"Have you tried the dynamic content barcode value in the action set variable?"
i've tried both barcode value, and barcode preview.
Barcode Value returns the barcode number (eg. 101060123123)
Barcode Preview returns the URL to the barcode image (eg. https://<tenant>.sharepoint.com/<site>/_layouts/15/barcodeimagefromitem.aspx?ID=2&list=94ce2749-f1bd-4472-ae39-8ac04c266c56)
"Please also try to use WDL conversion functions in your flow to see if it will work:"
but i'm unsure how to properly apply these functions
how would i apply these formulas to be able to create a URI of the barcode image?
it feels like im missing a step in the Flow.
BarcodePreview stores the URL, of where a preview of the barcode can be seen (pic below)... but it feels like there should be an additional step in the flow which "goes to the URL, and Downloads a binary/uri copy of the barcode image"
below is how i would perform the steps i want the Flow to do.... if i were performing the steps manually myself.
I would navigate to the barcodepreview URL in my browser, then it would renders the barcode image
Next i could right click the image, select download image, and save it to my pc.
i'm not sure how i would achieve this second (download a copy of the image) step in Flow
Look out for new contribution recognition badges coming SOON!
Join us for the first ever Power Platform Online Conference!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!