Reversed constrain by

4
I would like to have a possibility to constrain an object in reverse. Example 1 which is possible: A company has categories for which others can make orders. When an other company makes an order for this company it can only select the categories which are connected to this company. This works fine. But i want to have this option in reverse, example 2: A company has categories for which others can not make orders. When an other company makes an order for this company it can only select the categories which are not connected to this company. I can't make this work because constrained by only works with the first option, not with the second option. I also can not put any XPath queries on the selector because the object isn't in the database yet. Does anyone has an idea or is this just not possible?
asked
2 answers
4

Did you try using custom datasource for this?

answered
2

No. I didn't know this option was available in 2.4.5. I'll try that. Thank you for the advice.

answered