We want to set an object property value (of type Date) to null in an Ontology Action-type. In the rules section of the action, you can specify static values (i.e. a fixed date), but it does not allow you to specify a null value so how do we do this?
There are currently 2 ways to do this.
- This preferred way is to use a function for your action. This allows for great flexibility including setting properties to
null. The downside is that you need some familiarity with the typescript language. - You can also create a new (Date) parameter without a default value. It will automatically default to a
nullvalue. You can set it to not be visible in your form, and then simply assign the object property this new parameter value.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.