Hello, I have been following a video to add attachments and a category drop down to a PowerApps Canvas Form. Its worked fine up until trying to rename the attachment. It is not recognising the Item name of the drop down. I've highlighted part of code not recognised.
ClearCollect(colAttachments,Self.Attachments);
UpdateIf(colAttachments,
!(First(Split(DisplayName,"-")).Result in colAttachTags)
{Name:drpAttachTag.Selected.Value & "-" & Name,
DisplayName:drpAttachTag.Selected.Value & "-" & DisplayName
}
UpdateIf(colAttachments,
!(First(Split(DisplayName,"-")).Result in colAttachTags)
{Name:drpAttachTag.Selected.Value & "-" & Name,
DisplayName:drpAttachTag.Selected.Value & "-" & DisplayName
}