Unfortunately there is no API support for DataItemGroups at the moment.
We have this on our roadmap for the V2 APIs, but it has not yet been implemented.
If you can expand on your Use Case a bit more, perhaps we can find another way to get you what your looking for? Perhaps using Associations or something similar?
Hope this helps,
Thnnks for the response.
My use case is as below.
1. A CSV file will be uploaded to the platform
2. Parse the uplaoded log file data with multiple rows and store to values of each row into data items (say dataitem1, dataitem2 & dataitem3)
3. Group these dataitems of each row into one group
4. Grouped dataitems (mentioend in #2) should be displayed in one row on the Axeda platform or each row of dataitems (mentioned in #2) should some how show they related to one group
Thanks for the response. Actually the requirement is to group a set of dataItems and display that group on the Asset dashboard. If the group is clicked it should show the dataItems.
I am trying to build using Extended UI module but I doubt think I could achieve the required result as expected.
If you are getting the data items from a CSV file AND you want to display them together... why not store the whole row in a string data item? Then you will always know they go together and you can split the string when you display in your custom UI module.
You can still store the data into individual data items, but the string data item will give you a way to maintain the relationship.
Yes, it is crude, but the current data model is time based, so unless you can trust all the times to be the same when you are looking for a set, you have to find a way to keep the relationship.
+1 to what Randy Thompson wrote above.
And if you really need to distinctively display "groups" of Data Items then you can configure Extended UI pods, each of them populated by a Custom Object which doing the grouping of selected DIs and returning formatted string for display.
Thanks for your responses and suggestions..
Customer wants the grouping of dataItems to be seen on the Asset dashboard. Since there is a restriction on grouping of dataitems on the dashboard with current version of platform, I have suggested to use extended UI solution. Once again thanks for all your responses.