Nuxeo Hippo Integration

32 views
Skip to first unread message

sehgal.h...@gmail.com

unread,
Feb 2, 2016, 11:08:39 AM2/2/16
to Hippo Community
Hi m trying to integrate Hippo with nuxeo as DAM. Facing a few roadblocks
1. Have written a REST implementation to get a list of images
2. Trying to call it through Hippo CMS External Document Picker base
     We have checked out exdocpickerbase-demo-1.0.x from svn.  It runs fine but m not able to understand the flow. As to how to change the source of the external files.

It would be great if you could elaborate the workflow for this and shed some light on it too.

Thanks in advance
Hitesh Sehgal

PS: You guys have been a great help.
 
 

Woonsan Ko

unread,
Feb 2, 2016, 11:26:20 AM2/2/16
to hippo-c...@googlegroups.com
Maybe I'll need to update the site documentation later when I got some time with the details about the interactions between the UIs and the ExternalDocumentServiceFacade (http://exdocpickerbase.forge.onehippo.org/apidocs/org/onehippo/forge/exdocpicker/api/ExternalDocumentServiceFacade.html) implementation (in your case, you should implement an ExternalDocumentServiceFacade invoking your REST service).

By the way there are two UI components: one is plugin itself (displaying in the document editor) and the other is the popup dialog (when clicking on browse button).
Anyway, here's some info about the interaction:
- the plugin invokes #getFieldExternalDocuments() on ExternalDocumentServiceFacade impl to list/display all the existing selected external documents in the document editor.
- the dialog invokes #searchExternalDocuments() when search button is clicked on or initial search option is turned on.
- the dialog invokes #getDocumentDescription(), #getDocumentIconLink() and #getDocumentTitle() on each item from the search result to display in the dialog.
- when somethings are selected and user clicks on OK button, the dialog invokes #setFieldExternalDocuments() to give a chance to update the document by the selection.

So, it's totally up to how you implement ExternalDocumentServiceFacade.

HTH,

Woonsan


--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.



--
w....@onehippo.com     www.onehippo.com
Boston - 745 Atlantic Ave, 8th Floor, Boston MA 02111
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466

sehgal.h...@gmail.com

unread,
Feb 2, 2016, 1:06:05 PM2/2/16
to Hippo Community
Hey Woonsan

Cheers mate!! Thanks a lot for such a precise and prompt reply.

Regards Hitesh Sehgal
Reply all
Reply to author
Forward
0 new messages