[MarkLogic Dev General] Triggers works fine when document createdusing xdmp:document-insert, but not when document loaded using webdav

Danny Sokolsky dsokolsky at marklogic.com
Thu Jul 10 09:11:59 PDT 2008


Hi Isha,

 

Is it possible that your trigger scope does not cover the root of the
WebDAV server?  To answer this:

 

* What is the document-insert URI that is successfully firing the
trigger?

* What is the root of the WebDAV server?

* What is the trigger definition?

 

Also, you say "my WebDAV Server uses the same database against which the
trigger is created".  What exactly do you mean there?  The WebDAV server
should point to the same *content* database as your document-insert is
pointing to.  The content database in turn references the triggers
database (where the triggers are stored).  

 

-Danny

 

From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of Isha
Chadha
Sent: Wednesday, July 09, 2008 9:46 PM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] Triggers works fine when document
createdusing xdmp:document-insert,but not when document loaded using
webdav

 

Hi,

 

I created a trigger which gets activated when I use
xdmp:document-insert, following all steps as mentioned in dev_guide.pdf.

 

It is working as expected.

 

But if I insert another document using Marklogic WebDav server
(Drag-n-Drop).They don't seem to be get activated...My WebDav server
uses the same database against which trigger was created.

 

Is there some other way to do this or am I missing something here?

 

 

Thanks,

 

Isha

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20080710/9a59323e/attachment-0001.html


More information about the General mailing list