06-30-2017 08:07 AM
Is there a way to check whether a custom date property is not null in an Alfresco rule? Would like to fire an action in case the content type is the specified one and one of the custom property is not empty. Managed to show the property, but I can only select a date.
Thanks alot,
Zsolt Putnoky
09-22-2017 06:57 PM
Hi, Zsolt Putnoky!
The best practice to check if the mandatory custom field is not null is to set tag <mandatory>true</mandatory> of the -model.xml and -config.xml files. This field will be displayed with mandatory symbol *
and if user doesn`t set this property and click Save button there are will be warning "Field cannot be empty." and node cannot be save.
You can read more about it in Data Dictionary Guide in Additional Property Capabilities paragraph.
Hope it will helps!
If you have questions will be glad to answer them
Good luck!
Explore our Alfresco products with the links below. Use labels to filter content by product module.