on 07-15-2022 1:33 PM
Hi All,
So I've been using an Abstract Entity as a 'parameter' for a custom button on my main CDS Custom Entity.
Example from Behavior Definition:
action <method name> parameter <abstract entity> result [1] <custom entity projection>
Now, within my Abstract Entity, which is used as the button input parameter, there are 2 fields. Field 1 is a text input and Field 2 is a Checkbox (type : Boolean). I wish to disable/clear Field 1 if Field 2 is selected as true. Is this possible? If so, could you please guide me with the steps to follow? Thanks in advance!
Yes it is possible . You have to implement feature control described in the below link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Tisha for your response. I had already read about feature control earlier and gave it a try. Problem in my case is that the entity is 'abstract'. It's Behavior Definition can only be 'abstract' -- meaning, I cannot implement a Behavior Class wherein I could write the feature control method for this entity. This feature seems more likely in managed/unmanaged scenarios. However, do correct me if I'm missing something here.
User | Count |
---|---|
67 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.