Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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
Solved! Go to Solution.
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
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