Properties

Name Returns Notes Example
websites List
rootFolder RootFolder
currentWebsite Website Return the current website
currentOp CurrentOp

Methods

Name Returns Notes Example
findWebsiteById ( id ) Website
findWebsiteByName ( name ) Website
createAndPopulateWebsite ( newName, websiteTitle, themeName, contentHash ) Website
addGroupToWebsite ( group, website ) void
initDefaultApps ( websiteBranch, themeName ) void
setAppStatus ( websiteBranch, appId, enabled ) void Turn an app on or off in a website branch
websiteRootFolder ( website ) WebsiteRootFolder
websiteRootFolder ( website, b ) WebsiteRootFolder
websiteDomainName ( website ) String
websiteDomainName ( website, branch ) String
websiteUrl ( website ) String Return a fully qualified URL for the live version of the given website
websiteUrl ( website, branch ) String Return a fully qualified URL for the specified version of the given website
findApp ( w, id ) Application
findApp ( website, b, id ) Application
setSetting ( appId, name, value ) void Create or update the named app setting at the account level
setSetting ( appId, name, websiteBranch, value ) void Create or update the named setting in the give website branch
updateAllWebsiteDeps ( branch ) void
updateAllWebsiteDeps ( branch, missingOnly ) void
findMappingsForApp ( branch ) ControllerMappingList
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.