Table Of Contents

aps/createCCPv2ViewForCCPv1

In CCP v1, loads a view created for CCP v2 in compliance with the single-page application format.

Used when it is necessary to load a view created for CCP v2 into CCP v1. Only CCP v1.

Table of contents

Parameters

ARGUMENT

TYPE

DESCRIPTION

viewPath

String

The path to the view.

id

String

The ‘id’ property of the created view.

Examples

require([
   "aps/createCCPv2ViewForCCPv1",
   "aps/ready!"
], function (createCCPv2ViewForCCPv1) {
   createCCPv2ViewForCCPv1('path/to/view', 'viewId');
});