I am working on making my app work with Cameron (3.0), however I am struggling a bit since there seems to be some inconsistency between what is posting in the forum related to new order api and what is in the select sdk help file that came with 3.0.
Hoping that you can help me solve these 2 parts of the puzzle and then hopefully I can ferret out the rest.
In the example that I worked on last week, this no longer works in 3.0. The Allusers property of order no longer exists and well as I can’t define ITrustee any longer.
ITrustee trustee = order.AllUsers.FirstOrDefault(t => t.FullName == Convert.ToString(myRow["Marketing Rep"]));
Also, as far as Attorneys, buyers, sellers etc. the IBuyer IAttorney does not work any longer and I saw mention of “contacttype enumeration” in the help file but no examples of how to implement that. Is that the route I need to pursue for those types of errors?
Just need some guidance as these are the types of errors I am getting
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'AllUsers' and no extension method 'AllUsers' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Attorney' and no extension method 'Attorney' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Buyer' and no extension method 'Buyer' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'DueDate' and no extension method 'DueDate' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'EscrowCompany' and no extension method 'EscrowCompany' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Lender' and no extension method 'Lender' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'ListingAgentBroker' and no extension method 'ListingAgentBroker' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Loan' and no extension method 'Loan' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Loan' and no extension method 'Loan' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'MortgageBroker' and no extension method 'MortgageBroker' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Note' and no extension method 'Note' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Number' and no extension method 'Number' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'OrderType' and no extension method 'OrderType' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'OtherContact' and no extension method 'OtherContact' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'OwningProfileID' and no extension method 'OwningProfileID' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'PolicyType' and no extension method 'PolicyType' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'ProductType' and no extension method 'ProductType' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Property' and no extension method 'Property' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'ReceivedDate' and no extension method 'ReceivedDate' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'RelatedOrders' and no extension method 'RelatedOrders' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'SalesContract' and no extension method 'SalesContract' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Seller' and no extension method 'Seller' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'SellingAgentBroker' and no extension method 'SellingAgentBroker' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'SetCustomField' and no extension method 'SetCustomField' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'SettlementAgent' and no extension method 'SettlementAgent' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'TitleCompany' and no extension method 'TitleCompany' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrder' does not contain a definition for 'Underwriter' and no extension method 'Underwriter' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrder' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrderStore' does not contain a definition for 'CreateOrder' and no extension method 'CreateOrder' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrderStore' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrderStore' does not contain a definition for 'Dispose' and no extension method 'Dispose' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrderStore' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.IOrderStore' does not contain a definition for 'SaveOrder' and no extension method 'SaveOrder' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.IOrderStore' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.OrderCreationSpec' does not contain a definition for 'BaseOrderNumber' and no extension method 'BaseOrderNumber' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.OrderCreationSpec' could be found (are you missing a using directive or an assembly reference?)
'SoftPro.OrderTracking.Client.Orders.OrderCreationSpec' does not contain a definition for 'OwningProfileID' and no extension method 'OwningProfileID' accepting a first argument of type 'SoftPro.OrderTracking.Client.Orders.OrderCreationSpec' could be found (are you missing a using directive or an assembly reference?)
The name 'IndividualOrOrganization' does not exist in the current context
The type or namespace name 'IAttorney' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'IBuyer' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'IEscrowCompany' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ILender' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'IListingAgentBroker' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ILoan' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ILot' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ILot' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ILot' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'IMortgageBroker' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'INote' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'IOther' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'IParcel' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'IProperty' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ISeller' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ISellingAgentBroker' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ISettlementAgent' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ITitleCompany' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ITrustee' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'IUnderwriter' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'Lookups' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ValidationMessage' could not be found (are you missing a using directive or an assembly reference?)
2.6 to 3.0 Migration
2.6 to 3.0 Migration
Doug Hamilton
CHICAGO TITLE
20825 SWENSON DR SUITE 300 WAUKESHA, WI 53186
P: 262-796-3808 F: 262-796-3888
EMAIL: Doug.Hamilton@fnf.com
www.wi.ctic.com | www.chicagoagent.com | www.etitle.ws
CHICAGO TITLE
20825 SWENSON DR SUITE 300 WAUKESHA, WI 53186
P: 262-796-3808 F: 262-796-3888
EMAIL: Doug.Hamilton@fnf.com
www.wi.ctic.com | www.chicagoagent.com | www.etitle.ws
-
- Posts: 1377
- Joined: Wed Jan 15, 2014 3:50 pm
- Location: Raleigh, NC
- Contact:
Re: 2.6 to 3.0 Migration
If you want to find a contact that is a Settlement Agent (for instance) that is in the order, you can do this:
In this case, the contacts collection serves as the AllUsers in your prior code.
There is no trustee contact type. You can find the list of available types if you search for ContactType Enumeration in the SDK index. Here is an example if you want to create a new Underwriter and add it to the order:
So as you can see, a person's name is somewhat buried. To find an individual by last name, get the appropriate contacts collection and inspect the People collection for the information.
Code: Select all
IEnumerable<dynamic> contacts = ((IEnumerable<dynamic>)order.GetProperty("Contacts"));
dynamic contact = contacts.FirstOrDefault(t => t.Code == "A");
There is no trustee contact type. You can find the list of available types if you search for ContactType Enumeration in the SDK index. Here is an example if you want to create a new Underwriter and add it to the order:
Code: Select all
IOrder order = GetTheIOrder();
dynamic contacts = order.GetProperty("Contacts");
// Create the Underwriter contact.
dynamic contact = order.CreateNew("Underwriter");
contact.Fax = "919-555-1212";
// Add a person to the office (optional).
dynamic person = order.CreateNew("Person");
person.LastName = "Jones";
IList people = (IList)contact.People;
people.Add(person);
// Save to the order.
contacts.Add(contact);
Bob Richards, Senior Software Developer, SoftPro