Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-05-2007, 12:42 PM
Intermediate Member
 
Posts: 24
Default Is is possible to use wild cards like * in GetDomainRequest

Is is possible to use wild cards like * in GetDomainRequest if I want to find domains which start with 'a'?

<GetDomainRequest>
<domain by="name">a*</domain>
</GetDomainRequest>

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-05-2007, 01:45 PM
Zimbra Employee
 
Posts: 1,434
Default I don't believe so

I don't think it supports wildcards, though I could be wrong.

Why not try it and see, and then report back here for posterity?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 01-05-2007, 02:18 PM
Zimbra Employee
 
Posts: 228
Default

GetDomainRequest doesn't support wildcards.

You'd want something like (IIRC):

<SearchDirectoryRequest types="domain" >
<query>(zimbraDomainName=a*)</query>
</SearchDirectoryRequest>

If you are paging through all domains, you can just use a "*" for the query and add limit="..." offset="..." to the SearchDirectoryRequest element. This should all be in soap-admin.txt.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.