As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<config evaluator="string-compare" condition="DocumentLibrary"> <metadata-templates> <template id="customTemplate"> <line index="10" id="author">{author}</line> </template> </metadata-templates> </config>
1) If I were to add some text to indicate the field, say: Author: ${author}, then it is displayed in the reverse order as- 'XYZName Author: ' Suggestions on why this is happenning.
<line index="10" id="author">{my:author label.my_author}</line>
2) say I wanted this line to be not displayed at all if the author name is blank; how would I go about doing it? From MikeH's blog post, I realize I might need to write a custom evaluator to make this happen; but my knowledge ends there; are there any working sequence of steps that I can first try and build upon
<line index="10" id="author" evaluator="evaluator.doclib.metadata.hasAuthor"> {my:author label.my_author} </line>
<bean id="evaluator.doclib.metadata.hasAuthor" parent="evaluator.doclib.action.propertyNotNull"> <property name="property"> <value>my:author</value> </property> </bean>
3) Is it possible to have different meta-data displayed for spaces and content? If possible, any guidance will be greatly appreciated.