Re: How to create many entries in Remedy form at a time from C# code?

2009-01-09 Thread ccrashh
I'm afraid you will have to use CreateEntry...trying to do any kind of bulk insert is a royal pain, since you also have to get the NextID from arschema and increment it. The safest way is, definitely, the Remedy APIs. Steve On Jan 8, 4:52 pm, maggie2007 d90...@yahoo.com wrote: How to create

Re: How to create many entries in Remedy form at a time from C# code?

2009-01-09 Thread Carey Matthew Black
maggie2007, (or should I say d90uri ?) You did not mention what version of AR System API that your dealing with. And I am not sure what is or is not accessable from a C# perspective. However, in the v6.3 C API there is function that you may want to look at ARBeginBulkEntryTransaction.

Re: How to create many entries in Remedy form at a time from C# code?

2009-01-09 Thread Carey Matthew Black
Conny, I agree that the structure of your client program is not drastically changed by using this feature. I was commenting more on the performance part of the original question. To be clear, I am not doubting your understanding of this function. ( I have not had an opportunity to need to use it

Re: How to create many entries in Remedy form at a time from C# code?

2009-01-09 Thread Thilo Stapff
I can indeed confirm that using the BulkEntryTransaction mechanism increases performance, in a quite spectacular way, to say the least. You may expect your programs to run multiple times faster when using BulkEntryTranasaction. Thilo Carey Matthew Black wrote: Conny, I agree that the

Re: How to create many entries in Remedy form at a time from C# code?

2009-01-09 Thread maggie2007
It is Remedy 6.3. in ARSystem.NET.chm, public void BeginBulkEntryTransaction(); Initiates a bulk entry transaction. Once this call is made - all subsequent create, delete, set, merge entry operations will be batched together and all of them will be issued only when a SendBulkEntryTransaction

Re: How to create many entries in Remedy form at a time from C# code?

2009-01-09 Thread Ben Chernys
Meta-Update is a command line tool that automates imports of CSV files (amongst other things). It is very easy to implement all sorts of imports with no workflow, no staging forms. The whole idea behind Meta-Update is that ARS Administrators - and not programmers! - can harness the power of

Re: How to create many entries in Remedy form at a time from C# code?

2009-01-09 Thread Lyle Taylor
What's the problem with calling CreateEntry for each record? Code-wise, it's trivial to do if you organize your code correctly. Basically, you just have a loop that calls the same code each time with the values for the current record culminating in the CreateEntry call. Doing it for one is