Hi,
Do someone know how can to create an attachment instances with content and filegroup for send in specific instances?
I need for version sdk 2023
I attached the cod fromversion 2022.
NewAttachmentData newAttachmentData = new NewAttachmentData(args.Context,Configuration.informationNecessary.FileName, fileMerge_Necorupt);
newAttachmentData.FileGroup = new AttachmentsGroup(Configuration.informationNecessary.GropuName.Split('#')[0], Configuration.informationNecessary.GropuName.Split('#')[1]);
new DocumentAttachmentsManager(args.Context).AddAttachmentAsync(
new AddAttachmentParams() { Attachment = newAttachmentData, SkipPermissionsCheck = true, DocumentId = Convert.ToInt32(Configuration.informationNecessary.InstanceID) }
);
Thanks,
Raluca