Good work André! /Misi
> Hi Misi and listers > > I finally found a set of paraters to pass in .NET: > > BMC.ARSystem.Attachment attach = new > BMC.ARSystem.Attachment(); > attach.Name = " "; // single space required. > null raises an exception. Empty string causes an ARSystem error > attach.Content = new byte[0]; // null also > raises an exception > fieldValueList.Add(fieldID, attach); > m_server.SetEntry(SchemaName, entryId, > fieldValueList); > > Thanks > > André Delcroix > > On 15/06/2016 16:33, Misi Mladoniczky wrote: >> Hi, >> >> Normally you would just pass a NULL to the specific attachment slots Field >> ID... >> >> Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) >> >> Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13): >> * RRR|License - Not enough Remedy licenses? Save money by optimizing. >> * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. >> Find these products, and many free tools and utilities, at http://rrr.se. >> >>> Hi listers, >>> >>> does someone know how to delete an attachment from a Remedy .NET API >>> program? >>> I can add one with the SetEntry method, but I do not find which parameter >>> to >>> pass for delete. >>> I build a BMC.ARSystem.FieldValueList object, add a BMC.ARSystem.Attachment >>> to >>> the list, but I dot know how to specify a Name and Content to the >>> attachment >>> in order to perform a Delete. >>> >>> Thanks >>> >>> André Delcroix >>> >>> _______________________________________________________________________________ >>> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org >>> "Where the Answers Are, and have been for 20 years" >>> >> _______________________________________________________________________________ >> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org >> "Where the Answers Are, and have been for 20 years" >> > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > "Where the Answers Are, and have been for 20 years" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"