Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I have a Thing that has a service that returns an unshaped InfoTable (it's actually the result from the Aggregiate function from my previous post). I am having the service push the results into a property on the Thing called SummaryResults that is also an unshaped InfoTable and the SummaryResults property is the only non-default (default being description, name, tags, and thingTemplate) property on the Thing. I want to put these results in a bar chart.
If I do GetPropertyValues and pick All Data but just the SummaryResults property, it looks like it breaks the widget. Not only does it not render anything, but then the widget properties never give me the proeprties for the bar chart. Instead it stays stuck on the last thing I clicked. So if I click on the root and then the highlight the pie chart, it still shows the widget properties for the root.
If I do GetPropertyValues and pick All Data (returning all of the properties), the chart looks likes it's functioning OK (the widget properties still show up just fine), but I can't really pick the fields in the InfoTable (I can only select the entire InfoTable as the label field only) to get data to show up.
I thought since the chart takes an InfoTable I would just be able to hook it up to my InfoTable property. Is that not the case? Or am I using the wrong data source (e.g. use something other than GetPropertyValues or GetProprieties since it does the same thing when I select the InfoTable with that one as well))? Do I need to create a datashape that fits the results (i.e. is the problem that it's a shapeless InfoTable)?
Thanks.
Any infotable structure you want to use in the mashup environment MUST have a datashape in order to be effective. Nested infotables (a property of type infotable on a thing inclusive) will appear and be 'selectable' but will not work. You'll notice for example if you create a service that returns an unshaped infotable the mashup environment wont even present a returned data section for it. Try giving your infotable property a specific datashape, that should get you to where you want, or at least farther. Note that alot of work went into better handling of nested infotables in the next version...
Do you have an idea when version 3 will be available for download?
We plan on getting the next Beta release out to the Community Downloads area early this week.
Hi Brian, we reproduced the scenario here and it looks like right now it is not working properly for the label chart. Although it works for a Pie chart. We have put this issue in to be fixed.