Classification: UNCLASSIFIED Caveats: NONE Thank you all for your responses. It seems the CreateField option may not be the most straight forward approach. Your responses have given me some other ideas though.
Thanks again, Christopher Michaud Remedy System Administrator/Developer US Army Medical Information Technology Center (USAMITC) Core Technology Division - Systems Engineering Branch Office: 210.295.3589 DSN: 421-3589 -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Misi Mladoniczky Sent: Thursday, September 04, 2008 12:47 AM To: [email protected] Subject: Re: .NET API CreateField example using VBS (UNCLASSIFIED) Hi, I would use a supporte API to do something like this, namely C or Java. Most wrapper-APIs has concentrated on reading/writing data to forms, and as a second priority to read information about forms/fields/filter etc. The third priority has been to implement the creation of admin-objects in the server. One solution could be to copy the field with ARGetField from a source form, and then create a duplicate in the other forms. This should work if the field does not belong to ANY view. If the field is supposed to be visible, you will need to handle different view-ids on different forms in the ARDisplayInstanceList. Another favourite of mine is to export the form definitions to a file (def or xml), manipulate it (add your field to the forms), and finally reimport it. Best Regards - Misi, RRR AB, http://www.rrr.se Products from RRR Scandinavia: * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. * RRR|Translator - Manage and automate your language translations. Find these products, and many free tools and utilities, at http://rrr.se. > Classification: UNCLASSIFIED > Caveats: NONE > > All, > > Does anyone have a VBS example of the syntax required to use the > CreateField method, and if possible setting the properties of the new > field, using the .NET API? I need to loop through many forms and add the > same field and it seems this might be the most efficient way. > > Thank you, > > Christopher Michaud > Remedy System Administrator/Developer > US Army Medical Information Technology Center (USAMITC) > Core Technology Division - Systems Engineering Branch > Office: 210.295.3589 > DSN: 421-3589 > > > Classification: UNCLASSIFIED > Caveats: NONE > > ________________________________________________________________________ _______ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" > > -- > This message was scanned by ESVA and is believed to be clean. > > ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" Classification: UNCLASSIFIED Caveats: NONE _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

