Skip to main content
1-Visitor
May 22, 2014
Question

Grouping of DataItems


Hi Everyone, I need to create some dataItems ( say dataItem1, dataItem2, dataItem3) and group them on the dashboard. I am able to group these dataItems manually on the axeda platform but I am not finding the APIs which supports grouping of dataItems for the Artisan project. Can you please let me know the API(s) which can be used for grouping of  data Items. Any piece of code would be appreciated.

 

- Shivanna

9 replies

1-Visitor
May 22, 2014

What do you mean by grouping?  For display in the UI?  Or for some other reason?

Translate
shivanna1-VisitorAuthor
1-Visitor
May 22, 2014

Thanks for the response. I have a requiremtn to group  a set of dataitems belong to an aset, and disply this set of dataitems as a group in the UI.

Translate
1-Visitor
May 22, 2014

Howdy Shivanna,

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,

-K

Translate
shivanna1-VisitorAuthor
1-Visitor
May 22, 2014

Hi K,

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

-Shivanna.

Translate
1-Visitor
May 27, 2014

Howdy Shivanna,

Are you building an Extended UI Module or something to display this data? Or and you planning on have the Platform itself change the way the DataItems are stored?

-K

Translate