AnsweredAssumed Answered

Field control for label name

Question asked by fararjeh on Dec 5, 2013
Latest reply on Dec 9, 2013 by d.evil
Hi,

I want to create field control for "cmis:document.cmis:name" and I well override insertLabel(Writer w_p, String suffix_p,OwFieldDefinition fieldDef_p, String strID_p, boolean writeLabel_p) to change label name .

But I need to determine what is type name of "cmis:document.cmis:name" , Is it from 'departmentPosition' type or 'department' type So how I can get type name in field control ?


<type name="kaad:department">
   <title>Department</title>
   <description>department</description>
   <parent>cm:content</parent>
   <properties>                   
           ……
   </properties>         
</type>   
<type name="kaad:departmentPosition">
   <title>Position</title>
   <description>Job position in the department</description>
   <parent>cm:content</parent>
   <properties>
           ……
   </properties>         
</type>   

Outcomes