Thanks for your reply.
It will not resolve my issue
Your format permit just to get all the attachments of the first record DocListGallery
My need is the opposite. I want to get only 1 attachment for all DocListGallery.
Suppose you have 2 records on DocListGallery like this :
ID | Name | Type | Attachments
------------------------------------------------------------------
01 LICUsr Driving License Table[LicenceScreenshoot.png]
-------------------------------------------------------------------
02 StandX Stand location Table[Stand.png]
On those 2 records, i need to get the attachments to show it on a grid
In order to get Attachments and store it in a collection.
Clear(AttachmentsFilesCol);;
ForAll(
DocListGallery.AllItems As Item;
Collect(
AttachmentsFilesCol;
First(Item.Attachments)
)
)
This code is not working.
I've also tried
Clear(AttachmentsFilesCol);;
ForAll(
DocListGallery.AllItems As Item;
Collect(
AttachmentsFilesCol;
{Attachments : Item.Attachments}
)
)
Not working