Quantcast
Viewing all articles
Browse latest Browse all 2218

Complex boolean propertyConditions for plugin.xml actions?

Is there a way to have more complex conditions before showing a context menu option?  Right now we use compositeConstraints with nested propertyConstraints and a conjoiner.  But that only gives us AND/OR for all nested constraints.  Is there a way to make a compositeConstraint of compositeContraints? So that we can use "if ( A or B ) and C, show menu option".  I tried just inserting one but it didn't work.  I got a #1034 type coercion error compositeConstraint cannot be converted to propertyConstraint.  Attached is a snippet with what I tried.


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>