A Gallery entity
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| ApplicationId | Read, Write | Guid | A Guid uniquely identifying the application. |
| CommentCount | Read, Write | Int32 | Comment Count |
| ContentId | Read | Guid | A Guid uniquely identifying the content. |
| DateCreated | Read, Write | Nullable of DateTime | Date Created |
| Description | Read, Write | String | Description |
| Enabled | Read, Write | Boolean | Enabled |
| EnableRatings | Read, Write | Boolean | Enable Ratings |
| Errors | Read | IList of Error | Errors |
| ExtendedAttributes | Read, Write | ApiList of ExtendedAttribute | Extended Attributes |
| Group | Read, Write | Group | Group |
| Id | Read, Write | Nullable of Int32 | Id |
| Key | Read, Write | String | Key |
| LatestPostDate | Read, Write | Nullable of DateTime | Latest Post Date |
| Name | Read, Write | String | Name |
| Owners | Read, Write | IList of User | Owners |
| PostCount | Read, Write | Int32 | Post Count |
| Url | Read, Write | String | A Url to the application on the site. |
| Warnings | Read | IList of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $gallery.HasErrors())
JavaScript
var booleanResponse = gallery.HasErrors();
Returns
BooleanHasWarnings
Velocity
#set($booleanResponse = $gallery.HasWarnings())
JavaScript
var booleanResponse = gallery.HasWarnings();
Returns
BooleanHasWarningsOrErrors
Velocity
#set($booleanResponse = $gallery.HasWarningsOrErrors())
JavaScript
var booleanResponse = gallery.HasWarningsOrErrors();
Returns
BooleanHtmlDescription
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.
Velocity
#set($stringResponse = $gallery.HtmlDescription($target))
JavaScript
var stringResponse = gallery.HtmlDescription(target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | String | Target | Required |
Returns
StringThrowErrors
Velocity
$gallery.ThrowErrors()
JavaScript
gallery.ThrowErrors();