Loading TOC...


   cfg as element(flexrep.configuration),
   target-id as (Number|String),
   user-id as (Number|String)?
) as element(flexrep.configuration)


Set a target's user-id. This is only used for query-based targets, and is only meaningful if the FlexRep configuration also has an alerting URI associated with it. When both of these are true, documents are replicated to the target only if either the document or its properties match one of the user's alerting rules in the alerting configuration.

cfg The replication configuration.
target-id The target ID.
user-id The user ID, or an empty sequence if this is not a query-based target.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.