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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Tree grid advanced widget

NJ_10144761
9-Granite

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.

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

Announcements


Top Tags