getReferencedView()
Obtains the view metadata of a referenced view.
Returns
The referenced view as an object.
Parameters
This API does not have parameters.
Usage example
In this example, the API returns viewMetadata
as the metadata object
of the Address
view.
const meta = {
meta: {
type: 'reference',
config: {
type: 'view',
name: 'Address'
}
}
}
const c11nEnv = createC11nEnv(meta).getPConnect();
const viewMetadata = c11nEnv.getReferencedView();
Previous topic getReferencedUser(userId) Next topic getReferencedViewPConnect(passOptions)