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}
Solved! Go to Solution.
Hi, this seems to work for me when I change the AbsoluteUri setting to Value.
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:
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:
Best regards,
Kris
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,
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,
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?
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.
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
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!.
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.
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.
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
180 | |
137 | |
96 | |
83 |