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).

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

 

Highlighted
NetlogixBI
Level: Powered On

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

@rebeccas 

 

Thank you very much. It worked for me.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 45 members 5,030 guests
Please welcome our newest community members: