Model schemas for addressing resources

Addressing a resource includes specifying the model to which the resource is associated. To do this, you specify a schema.

There is a schema defined for each model that the remote model SPI supports:

Furthermore, you need to specify the resource of the model itself, as described in the following resource addressing specification:

model-uri = "cm:" page-oid | 
            "nm:" navigationnode-oid | 
            "lm:"  [layoutnode-oid "@"] page-oid | 
            "pm:" portlet-oid  ["@" page-oid

The meanings of the syntax elements are as follows:
page-oid


navigationnode-oid


layoutnode-oid


portlet-oid


oid

Note that the model schemes are mandatory for ambiguity reasons. For example content and navigation nodes currently have got the same object IDs.
Example 1: To obtain a feed of the root node of content model, that is the content node with the unique name wps.content.root, send an HTTP GET request to the following URL:

/wps/mycontenthandler?uri=cm:oid:wps.content.root

Example 2: To obtain a feed of the layout node with the object id '_7_0830M4HTFF0SHFCQ_2BV' on the content page with the object id '_6_0830M4HTFF0SHFCQ_4D', send an HTTP GET request to the following URL:

/wps/mycontenthandler?uri=lm:oid:_7_0830M4HTFF0SHFCQ_2BV@oid:_6_0830M4HTFF0SHFCQ_4D


Parent

Syntax for addressing portal resources
Additional query parameters

 


+

Search Tips   |   Advanced Search