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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! 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