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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Binding widget according to my expression

fmanniti
10-Marble

Binding widget according to my expression

Is it possible to bind a widget to a service according to a certain expression?
For exampleI have a boolean:

if myBool = true

bind grid to serviceA

else

bind grid to serviceB

ACCEPTED SOLUTION

Accepted Solutions

Hi Fabio,

Not this way. But you can:

  • If you want exactly the same grid configuration ( same columns,... ): Have a service which calls ServiceA or ServiceB depending on myBool value as a parameterS
  • If grids should be different: Have two grids, and show/hide one or the other depending on the myBool

Best Regards,

View solution in original post

2 REPLIES 2

Hi Fabio,

Not this way. But you can:

  • If you want exactly the same grid configuration ( same columns,... ): Have a service which calls ServiceA or ServiceB depending on myBool value as a parameterS
  • If grids should be different: Have two grids, and show/hide one or the other depending on the myBool

Best Regards,

First solution works fine. Thank you

Announcements


Top Tags