Search found 1290 matches

by BobRichards
Wed Jun 11, 2014 11:19 am
Forum: Integration Development
Topic: How to get the active document in the Documents tab in 3.0
Replies: 9
Views: 2072

Re: How to get the active document in the Documents tab in 3

To get the active order in a client package: IWindowManager wm = GetService<IWindowManager>(); IWindowFrame activeDocument = wm.ActiveDocument; IOrder order = (IOrder)activeDocument.GetProperty("Order"); Of course, if the user has selected the Start Page (for instance), the active window w...
by BobRichards
Tue Jun 10, 2014 11:48 am
Forum: Shell (User Interface)
Topic: No way to hide the ErrorList window
Replies: 1
Views: 1186

Re: No way to hide the ErrorList window

Just to provide closure - Yes, this is just how the shell is. However, thank you for the suggestion. Perhaps it will be added in the future if there is sufficient interest.
by BobRichards
Tue Jun 10, 2014 10:13 am
Forum: Integration Development
Topic: Debuging 3.0.108220.1102
Replies: 5
Views: 2505

Re: Debuging 3.0.108220.1102

Did it work in debug mode during development for this version of code (yours and ours)?
by BobRichards
Tue Jun 10, 2014 9:45 am
Forum: Shell (User Interface)
Topic: Add button to ProForm group
Replies: 1
Views: 1729

Re: Add button to ProForm group

In the Symbols section of your CTD section, add the following lines: <Guid name="CommandSetGuid" value="f436331e-3d02-4b9b-af76-fc878517bcf9"> <ID name="OrderTab" value="4501" /> </Guid> Then you can add your own buttons: <!-- Order Ribbon --> <MenuRef id=&quo...
by BobRichards
Mon Jun 09, 2014 10:25 am
Forum: Shell (User Interface)
Topic: Debuging 3.0.108220.1102
Replies: 1
Views: 1679

Re: Debuging 3.0.108220.1102

I assume you fixed your problem. Sorry no one responded initially.
by BobRichards
Thu Jun 05, 2014 5:02 pm
Forum: Installation and Setup
Topic: 3.0 Help File Errors
Replies: 1
Views: 1742

Re: 3.0 Help File Errors

Your SDK is installed correctly. Documentation for the SDK is incomplete.
by BobRichards
Thu Jun 05, 2014 3:41 pm
Forum: Integration Development
Topic: New GUI ID for custom ribbon tab button
Replies: 1
Views: 1592

Re: New GUI ID for custom ribbon tab button

If the button is in a group that you have created, you are free to make your own.
by BobRichards
Tue Feb 04, 2014 12:10 pm
Forum: Integration Development
Topic: BuyerSeller Couple Type
Replies: 1
Views: 1611

Re: BuyerSeller Couple Type

After you set the BuyerSellerType to Joint, you will have access to the second individual.

Code: Select all

buyer = order.CreateNew("Buyer");
order.BuyerSellerType = BuyerSellerType.Joint;
by BobRichards
Sat Feb 01, 2014 4:08 pm
Forum: Integration Development
Topic: RequestedTask via API
Replies: 4
Views: 2212

Re: RequestedTask via API

Remember that an order will only accept two date types: Local or UTC. If you are parsing a DateTime from a string, you need to set it to the correct type. The fragment below will create a DateTime of Local type. DateTime date; bool success = DateTime.TryParse("1/2/2014 8:45am", null, DateT...
by BobRichards
Thu Jan 30, 2014 4:43 pm
Forum: Integration Development
Topic: BuyerSellerType
Replies: 4
Views: 2111

Re: BuyerSellerType

(Or using dynamic)

Code: Select all

IOrder order = (IOrder)GetAnOrderFromSomewhere();
dynamic buyer = order.CreateNew("Buyer");
buyer.BuyerSellerType = BuyerSellerType.Male;