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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Best practice for showing icon on service calls.

sbt
13-Aquamarine
13-Aquamarine

Best practice for showing icon on service calls.

Hello,

Needed some opinion on loading the status icon based on the properties current state.

Is it performance efficient to load the status icon as part of the service output or create a state definition and only out put the value from the service and the icon is decided by the state definition.

My thinking is that the state definition is loaded once on launch and icon is rendered based on the value, instead of loading the icon as a service output on every call.

 

Thank you!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:sbt)

I believe what you mention is correct. I would use State Based Definitions so the icons would only be loaded once, vs every time you run the service.

View solution in original post

2 REPLIES 2
PaiChung
22-Sapphire I
(To:sbt)

I believe what you mention is correct. I would use State Based Definitions so the icons would only be loaded once, vs every time you run the service.

sbt
13-Aquamarine
13-Aquamarine
(To:sbt)

Thanks you!!

Top Tags