cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Re: Problem with Add Image Control and appres//blobmanager

@NetlogixBI 

 

Have you considered doing a Flow that usines the 'Populate a Micrsoft Word template' instead of the HTML?

 

I'm not sure your situation but it is really easy to use and get the layout where you like it and I like it for displaying images directly in the document.

 

If not...you can show an image in your html. There is a video that Laura Rogers did that is using the pen input but she shows how to put a signature into HTML for an email. I prefer the other option in Flow but the way she does it works too. It is a different need than you have but the concept and how she does it will be the same. Let me know if you do that and can't find her video and I will see if I can relocate it.

NetlogixBI
Level: Powered On

Re: Problem with Add Image Control and appres//blobmanager

@rebeccas I will give it a try and let you know.

 

Currently im trying to save the image to azure blob storage but still no success.

Super User
Super User

Re: Problem with Add Image Control and appres//blobmanager

@NetlogixBI 

 

I have done some research into the Azure Blog Storage and would like to try it soon but we don't have an account for that yet...we just use SharePoint and OneDrive for our storage so I will be no help on storage outside of those two options.

 

Good luck!

Rebetcha
Level 10

Re: Problem with Add Image Control and appres//blobmanager

Hi @Jek ,

There is a hack through Flow to solve this issue.

Have a look at this blog by John Liu.

http://johnliu.net/blog/2019/4/flowninja-hack-87-lock-microsoft-flow-powerapps-trigger-to-upload-ima...

 

You can skip the first part of the blog where he dives into the code of diveren connectors to find the sollution. The 2nd part of the blog describeds the hack.

 

Basically the steps are:

  1. Create a Flow triggered from PowerApps
  2. Add a condition that will result in a false output (for example 1 = 2)
  3. In the 'If Yes' branche add a Outlook - Send an Email action.
    This action will never be run, so whatever you put in the To, Subject and Body fields doesn't matter. 
  4. In the Attachments Name - 1 and Attachments Content - 1 add  the 'Ask in PowerApps' dynamic content parameter.
  5. Add a SharePoint - Create File action and add the site address and folder path. 
  6. Add the generated dynamic content parameter created during step 4 in the File name and File content fields. 
    Make sure they match up correctly to Outlook Attachments - 1 fields. 

Add the Flow to execute from within your app and make sure to provide the requested parameters (file name & file content). File name you need to generate yourself (for example GUID(). & ".jpg"). For the file content you can use the output of the Add Image control (appres://blobmanager/.... etc.).

 

And run!

Tried it out today. Works like a charm (allthough a little bit weird work around).

Highlighted
Super User
Super User

Re: Problem with Add Image Control and appres//blobmanager

@NetlogixBI 

 

I posted a video the other day on putting a signature from PowerApps into a pdf document. An image of any sort would work the same. I'm new at the whole "video" thing but check it out and see if it will help with what you are wanting to do. 

 

https://youtu.be/UdbNqQ1z_Ww

 

View solution in original post

NetlogixBI
Level: Powered On

Re: Problem with Add Image Control and appres//blobmanager

@rebeccas 

 

Thank you very much. It worked for me.

JensKofod
Level: Powered On

Re: Problem with Add Image Control and appres//blobmanager

An easy and multi-purpose solution is found to add pen-input to Sharepoint/Email/PDF by utilizing the addition of a PowerApps Json functionality added on 02/05/2019.

The Short description on how to make this work is to save the pen input image in a JSON format asking the JSON function to include Binary Data:

Set( PenVar, JSON( PenInput1.Image,JSONFormat.IncludeBinaryData ) );

See here for details: https://iiu.dk/2019/10/12/powerapps-pen-input/

jamess
Level: Powered On

Re: Problem with Add Image Control and appres//blobmanager

Hi.

 

Did you use a variable to set the URL? Mine is still patching the 'appres://blobmanager/9fc1b32c30f24163a3d82e4783d322ed/5' through to my azure sql table.

 

James

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,826)