cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

 

I have created 3 screens, new screen to attach images and viewscreen to display inline attachment.

I don't want to use gallery list, instead of for the selected screen data I want to display images selectedscreen

.Selected.'{Attachments}

1 ACCEPTED SOLUTION

Accepted Solutions
TonyO
Level: Power Up

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

Hi, this seems to work for me when I change the AbsoluteUri setting to Value.

View solution in original post

16 REPLIES 16
Community Support Team
Community Support Team

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

Hi @Anonymous,

 

Could you please share a bit more about your scenario?

Do you want to display the inline attachment within the Display screen (View Screen that you mentioned)?

Further, could you please share mode details about your app's configuration?

 

If you want to display the inline attachment (image) within the Display screen, you could consider add a Gallery control within the Display form of your Display screen, then add a Image control within the Gallery control to display the image.

 

I have made a test on my side, please take a try with the following workaround:Test1.gif

 

 

Set the Items property of the Gallery control to following formula:

Gallery1.Selected.'{Attachments}'

Set the Image property of the Image control within the Gallery control to following formula:

ThisItem.AbsoluteUri

 

The test GIF image as below:Test1.gif

 

 

 

Best regards,

Kris

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

Hi Kris,

 

Thanks for your response.

I don't see '{Attachments}' property under items of Gallery control.Can you please help?

 
Gallery1.Selected.'{Attachments}'

 

Thanks Kris,

Anonymous
Not applicable

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

Hi Kris,

 

I am using SharePoint list as the data source and duplicated screen to view and edit.

in viewscreen, I want to display an inline picture/image for all attachments,

 

Thanks,

Anonymous
Not applicable

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

What can we do when the attatchment does not open on Mobile phone due to Sharepoint permission?

 

I searched a lot on this forums, a lot of answer to this questions but i did not get a conclusion for this....On web the images displays ok, but on mobile phone no....Is there a way to get only the URL of the image in a column on Sharepoint list, and then display it on PA using the URL column?

tdupton
Level: Powered On

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

I'm having the exact same issue. '{Attachments}' is not an option for me on Gallery.Selected. If I just type it in, it's not recognized.

Community Support Team
Community Support Team

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

Hi @Anonymous,

 

Do you have a BrowserScreen (which contains a Gallery control) within your app?

 

I assume that you add a Gallery control within your ViewScreen, please set the Items property of the Gallery control (within the ViewScreen) to following formula:

Gallery1.Selected.'{Attachments}'

Note: The Gallery1 represents the Gallery control within your BrowserScreen (first screen) rather than ViewScreen. On your side, you may have a Gallery control called BrowserGallery1 within your BrowserScreen, please set the Items property of the Gallery control within ViewScreen to following:

BrowserGallery1.Selected.'{Attachments}'

 

Add a Image control within the Gallery control (within the ViewScreen), then set the Image property to following formula:

ThisItem.AbsoluteUri

Best ragrds,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

Hi Kris,

 

Thanks for your response.

I am not using Gallery control, I am creating a screen from SharePoint list and duplicated screen for edit and view.

Can image control handle inline attachment view? or any approach for this.

 

Thanks Kris!.

tdupton
Level: Powered On

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

Don't mean to hijack Mike's thread, but I'm not sure the Support folks understand what is going on.  The issue is we don't have .

'{Attachments}'

as an option on Gallery.Selected.  There is '{HasAttachments}' but not Attachments.  So, we can't connect a Gallery to the Attachments Table. 

Anonymous
Not applicable

Re: How to display inline attachment for selected viewscreen Selected.'{Attachments}-sharepoint list

Here is the workaround I made it work.

insert gallery control on screen and plug to SP list and filter it to display based on ID.

hide gallery control

add a new button to open a new screen.

add a new screen and insert gallery control and now you can write based on selected gallery display image.

however, this works on the browser, not on mobile.

 

 

Helpful resources

Announcements
thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

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