Raj
Raj

Reputation: 177

Issue with uri while loading data in database

Can I use both command -generate_uri and -uri_id {any one element name} while inserting data into database through MLCP for getting unique uri? Or can I use multiple element name (-uri_id {first element name}, {second element name}) in MLCP command. Please any suggestion.

Upvotes: 1

Views: 67

Answers (1)

grtjn
grtjn

Reputation: 20414

I don't think you can do this with command-line options, but you can manipulate the document uri with a transform. The MLCP guide provides an example transform doing just that. For details see:

http://docs.marklogic.com/guide/mlcp/import#id_17589

HTH!

Upvotes: 1

Related Questions