When trying to update the multiple property types, if one property type does not have the fields that the others have, all fields are deleted. Here is an example to explain:
If I have two fields: MLS# and Status all property classes (i.e. Residential, Commercial, Rental, etc..) import/update just fine. But when I add a field that only one class has, only that property type is updated while the others are deleted.
For instance: if I have MLS#, Status, and Baths -> only Residential and Rental will update while Land and Commercial will not (and thus be deleted) b/c they do not have the 'Baths' field.
Here is my server info:
Server response headers:
HTTP/1.1 200 OK
Date: Wed, 08 Sep 2010 02:41:56 GMT
Server: Microsoft-IIS/6.0
Cache-Control:private
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
RETS-Version: RETS/1.5
RETS-Server: Interealty-RETS/1.5.247.0
RETS-Request-ID: -359989880
Transfer-Encoding: chunked
Set-Cookie: ASP.NET_SessionId=r5y45yjym0g44545p0fpkc45; path=/; HttpOnly
Set-Cookie: RETS-Session-ID=r5y45yjym0g44545p0fpkc45; path=/
Cache-Control: private, max-age=0
Content-Type: text/xml
Search URI:
http://bcs.rets.interealty.com/Search.asmx/Search
GetObject URI:
http://bcs.rets.interealty.com/GetObject.asmx/GetObject
GetMetadata URI:
http://bcs.rets.interealty.com/GetMetadata.asmx/GetMetadata
Any help would be greatly appreciated!
Comments
Comment #1
Garrett Albright commentedWhen you say the "fields will be deleted," do you mean the CCK field instances? The field themselves? Or the values in the fields?
Though either answer would be highly unusual and incorrect behavior…
Comment #2
mtokoly commentedBy deleted, I mean that if I am updating the 5 property types (residential, land, commercial, multi-family, rental) and I have one field that does not fit into the others, all of the property types that do not have those fields will be flushed (deleted).
Example (and hopefully a better one):
If I use sysid (for me this must be used as the mls# for photos to work), status, ml #, price, street number, and street name
-> all of the property types will update/create just fine
If I add fbaths (full baths) and hbaths (half baths) to the mix
-> only the residential and rental will update/create because they have those fields.
However, the land and commercial properties will be flushed because they do not have those fields.
The cck fields remain in tact, but the properties are flushed.
All and all: it acts as though I flushed the land and commercial properties. Hope this helps.