Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ApplicationId | Guid | A Guid uniquely identifying the application. | ||
ApplicationTypeId | Guid | A Guid identifying the type of application. All applications of the same type (i.e. wiki) will have the same value here. | ||
AvatarUrl | string | This can represent a Url to an image particular to the application or application type. | ||
Container | Container | |||
Errors | IList<Error> | |||
IsEnabled | bool | A flag representing whether the application is enabled. | ||
Url | string | A Url to the application on the site. | ||
Warnings | IList<Warning> |
Methods
HasErrors
Usage
#set($booleanResponse = $application.HasErrors())
Return Type
bool
HasWarnings
Usage
#set($booleanResponse = $application.HasWarnings())
Return Type
bool
HasWarningsOrErrors
Usage
#set($booleanResponse = $application.HasWarningsOrErrors())
Return Type
bool
HtmlDescription
This method should return the Html encoded description of the application. Possible values for “target” are “Web”, “Email”, “WebServices”, or “raw”. When “raw” is specified as the target, the description should not be encoded or have any special rendering done to it. If there is no description, an empty string should be returned.
Usage
#set($stringResponse = $application.HtmlDescription($target))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | string | Target | Required |
Return Type
string
HtmlName
This method should return the Html encoded name of the application. Possible values for “target” are “Web”, “Email”, or “raw”. When “raw” is specified as the target, the name should not be encoded.
Usage
#set($stringResponse = $application.HtmlName($target))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | string | Target | Required |
Return Type
string
ThrowErrors
Usage
$application.ThrowErrors()