I am quite new to MarkLogic and I am not sure how to best deal with the challenge I have right now.
I have a CSV file exported from a table that will be ingested to Mark
You can use MLCP Transforms to transform both the content value, and the uri. It gets a hash object $content containing both. Update its values as desired, and return the updated hash object. Something like:
declare function example:transform(
$content as map:map,
$context as map:map
) as map:map*
{
let $record := map:get($content, "value")
let $uri := $record/prop1 || $record/prop2 || $record/prop3
let $_ := map:put($content, "uri", $uri)
return $content
};
You can use such MLCP transforms in marklogic-data-hub as well.
HTH!