Tiles Generic
Tiles Generic is a generic predefined configuration of the Tiles component, which you can use as a starting point when configuring the Tiles component. Since the generic configuration doesn’t specify any attributes, you need to edit its configuration to add them.
Binding Properties 
For information on binding the Tiles Generic configuration, see the Tiles component.
* 
For Tiles Generic, the input binding property supports the following object types: PTC.Workflow.WorkItem, PTC.ChangeMgmt.ChangeRequest, PTC.ProdMgmt.Part, and PTC.CADDocumentMgmt.CADDocument.
Configuration Properties 
For information on configuring the Tiles Generic configuration, see the Tiles component.
For more information on the structure of the configuration, see Component Configuration Structure.
For more information on sub-properties, see Sub-Properties and Container Keys.
Property Name
Description
Property Type
Default Value
Required or Optional
attributes
See Tiles for more information.
Accepts attributes of specific object types, depending on the object type of the item in the input data. Details are as follows:
For input with object types of either PTC.Workflow.WorkItem or PTC.ChangeMgmt.ChangeRequest, accepts attributes with either PTC.Workflow.WorkItem or PTC.ChangeMgmt.ChangeRequest object types.
Additionally, accepts the AffectedObjectsCount and AttachmentsCount attributes, which have the PTC.ChangeMgmt.ChangeRequest.Custom.Adapter object type.
For example, if the item in the input data has an object type of PTC.Workflow.WorkItem, this property can accept attributes with the object type PTC.Workflow.WorkItem or PTC.ChangeMgmt.ChangeRequest.
For input with object type of PTC.ProdMgmt.Part, accepts attributes with PTC.ProdMgmt.Part object type.
For input with object type of PTC.CADDocumentMgmt.CADDocument, accepts attributes with PTC.CADDocumentMgmt.CADDocument object type.
N/A
Required
Sample Configuration 
{
"attributes": {
"selectedValues": {
"data": [
{
"itemListsData": [
{
"items": [
{
"id": "Name"
},
{
"id": "Number"
}
],
"objectType": "PTC.ChangeMgmt.ChangeRequest"
}
],
"adapter": {
"instanceName": "windchill",
"thingName": "PTC.WCAdapter"
}
}
]
},
"inTailoring": true,
"filteredValues": {
"data": [
{
"itemListsData": [
{
"objectType": ""
}
],
"adapter": {
"instanceName": "",
"thingName": ""
}
}
]
}
},
"maxTileCount": {
"value": "",
"version": "1.0.0"
},
"baseConfigurationVersion": {
"value": "nav.1"
},
"implementationConfigurationVersion": {
"value": "nav.1"
}
}
Customization Services 
In addition to configuration, each component supports extending its business logic to customize the component. The business logic of each component includes overridable services in a Thing Template that you can extend and override. The overridable services for this component are detailed in the following table.
For examples of returns and parameters for each service, see Examples of Input/Output for Customization Services.
Name
Description
GetConfigurations
Returns the available configurations for the Tiles Generic implementation.
Parameters: None
Returns: JSON
GetImplementationLabel
Returns either the localized name of the component or the token that can be used to obtain the localized name. This localized name is displayed in the Mashup Builder user interface.
Parameters: None
Returns: String
GetAttributesValues
Returns a JSON with attributes and their values.
Parameters:
input (Required)– JSON in CCO format that includes the input ID for the data to be fetched from the backend system and the adapter information for the backend system.
configuration (Optional)– JSON with the final merged configuration obtained from the Tailoring Manager resource.
attributes (Required)– JSON with the list of out-of-the-box attributes.
Returns: JSON in CCO format
GetAdditionalAttributesValues
Returns a JSON with values for additional attributes.
Parameters:
input (Required)– JSON in CCO format that includes the input ID for the data to be fetched from the backend system and the adapter information for the backend system.
configuration (Optional)– JSON with the final merged configuration obtained from the Tailoring Manager resource.
attributes (Required)– JSON with the list of additional attributes.
OOTBAttributesValues (Optional)–JSON in CCO format with values of out-of-the-box attributes returned by GetAttributesValues. These values can be used to calculate values for additional attributes.
Returns: JSON in CCO format
Implementation Definition 
{
"array": [
{
"value": {
"initializationData": {
"properties": {
"supportedTypes": {
"data": [
{
"adapter": {
"thingName": "PTC.WCAdapter",
"instanceName": "windchill"
},
"itemListsData": [
{
"objectType": "PTC.ChangeMgmt.ChangeRequest",
"selectionGroupIds": [
"CR"
]
},
{
"objectType": "PTC.Workflow.WorkItem",
"selectionGroupIds": [
"WI"
]
},
{
"objectType": "PTC.ProdMgmt.Part",
"selectionGroupIds": [
"Part"
]
},
{
"objectType": "PTC.CADDocumentMgmt.CADDocument",
"selectionGroupIds": [
"CAD"
]
}
]
}
],
"allowSubsetForTailoring": true
},
"updateServiceName": "",
"addServiceName": "GetAdditionalAttributes",
"maximumSelectedAttributes": null,
"minimumSelectedAttributes": null
},
"constraints": {}
},
"elementVersion": "1.0.0",
"elementName": "PTC.Nav.DynamicForm.AttributesSelector"
},
"mandatory": true,
"key": "attributes"
},
{
"value": {
"initializationData": {
"properties": {},
"constraints": {}
},
"elementVersion": "1.0.0",
"elementName": "PTC.Nav.DynamicForm.Number"
},
"mandatory": false,
"key": "maxTileCount"
}
]
}
Was this helpful?