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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nathan Keiter

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

 

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/decb0c0928a5409abfbf23a198bbf6d9%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.