CAPI Subsite
From ADF Docs
Overview
The subsite component allows you create subsites.
Example Usage
<cfscript>
// build structure with subsite data
tmp = structNew();
tmp["name"] = "testing";
tmp["displayName"] = "nice";
tmp["description"] = "This is the new
// build the object for subsites
csSubsiteObj = server.ADF.getBean("CSSubsite_1_0");
// call the subsite create method
results = csSubsiteObj.createSubsite(tmp, 1);
</cfscript>
Note: the second attribute to the "createSubsite()" method is the parentSubsiteID. It essentially, will be the place where the new subsite is created.
Return Data
The method will return true/false depending on whether or not the subsite was created successfully.