Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Images get displayed in Teams after form is uploaded with attachments

(0) ShareShare
ReportReport
Posted on by 34

Is it possible for attachments/images to show in teams after form that is attached with images is submitted. 

Categories:
  • power7777 Profile Picture
    power7777 34 on at
    Re: Images get displayed in Teams after form is uploaded with attachments

    Hi there! This statement doesn't work and always give me an error

     

    json(outputs('Compose'))?[0]?['id']

  • power7777 Profile Picture
    power7777 34 on at
    Re: Images get displayed in Teams after form is uploaded with attachments

    Dear Wearsky, 

     

    It worked and I will be accepting that as a solution. But how do I make sure everyone in the teams channel can access this attachment. 

  • Re: Images get displayed in Teams after form is uploaded with attachments

    Hi @power7777 ,

     

    I made a sample with one image attachment.

    vxiaochenmsft_0-1692672160176.png

    json(outputs('Compose'))?[0]?['id']
    <img src="@{dataUri(outputs('Get_file_content')?['body'])}" alt="Test" width="500" height="600">
     
    vxiaochenmsft_1-1692672246367.png

     

    vxiaochenmsft_2-1692672256298.png

     

    Best Regards,
    Wearsky

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard