In powerapps I have a gallery with the attachments of the item, how do I remove them individually?
gallery filter:
LookUp(
'List of administrative procedures';
ID = Editable element. ID
) .Attached files;
delete button that doesn't work
Remove (
LookUp (
'List of Administrative Procedures';
ID = ElementEditable.ID
) .Attachments;
ThisItem
)
Solved! Go to Solution.
Hi @King :
Could you tell me what your datasource is?Is it SharePoint?
Do you want to delete the attachment selected by the gallery?
In theory, if you need to add or delete attachments, you should use the edit form control and submitform function.(Because the attachments control can only be used in the form).
I suggest you try these steps:
1\add an edit form(Form2)
DataSource
'List of administrative procedures'
Item
LookUp(
'List of administrative procedures';
ID = Editable element. ID
)
2\add a button and set it's OnSelect property to:
SubmitForm(Form2)
I think this link will help you a lot:
Best Regards,
Bof
HI,
It would be easier to use SharePoint and use the attachments field to do this all the heavy lifting is done by SharePoint and can add or remove as you want.
Hi @King :
Could you tell me what your datasource is?Is it SharePoint?
Do you want to delete the attachment selected by the gallery?
In theory, if you need to add or delete attachments, you should use the edit form control and submitform function.(Because the attachments control can only be used in the form).
I suggest you try these steps:
1\add an edit form(Form2)
DataSource
'List of administrative procedures'
Item
LookUp(
'List of administrative procedures';
ID = Editable element. ID
)
2\add a button and set it's OnSelect property to:
SubmitForm(Form2)
I think this link will help you a lot:
Best Regards,
Bof
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
191 | |
54 | |
42 | |
38 | |
33 |
User | Count |
---|---|
257 | |
78 | |
74 | |
71 | |
68 |