ES-DOC / esdoc-questionnaire

ES-DOC Questionnaire (webform generator for creating CIM Documents). POC: @allynt
Other
2 stars 1 forks source link

Add ability to retrieve published references. #417

Closed allynt closed 7 years ago

allynt commented 8 years ago

WHO: @bnlawrence

When adding a reference to the questionnaire, add the ability for users to see a list of already-published references to use prior to adding a new (unpublished) one.

allynt commented 8 years ago

This could be done either by 1) integrating pyesdoc into the questionnaire and using the search calls directly, 2) integrating pyesdoc into the questionnaire and keeping a local copy of the archive and just searching the local filesystem, 3) making AJAX calls to ES-DOC search.

I prefer option 3. However, this requires that Mark exposes a JSON (or XML if he prefers) endpoint for ES-DOC search.

allynt commented 7 years ago

This has been done except that the document_type is hard coded; this needs to change before closing this ticket.