Untitled

 avatar
unknown
vbscript
4 years ago
372 B
3
Indexable
ClearCollect(
    colProjectAttachs;
    DataCardValue7.Attachments
);;
UpdateIf(
    colProjectAttachs;
     !StartsWith(DisplayName;"Project-") ;
    {
        Name: "Project-" & Name;
        DisplayName: "Project-" & DisplayName
    }
);;
RemoveIf(
    colFinalAttachments;
    "Project-" in DisplayName
);;
Collect(
    colFinalAttachments;
    colProjectAttachs
);;
Editor is loading...