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
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!
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.