Hi Quentin,

Also feel free to report a jira issue at http://jira.xwiki.org to suggest 
adding this feature if you feel the need is a generic need.

Thanks
-Vincent

On 9 Sep 2015 at 11:48:42, Marius Dumitru Florea 
(mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) wrote:

> Hi Quentin,
>  
> There's no such option in the import UI but a developer can add it
> relatively easy:
> * add a "new" link to the "select none, all" options using JavaScript
> * catch the click event on the "new" link and send an AJAX request to
> a wiki page, passing the selected documents
> * in that wiki page check which of the received documents exist and
> return the list back
> * in the AJAX request handler unselect the documents specified in the
> response (i.e. the documents that exist)
>  
> This is surely not the best solution but it should work.
>  
> Hope this helps,
> Marius
>  
>  
> On Wed, Sep 9, 2015 at 11:15 AM, qvendeville
> wrote:
> > Hello,
> >
> > Is it possible not to import an existing document in a XAR Package ?
> > because I have 350 documents in that package and i really don't want to
> > check if every document exists...
> >
> > Regards,
> >
> > Quentin
> >
> >
> >
> > --
> > View this message in context: 
> > http://xwiki.475771.n2.nabble.com/Do-not-import-existing-document-tp7595939.html
> > Sent from the XWiki- Users mailing list archive at Nabble.com.
> > _______________________________________________
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to