AnsweredAssumed Answered

How to hide set with no content

Question asked by katarinahallberg on Sep 9, 2013
Latest reply on Sep 9, 2013 by afaust
Im using Alfresco 4.0.e, Share.

I have added a panel-bordered set in my share form configuration. The fields belonging to the set are for properties in an aspect.

The set renders just fine when the document has the aspect, there is a panel with the set label and a border surrounding the fields.

My problem is when the document does not have the aspect and therefor the fields for those properties are not rendered - then the panel with the label and the border (with no content) are rendered anyway. Is there a way to prevent this? I guess I can write my own set-template with a check if the fields are present in the form and only render the panel and the border in that case? But is there an easier and more correct way to solve it?

Katarina Hallberg