Salut all,
I am currently trying to find my way through the REST API and was
wondering what the best way is to assign owning groups to objects (e. g.
Contacts). I tried to put a reference of the principal group like this:
<org.opencrx.kernel.account1.Contact>
<owner><![CDATA[Standard:NVIA.Global]]></owner>
<firstName>Stan</firstName>
<lastName>Laurel</lastName>
</org.opencrx.kernel.account1.Contact>
but that doesn't work (no group assignment). Then I tried:
...
<owner>
<_item><![CDATA[Standard:NVIA.Global]]></_item>
</owner>
...
but the above throws a server side exception (HTTP 500)... although that
is the format returned when retrieving a contact object.
I was wondering if there is a similar way like the process explained for
creating user homes in the Wiki
(
http://sourceforge.net/apps/trac/opencrx/wiki/Sdk24.Rest#UserHome) for
adding owning groups to objects... I fostered a bit the Javadocs, but
couldn't find anything.
Thanks in advance and cheers,
Aleks
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
openCRX-developers mailing list
openCRX-developers@...
https://lists.sourceforge.net/lists/listinfo/opencrx-developers