Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
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
Solved! Go to Solution.
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
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
Volker,
Thanks , Integrity does recognise the change in sequence of IDs so it does the update
The BC is that we've developed a KANBAN board (web based - outside PTC GUI) where users can change priority by moving up/down the items
Regards,
Thierry