getItemTypeViewlet()
Overview
public string function getItemTypeViewlet(
required string itemType
, required string context
)
Returns the convention based viewlet name for the given item type and context
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| itemType | string | Yes | The item type whose viewlet you wish to get |
| context | string | Yes | The context in which the item will be rendered. i.e. 'input', 'adminPlaceholder', 'response', etc. |