Syntax
getPortalForProject(projectKey)
Description
Retrieves a portal ID by searching for projectKey. The routine will return a null if the portal is not found.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
projectKey | String | Yes | Key of the selected project |
Return type
number
Examples
number portalId = getPortalForProject("PROJECT"); print("Return " + portalId);
Print Return 10
See also