Results 1 to 6 of 6

Thread: zmsoap & FolderActionRequest

  1. #1
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    3

    Default zmsoap & FolderActionRequest

    Hi-

    I'm running the following command from the CLI and don't seem to be getting anywhere. Can anyone point me in the right direction? Curve is my admin user. I've tried a bunch of different parameters and different orders, but keep getting same response. I'm trying to grant read access rights of a calendar owned by Curve to the user with the ZID mentioned below.

    I'm new to Zimbra and suspect my syntax is problematic, but can't find much definitive documentation. Thanks in advance!

    Pete

    [root@zimbra bin]# ./zmsoap -z -m Curve -v FolderActionRequest/action id=257 op=grant zid=1e13dd60-11a0-4e06-a791-2bcc38023462 @perm=r @gt=all
    com.zimbra.common.soap.Element$ContainerException: cannot add children to element containing text
    at com.zimbra.common.soap.Element$XMLElement.addEleme nt(Element.java:1236)
    at com.zimbra.common.soap.Element$XMLElement.addEleme nt(Element.java:1226)
    at com.zimbra.common.soap.SoapCommandUtil.processPath (SoapCommandUtil.java:540)
    at com.zimbra.common.soap.SoapCommandUtil.run(SoapCom mandUtil.java:396)
    at com.zimbra.common.soap.SoapCommandUtil.main(SoapCo mmandUtil.java:573)

  2. #2
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

    Default

    Look at Zmsoap - Zimbra :: Wiki

    Ragards.

  3. #3
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    3

    Default

    Hi ccelis5215,

    Thanks for your reply. I read through the docs but still struggling to find success. I'm trying to use the FolderActionRequest soap function to setup sharing of a public calendar. From what I've read on this function it should work, but for the life of me, I can't get the syntax correct.

    Basically I've got a user named 'Curve' with a public calendar identified by id=257. I'm trying to use soap to automagically provide other users access to Curve's public calendars. Other users would see a list of Curve's public calendars and be able to 'subscribe' to those calendars through a web page. Next time they login, they should see those calendars in their list of folders.

    Do you know if this is possible? Is it possible with FolderActionRequest? Any other ideas on how to share public calendars in Zimbra?

    Thanks!

    Pete

  4. #4
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

    Default

    Why don't just share the calendar via web UI?

    Regards.

  5. #5
    Join Date
    Mar 2012
    Posts
    8
    Rep Power
    3

    Default

    We use for administrative reasons, but in general, our users are not necessarily interacting with Zimbra through the standard web or desktop interfaces. I'm looking to present a simple list of all available public calendars and let users click on the link in order to 'subscribe' that that calendar, meaning they would see the calendar as a folder in their calendar client next time they log in.

    Thanks for the fast reply,

    Pete

  6. #6
    Join Date
    Feb 2012
    Posts
    30
    Rep Power
    3

    Default

    Quote Originally Posted by vendors@curveos.com View Post
    Hi-

    I'm running the following command from the CLI and don't seem to be getting anywhere. Can anyone point me in the right direction? Curve is my admin user. I've tried a bunch of different parameters and different orders, but keep getting same response. I'm trying to grant read access rights of a calendar owned by Curve to the user with the ZID mentioned below.

    I'm new to Zimbra and suspect my syntax is problematic, but can't find much definitive documentation. Thanks in advance!

    Pete

    [root@zimbra bin]# ./zmsoap -z -m Curve -v FolderActionRequest/action id=257 op=grant zid=1e13dd60-11a0-4e06-a791-2bcc38023462 @perm=r @gt=all
    com.zimbra.common.soap.Element$ContainerException: cannot add children to element containing text
    at com.zimbra.common.soap.Element$XMLElement.addEleme nt(Element.java:1236)
    at com.zimbra.common.soap.Element$XMLElement.addEleme nt(Element.java:1226)
    at com.zimbra.common.soap.SoapCommandUtil.processPath (SoapCommandUtil.java:540)
    at com.zimbra.common.soap.SoapCommandUtil.run(SoapCom mandUtil.java:396)
    at com.zimbra.common.soap.SoapCommandUtil.main(SoapCo mmandUtil.java:573)
    The command should be
    [root@zimbra bin]# ./zmsoap -z -m Curve -v FolderActionRequest/action @id=257 @op=grant @zid=1e13dd60-11a0-4e06-a791-2bcc38023462 @perm=r @gt=all

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •