Our Boylan (SoftPro Select 2.x) implementation of our integration used a field under the Order Contact object called OtherType.
Do we have the equivalent field in Softpro Select 3.x?
OrderContact Other Type
-
- Posts: 91
- Joined: Wed Sep 10, 2008 3:33 pm
- Location: Raleigh, NC
- Contact:
Re: OrderContact Other Type
Yes, there is a property named OtherType. This field is exposed on the "Other" contact type only, not on all contacts.
To discover field codes like this, you can add an Other contact in the UI, put your cursor into the type field, and press Alt+F6. This will show you the field name, type, and description. The other way to see this information is to open the Fieldcode Browser within the app, click the "link" icon at the top of that window, and then put your cursor into the field. The Fieldcode Browser will then put focus on the selected field in the list and give you this same information.
To discover field codes like this, you can add an Other contact in the UI, put your cursor into the type field, and press Alt+F6. This will show you the field name, type, and description. The other way to see this information is to open the Fieldcode Browser within the app, click the "link" icon at the top of that window, and then put your cursor into the field. The Fieldcode Browser will then put focus on the selected field in the list and give you this same information.
Melissa McBerkowitz
VP of Product Strategy, SoftPro
VP of Product Strategy, SoftPro
-
- Posts: 21
- Joined: Tue Apr 15, 2014 8:40 am
Re: OrderContact Other Type
Cannot find the field in the Softpro API order object, can you please provide where in the API model (sample API code).
Such that we can read the other type for the Order Contacts.
Such that we can read the other type for the Order Contacts.
-
- Posts: 18
- Joined: Fri Oct 03, 2008 1:12 pm
Re: OrderContact Other Type
Here is how you would create an Other contact and then access the OtherType field.
IOrder order;
IOrderItem otherContact = order.CreateNew("Other");
((IList)order["Contacts"]).Add(otherContact);
otherContact["OtherType"] = "My type";
If the Other contact already exists in your order you can get it like this:
IOrder order;
IOrderItem otherContact = (IOrderItem)((IList)order["Others"])[0];
otherContact["OtherType"] = "My type";
IOrder order;
IOrderItem otherContact = order.CreateNew("Other");
((IList)order["Contacts"]).Add(otherContact);
otherContact["OtherType"] = "My type";
If the Other contact already exists in your order you can get it like this:
IOrder order;
IOrderItem otherContact = (IOrderItem)((IList)order["Others"])[0];
otherContact["OtherType"] = "My type";
Joni Hoffman
Software Developer
SoftPro
Software Developer
SoftPro