MarkLogic 9 Product Documentation
view.getById

view.getById(
   view-id as (Number|String)
) as element(view.view)

Summary

This function returns the view with the specified id.

Parameters
view-id The id of the view to be returned.

Example

const view = require('/MarkLogic/views');

view.getById(5423110979916486998);
 
// Return the view with the specified id.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy