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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to find particular datashape being used in which services exactly in Thing?

MM_10159448
10-Marble

How to find particular datashape being used in which services exactly in Thing?

How to find Perticular Datashape being used in which service in Thing?

Ex-Datashape Name-'dsEventsHeader'.

I Want to trace above datashape, In how many services are used?

Please provide some workaround or solution ASAP

ACCEPTED SOLUTION

Accepted Solutions
Velkumar
19-Tanzanite
(To:MM_10159448)

Hi @MM_10159448 

 

You can use 'GetWhereUsed' service to retrieve DataShape used information.

 

// result: JSON
let result = DataShapes["DATASHAPENAME"].GetWhereUsed({
	query: undefined /* QUERY */,
	characteristicType: undefined /* STRING */,
	characteristicName: undefined /* STRING */
});

 

To use this service you need to enable Relationship Subsystem

 

/VR

 

 

View solution in original post

1 REPLY 1
Velkumar
19-Tanzanite
(To:MM_10159448)

Hi @MM_10159448 

 

You can use 'GetWhereUsed' service to retrieve DataShape used information.

 

// result: JSON
let result = DataShapes["DATASHAPENAME"].GetWhereUsed({
	query: undefined /* QUERY */,
	characteristicType: undefined /* STRING */,
	characteristicName: undefined /* STRING */
});

 

To use this service you need to enable Relationship Subsystem

 

/VR

 

 

Announcements


Top Tags