Skip to end of banner
Go to start of banner

getPortalForProject

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  • No labels