1

Is it possible to filter MOVELET based on string from another MOVELETS using MEL code? I had tried with setMoveletFilter() of MEL but it is not suitable for my requirement. Filter criteria is on another movelet. Based on that criteria I need to show Movelets on menu.

Do we have any way to do it as my requirement?

Julian Mann
  • 6,256
  • 5
  • 31
  • 43
jaya sankar
  • 39
  • 2
  • 13

1 Answers1

3

You can use the visibleExpression element. If the expression equals false the Movelet is invisible and if the expression equals true the Movelet is visible. This expression can also be a method like strEquals

JCimbal
  • 46
  • 3
  • Hi Jaya Sankar, you can use *indexOf* which returns *-1* if the first input String does not contain the second input String. There are also *startsWith* and *endsWith* as methods. – JCimbal Sep 28 '16 at 11:51