cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Tree grid advanced widget

NJ_10144761
7-Bedrock

Tree grid advanced widget

Hi,

I want to pull data from database and show on the Tree grid advanced widget. Can anyone please help me to create the service.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @NJ_10144761 ,

 

Is it any external database or Thingworx database?

 

If external DB, you can write service with SQL commands -  SELECT * FROM table_name and service output as infotable.

If Thingworx DB, you will be storing the data in Stream/Datatable. 

In that case, you can write the service as follows.

SELECT * FROM stream WHERE entity_id = "Your stream name".

 

With regards

Yedukrishnan

View solution in original post

3 REPLIES 3

Hi @NJ_10144761 ,

 

Please let me know your data storage-Stream/Valuestream/Datatable.

 

With regards 

Yedukrishnan

Stream, I am using a database thing

NJ_10144761_0-1703152733973.png

 

Hi @NJ_10144761 ,

 

Is it any external database or Thingworx database?

 

If external DB, you can write service with SQL commands -  SELECT * FROM table_name and service output as infotable.

If Thingworx DB, you will be storing the data in Stream/Datatable. 

In that case, you can write the service as follows.

SELECT * FROM stream WHERE entity_id = "Your stream name".

 

With regards

Yedukrishnan

Top Tags