RCS
RCS

Reputation: 1432

Is there any tool to view/edit/delete document of Marklogic

Is there any tool to view/edit/delete document of Marklogic, like Mongo Management Studio for MongoDb?

Upvotes: 2

Views: 549

Answers (6)

Mads Hansen
Mads Hansen

Reputation: 66783

MarkLogic and oXygen support WebDAV.

If you are editing XML documents, oXygen Author provides a "word-like" WYSIWYG editor for a variety of XML vocabularies.

oXygen offers CSS-based, out-of-the-box visual editing support for a number of important XML documentation frameworks (DITA, DocBook, TEI, XHTML). Also, if you are planning to use other types of XML documents, an API is available for customizing oXygen.

enter image description here enter image description here

Upvotes: 0

Daniele
Daniele

Reputation: 1063

Marklogic comes with the QueryConsole, usually accessible at http://yourHost:port/qconsole/

To view a document you can use fn:doc("uri of the document")

Have a look at the functions described here: https://docs.marklogic.com

Upvotes: 0

DALDEI
DALDEI

Reputation: 3732

Built into MarkLogic is support for WebDav. You can create a WebDav App Server in the admin console and then any WebDav client can access documents. https://docs.marklogic.com/guide/admin/webdav There are limits to what the webdav protocol supports but this does give basic integration at the document level.

The MarkLogic extension to xmlsh includes a Java GUI providing a basic tree browser for ML, including open, copy, paste, new folder, import, drag&drop.

It is very basic and doesnt work for all types and sizes of documents or handle all the complexities of permissions, collections, property fragments etc. http://www.xmlsh.org/ModuleMarkLogic

The command is undocumented, but comes with the MarkLogic extension and uses the same configuration variables as put, get, invoke etc.

$ xmlsh
$ import module ml=marklogic
$ MLCONNECT=xcc://user@host:8000
$ ml:mlui

enter image description here

Upvotes: 4

Frank Rubino
Frank Rubino

Reputation: 86

As DALDEI mentioned webdav is a solution for this. I have been successful with third party webdav file system browsers. Panic Transmit on macos and BitKinex on win are two that have worked well for me.

The MarkLogic model is document based but directories as such are only one way to think about how to organize your data. After many years of app development on MarkLogic I tend to lean most heavily on collections when thinking about how to constrain queries across sets of documents.

One thing that may not be obvious when using webdav app servers is that you will need to set automatic directory creation to true on your target database.

Upvotes: 1

grtjn
grtjn

Reputation: 20414

QConsole as mentioned by the other comes out of the box with MarkLogic, I'd look at that first. It gives you a lot of freedom to do whatever you want.

However, if you are looking for more of a file-browser kind of tool, you might be interested in the Narthex tool: http://developer.marklogic.com/code/narthex. A little old, but I expect it should still work. Code is on Github, so you can file tickets and fork if you need extra features.

HTH!

Upvotes: 0

The main way would be to use the Query Console very much like you would use a console in an RDBMS to manage content. But instead of SQL, you are using xQuery.

Overview: https://docs.marklogic.com/guide/qconsole/walkthru

Upvotes: 1

Related Questions