Forum Discussion

SudesnaPattnaik's avatar
SudesnaPattnaik
Copper Contributor
Sep 29, 2024

Issue with Image Upload in VIVA Engage via Power Automate

Hi Experts,

We’re currently using Power Automate to post data in VIVA Engage via the VIVA Engage Post connector. However, despite trying various HTML codes, the images are being posted as links instead of displaying directly.

Please see the attached screenshot for reference. Is there an alternative method to resolve this issue?

 

 

Thank you for your help!

 

  • RobSoto's avatar
    RobSoto
    Iron Contributor

    Hello@SudesnaPattnaik 

     

    Was this ever in a working state? If so, environment changes are a factor. But without additional context, these are some potential causes for this issue:

     

    1. The images are too large.
      1. The maximum dimensions are 7,680 pixels wide and 4,320 pixels high, and the maximum image size is 10 megabytes (MB).

    2. Power Automate connectors are not up to date.
    3. You may need to convert your images to Base64 and embed them directly in the HTML.
    4. Are you using Post message (V2)? An earlier version of "Post message" was deprecated.

    I hope this helps. Please let me know if you've already covered those bases.

    • SudesnaPattnaik's avatar
      SudesnaPattnaik
      Copper Contributor

       

      RobSoto 

      Thank you for your response. Here is the workflow:

       

       

      The Output is as follow:

      Gillian Rajam has received "Power Together" eCard from Michelle Abrahams.

      Gillian is wonderful to work with, always so friendly and so willing to help. She generously shares her knowledge and is a great example of "power together". It’s a pleasure working with someone so committed to teamwork and collaboration..

      Click here: https://xxx

       

      From: Michelle Abrahams

       

      When you click on the link, the image opens. However, we would prefer it to be posted directly as an image. I will try reducing the size to see if that helps.

       

      Thanks,

      Sudesna

       

      • RobSoto's avatar
        RobSoto
        Iron Contributor

        Hi SudesnaPattnaik,

         

        Apologies for the delayed response. Everything I'm seeing is related to ensuring the HTML formatting is correct. I'm not seeing any HTML code in your workflow, but I'm presuming there is another input source that feeds that code into the workflow. Is that correct?

         

        Here are some more steps for you if you haven't already tried them:

        • Check if there are any permission issues that might prevent the image from being displayed.
          • I see in your URL there is a CDN URL. Are you sure users can access that image repository?
        • Verify that the URL provided for the image is correct and loads in a browser.
          • If the URL is malformed or the image is not accessible, it will display only as a link.
        • Ensure that the method used to embed the image is supported by Viva Engage.
          • I'm seeing some evidence that the "Attach" option might work. But I'm not sure if that applies to how you've set up your workflow.

Resources