Solved Matrix tile column
Hi,
I followed the webinar and reviewed all related forum topics, but still could not find an answer.
I am creating dashboard for custom objects. I am trying to display object’s properties in columns, but that does not seem to work.
My object is CustomService and it has text property ClusterULR.
I am trying to display ClusterURL in column by:
“_type”: “celltile/text”,
“config”: {
“display”: {
“contentTemplate”: “{{ClusterURL}}”
}
},
“title”: “Cluster URL”
I already tried mane other combinations for display, like:
“contentTemplate”: “{{properties.ClusterURL}}”
“labelTemplate”: “{{properties.ClusterURL}}”
“labelTemplate”: “{{ClusterURL}}”
This object property is clearly available, I can see it in SCOM and in Dashboard when I drill down the object.
I created custom row perspective and saved it into: C:\inetpub\wwwroot\SquaredUpv4\User\Packages\Everyone\Perspectives\rows and the reloaded as in webinar. It seems to be working fine – when I create new dashboard for this object class it adds the required column, but without any value.
Best answer
That was contentTemplate, instead of labelTemplate (together with starting property name with lower case). So proper line was:
“contentTemplate”: “{{properties.clusterURL}}”
I had to delete old dashboard and start over on order to get it working though.
Peter, Jelly and Badger – thanks a lot for your support. I really appreciate it.
For some reason you need to have the first letter in lower case. So for instance if the property is NetbiosComputerName, you need to write it like netbiosComputerName
In your case you should write it with lower case “c” in the beginning:
“labelTemplate”: “{{properties.clusterURL}}”
Hey. Sorry if I don’t understand the question right as the text format is fuzzy. I was able to create a dashboard with the exact same json you posted. What exactly isn’t working for you? Can you show us a couple of screenshots maybe?
Answer this question
To reply or comment, use the 'Comment' link on the relevant answer or question.