[4.1.1] Update a single relationship. (Without losing others.)

6 views
Skip to first unread message

Nathan Keiter

unread,
Dec 20, 2017, 10:20:50 AM12/20/17
to dot...@googlegroups.com

Is there any way via the Java APIs to update a single relationship without losing all the other relationships?

 

I have a content type with 14 relationships.

 

I just need to update one of them.

 

Having to retrieve and re-apply the other 13 relationships just to update one of them seems a bit silly.

 

In this example, I am just doing a simple “status” update.

 

https://gist.github.com/nkeiter/79715696e73000a3a786acb90b4e1fcd

 

As you can see, there’s a lot going on here. I’m hoping there’s a better/easier way?

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

Reply all
Reply to author
Forward
0 new messages