Can I change the sequence of related items using the SOAP API?
Hi,
I'm trying to use SOAP to change the order of the items within a relationship field, can anybody help me with the syntax?
Regards,
Thierry Van Acker
tomtom
Hi,
I'm trying to use SOAP to change the order of the items within a relationship field, can anybody help me with the syntax?
Regards,
Thierry Van Acker
tomtom
Hi Thierry,
well, not tried but perhaps this works:
1.) Read the value of the relationship field with SOAP
2.) Change the order of the returned values as needed
3.) Update the field again with the new re-ordered list
But, Integrity might have recognized that the items in the relatoinship are the same, therefore the SOAP API might not do anything.
To force an update you may have to remove and re-apply the entries.
Not sure if this is an option for you.
What is your business case to use SOAP for sorting of relationship field entries?
Volker
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.