Search found 97 matches

by JDavis
Tue Aug 08, 2017 9:38 pm
Forum: Integration Development
Topic: Update Order in Server package
Replies: 2
Views: 790

Re: Update Order in Server package

John, Are we still on track to have the multi-user support for orders available this year? And when you say "multi-user" I'm assuming you mean that if the order is open in multiple clients, including server packages, that any saves will prompt the diffgram to be sent to all the other clien...
by JDavis
Tue May 16, 2017 7:56 pm
Forum: Integration Development
Topic: Publishing a document from the API
Replies: 8
Views: 1407

Re: Publishing a document from the API

Did you ever get any more info on this topic? We would like to do the same thing - render documents via API by not going to the documents tab.
by JDavis
Tue Sep 13, 2016 4:18 pm
Forum: Integration Development
Topic: PrintJobHandler with Possible Threading Issue
Replies: 14
Views: 2369

Re: PrintJobHandler with Possible Threading Issue

John, turns out our fix with the BeginInvoke wasn't rolled out correctly to the client machines - once it was rolled out it appears that this has fixed the issue with no errors being logged for the past few days.

Thanks.
by JDavis
Thu Sep 08, 2016 1:26 pm
Forum: Integration Development
Topic: PrintJobHandler with Possible Threading Issue
Replies: 14
Views: 2369

Re: PrintJobHandler with Possible Threading Issue

Any sample app would simply be a PrintJobHandler class that implements OnProcess method, gets the IOrder off of the IPrintJob properties and calls a method to add a new RequestedTask to the order and assign a note to the newly created RequestedTask. What exactly do you need for a "stand alone s...
by JDavis
Wed Sep 07, 2016 7:30 pm
Forum: Integration Development
Topic: PrintJobHandler with Possible Threading Issue
Replies: 14
Views: 2369

Re: PrintJobHandler with Possible Threading Issue

Stack Traces and exceptions logged on on page 1 of this thread. Most are of this ilk: <stackTrace> at System.Windows.Forms.BindingSource.get_Count() at System.Windows.Forms.CurrencyManager.get_Count() at System.Windows.Forms.BindingSource.ParentCurrencyManager_CurrentItemChanged(Object sender, Event...
by JDavis
Wed Sep 07, 2016 4:32 pm
Forum: Integration Development
Topic: PrintJobHandler with Possible Threading Issue
Replies: 14
Views: 2369

Re: PrintJobHandler with Possible Threading Issue

We used the following in our print job handler to call the method that adds requested tasks to the order. We are still getting the same kinds of errors. Was this the method that you suggested John? GetService<IShell>().BeginInvoke((MethodInvoker)delegate { CreateOrderTask(order, itemToPrint); }, nul...
by JDavis
Wed Aug 24, 2016 4:16 pm
Forum: Integration Development
Topic: PrintJobHandler with Possible Threading Issue
Replies: 14
Views: 2369

Re: PrintJobHandler with Possible Threading Issue

Thanks, I'll give that a try, I knew BeginInvoke was needed, but didn't know on what object to get it from.
by JDavis
Wed Aug 24, 2016 12:14 pm
Forum: Integration Development
Topic: PrintJobHandler with Possible Threading Issue
Replies: 14
Views: 2369

Re: PrintJobHandler with Possible Threading Issue

And I guess my next question would be, if it is indeed on another thread, how can we make the change to the order back on the UI context if it is not being passed into the PrintJobHanlder?
by JDavis
Wed Aug 24, 2016 12:13 pm
Forum: Integration Development
Topic: PrintJobHandler with Possible Threading Issue
Replies: 14
Views: 2369

Re: PrintJobHandler with Possible Threading Issue

We simply call that method from the PrintJobHandler.OnProcess method, passing in the IOrder that is on the IPrintJob. We do not start up any new threads - does Select itself start up the PrintJobHandlers on separate threads?
by JDavis
Tue Aug 23, 2016 9:21 pm
Forum: Integration Development
Topic: PrintJobHandler with Possible Threading Issue
Replies: 14
Views: 2369

Re: PrintJobHandler with Possible Threading Issue

This is the method that is called in our PrintJobHandler. PrintJobTask is one of our objects to set up the defaults on the Order.RequestedTask. All exceptions shown above are what we have logged. public static Guid CreateRequestedTaskForPrintJobTask(IOrder order, PrintJobTask task) { Guid taskId = G...