Last updated: 2020-11-16
Source: https://support.freshservice.com/support/solutions/articles/50000003071-dynamic-placeholders
These placeholders are available in only the specified page template.
Portal Home:
| |
|---|
| cards | Array of object required for cards in home page. |
| announcement | Recent Announcement Object |
| |
|---|
| cards |
| title | Title of the card |
| content | Sub text of the card |
| img | image url for the card image |
| url | Link url of the card |
| |
|---|
| announcement |
| title | Title of the announcement |
| created\_at | Announcement created date and time (needs formatting) |
| planned\_start\_date | Announcement start date and time (needs formatting) |
| user.name | Announcement created user’s name |
| user.avatar\_url | Announcement created user’s profile pic url |
Announcement List:
| |
|---|
| announcements | Array of objects |
| |
|---|
| announcements |
| id | Announcement ID |
| title | Title of the announcement |
| created\_at | Announcement created date and time (needs formatting) |
| planned\_start\_date | Announcement start date and time (needs formatting) |
| user.avatar\_url | Announcement created user’s profile pic url |
| user.name | Announcement created user’s name |
Announcement View:
| |
|---|
| id | Announcement ID |
| title | Title of the announcement |
| created\_at | Announcement created date and time (needs formatting) |
| planned\_start\_date | Announcement start date and time (needs formatting) |
| user.avatar\_url | Announcement created user’s profile pic url |
| user.name | Announcement created user’s name |
| description | Description of the Announcement |
Solutions Home
| |
|---|
| categories | Array of categories object |
| |
|---|
| categories |
| id | ID of the category |
| name | Name of the category |
| folders\_count | Number of folders inside the category |
Solutions Category Home
| |
|---|
| folders | Array of folders object available inside the selected category |
| |
|---|
| folders |
| id | ID of the folder |
| name | Name of the folder |
| articles | Array of articles available inside the folder |
| |
|---|
| articles |
| id | ID of the solution article |
| title | Title of the solution article |
| external\_url | URL of the article, (If the article is an external article |
| description | Description of the article |
Articles List
| |
|---|
| id | ID of the solution article |
| title | Title of the solution article |
| external\_url | URL of the article, (If the article is an external article |
| description | Description of the article |
| modified\_at | Last modified date and time of the article |
| other\_catg | Array of other folders available inside the same category |
| |
|---|
| other\_catg |
| id | ID of the folder |
| name | Name of the folder |
Article View
| |
|---|
| id | ID of the solution article |
| title | Title of the solution article |
| description | Description of the article |
| modified\_at | Last modified date and time of the article |
| folder.id | ID of the folder where the article is available |
| folder.name | Name of the folder where the article is available |
| category.id | ID of the category where the article is available |
| category.name | Name of the category where the article is available |
| voted\_by\_user | Boolean. Returns true if the logged in user already voted for the article |
| attachments | Array of attachment object |
Ticket Details
| |
|---|
| human\_display\_id | Display ID of the ticket |
| subject | Subject of the Ticket |
| status | Status ID of the ticket |
| status\_name | Status Name of the ticket |
| cc\_emails | Array of email IDs added in the “Add People / CC” section |
| ticket\_type | type of the ticket (“Incident” \ | “Service Request”) |
| source\_name | Source Name of the ticket |
| created\_at | Created Date and Time of the ticket |
| status\_updated\_at | Last updated date and time of the status of the ticket |
| closed\_at | Date and Time of the ticket when closed |
| description\_html | Description of the Ticket |
| requested\_catalog\_items | Array of Catalog Items (Available only for Service Request Tickets) |
| requester\_avatar | Profile Pic URL of the requester |
| requester\_id | ID of the requester |
| requester\_name | Name of the requester |
| requester\_status\_name | Status Name to be displayed to the requester |
| responder\_avatar | Profile Pic URL of the Agent assigned to the ticket |
| responder\_id | ID of the Agent assigned to the ticket |
| responder\_name | Name of the Agent assigned to the ticket |
| responder\_title | Title of the Agent assigned to the ticket |
| associated\_assets | Array of assets associated to the ticket |
| attachments | Array of attachments |
| cloud\_files | Array of cloud attachments |
| notes | Array of replies / notes of the ticket |
| notes\_count | Total number of notes / replies available for the ticket |
| |
|---|
| requested\_catalog\_items |
| item\_id | ID of the service catalog item |
| name | Name of the Service Catalog Item |
| short\_description | Short Description of the service catalog item |
| description | Description of the service catalog item |
| cost | Cost of the Item. Will be null if the cost is not visible in the portal |
| delivery\_time | Delivery time of the Item. Will be null if the delivery time is not visible in the portal |
| quantity | Requested quantity of the item |
| location | Location of the item |
| stage | Stage of the Requested Item |
| loaned | Boolean. Returns true if the Request is loaner request |
| from\_date | Loaner From date |
| to\_date | Loaner To date |
| |
|---|
| attachments |
| id | ID of the attachment |
| content\_file\_name | Name of the file attached |
| content\_content\_type | File Type of the attached file |
| content\_file\_size | Size of the attachment in bytes |
| attachment\_path | URL for the attachment |
| |
|---|
| associated\_assets |
| display\_id | ID of the asset |
| name | Name of the Asset |
Ticket List
| |
|---|
| subject | Subject of the ticket |
| human\_display\_id | Display ID of the ticket |
| display\_id | ID of the ticket |
| created\_at | Created Date and Time of the ticket |
| responder\_id | ID of the Agent assigned the ticket |
| responder\_name | Name of the Agent assigned to the ticket |
| status.id | ID of the status of the ticket |
| status.name | Name of the status of the ticket |
| source.id | ID of the source of the ticket |
| source.name | Name of the source of the ticket |