whenever try to create new item naming conversion or attachment tag correctly but if change the attached file in existing SharePoint item attachment tag is not happening.
Attachment control item property
If(
SharePointForm1.Mode = FormMode.View || SharePointForm1.Mode = FormMode.Edit,
LookUp(
'EU contract approval list',
ID = ThisItem.ID
).Attachments,
colattachments
)
Attachment control On Add file property.
ClearCollect(
colattachments,
Self.Attachments
);
UpdateIf(
colattachments,
!(First(
ForAll(
Split(
DisplayName,
"-"
),
{Result: ThisRecord.Value}
)
).Result in colattachmentTags),
{
Name: drpAttchtag.Selected.Value & "-" & Name,
DisplayName: drpAttchtag.Selected.Value & "-" & DisplayName
}
);

Report
All responses (
Answers (