Euh... I'm sorry... it seems it works now :-).

Solution: First: log into CMS, second: try specific request to launch query.

Thanks anyway,

Alaric

---------- Forwarded message ----------
From: Hippo WCMTech <[email protected]>
Date: 2009/2/5
Subject: DASL in a different repository/namespace
To: Hippo CMS development public mailinglist <
[email protected]>


Hi Hippos,

I'm trying to retrieve documents from a different repository that the
default one in a CMS.

Actually I have 2 CMS called "Citizen" and "Employer", they use the same
repository but with different namespace and I would like to list some
information from Employer namespace in Citizen edition.

I added an entry in the Citizen repository.xconf:

 <repository name="citizen">
    <host>localhost</host>
    <port>60000</port>
    <rootpath>/citizen</rootpath>
    <filespath>/files/citizen.preview</filespath>
    <userspath>/users</userspath>
    <rolespath>/roles</rolespath>
    <actionspath>/actions</actionspath>
  </repository>

  <repository name="employer">
    <host>localhost</host>
    <port>60000</port>
    <rootpath>/employer</rootpath>
    <filespath>/files/employer.preview</filespath>
    <userspath>/users</userspath>
    <rolespath>/roles</rolespath>
    <actionspath>/actions</actionspath>
  </repository>

FYI: The 2 namespace are initialized with same credentials for root and
systemuser.

I used include-proto="repository:employer:" and hard coded
target="webdav://localhost:60000/employer/files/employer.preview" (because
repository:files always point on Citizen) in my DASL but the webdav
transformer always return me a <webdav:status code="401"
msg="Unauthorized"/>.

Am I on the right way ? Can you tell me how I can solved this user/passd
problem ?

Thanks in advance,

Alaric
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to