[MarkLogic Dev General] Edit library modules through WebDAV?

Geert Josten Geert.Josten at daidalos.nl
Fri Mar 6 06:31:26 PST 2009


Why not upload the CQ files through WEBDAV just like the other modules? But you must do so with a WEBDAV server connected to the Modules database. Alternatively, just create a dedicated HTTP server for CQ.

Note that you can use the Load tab in the Modules Database administration site on your MarkLogic Server, to load libraries into your Modules database. Though, you have no control at which uri these files will be available.

I personally prefer using xdmp:eval that does document-inserts, setting the database-id option to the one of the modules database using either xdmp:modules-database() or xdmp:database('Modules') (note that the last two function calls don't have the same meaning)..

Kind regards,
geert

>


Drs. G.P.H. Josten
Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.


> From: Florent Georges [mailto:lists at fgeorges.org]
> Sent: vrijdag 6 maart 2009 15:23
> To: General Mark Logic Developer Discussion; Geert Josten
> Subject: Re: [MarkLogic Dev General] Edit library modules
> through WebDAV?
>
>
> Geert Josten wrote:
>
> > If you are using CQ for development purposes only, then there is no
> > harm creating two HTTP servers, one for development stuff
> you put on
> > file-system, and one for 'production' running on the
> Modules database.
> > One more HTTP server does not add much load to the system..
>
>   Yes, especially given that there is no production env by
> there ;-).  But then, back to my initial problem if I am
> right?  Either I install CQ on the Modules database (but I
> don't know how) or I can't edit my module files from within
> oXygen (given they have to be used by "import module".)
>
>   I am sure I am missing something obvious, but I have no clue...
>
>   Thanks for your help,
>
> --
> Florent Georges
> http://www.fgeorges.org/
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



More information about the General mailing list