IBM Connections: Adicionando Atributos Estendidos

= Criar o arquivo de labels =

Criar na shared area


 * 1) cd /customization/strings

Criar um arquivo com.EmpresaX.resources.properties

label.empresax.info0=Informa\u00e7\u00f5es Adicionais: label.empresax.info1=info1: label.empresax.info2=info2: label.empresax.info3=info3: label.empresax.info4=info4: label.empresax.info5=info5:

salve e feche o arquivo

= Colocando o arquivo de labels =

Dentro do WSAdmin

wsadmin> execfile("connectionsConfig.py") wsadmin> LCConfigService.checkOutConfig("/root/Temp",AdminControl.getCell)

Editar o arquivo config /root/Temp/LotusConnections-config.xml



Fazer o Checkin

wsadmin> LCConfigService.checkInConfig

Sincronize os nós

wsadmin> synchAllNodes

= Ajustando os arquivos de profiles =

Conectar no wsadmin.sh

wsadmin> execfile("profilesAdmin.py") wsadmin> ProfilesConfigService.checkOutConfig("/root/Temp",AdminControl.getCell)

profiles-config.xml
Em outro terminal, editar o arquivo config /root/Temp/profiles-config.xml e adicionar antes do 

      

Localizar  e alterar para

EmpresaX

profiles-types.xml
Em outro terminal, editar o arquivo config /root/Temp/profiles-types.xml e adicionar antes   do properties

read false true read false true</fullTextIndexed> read false true</fullTextIndexed> read false true</fullTextIndexed> read false true</fullTextIndexed> read false true</fullTextIndexed>

profileDetails.ftl
Em outro terminal, editar o arquivo config /root/Temp/profileDetails.ftl e adicionar antes de </@util.renderSection>   <@util.renderProperty ref="info0" nlsBundle="EmpresaX" nlsKey="label.empresax.info0" hideIfEmpty=false ; ref, dataId, dataKey, nlsKey, nlsBundle> <@util.renderNls nlsKey=nlsKey nlsBundle=nlsBundle/> <@util.renderValue ref=ref/> </@util.renderProperty> <@util.renderProperty ref="info1" nlsBundle="EmpresaX" nlsKey="label.empresax.info1" hideIfEmpty=false ; ref, dataId, dataKey, nlsKey, nlsBundle> <@util.renderNls nlsKey=nlsKey nlsBundle=nlsBundle/> <@util.renderValue ref=ref/> </@util.renderProperty> <@util.renderProperty ref="info2" nlsBundle="EmpresaX" nlsKey="label.empresax.info2" hideIfEmpty=false ; ref, dataId, dataKey, nlsKey, nlsBundle> <@util.renderNls nlsKey=nlsKey nlsBundle=nlsBundle/> <@util.renderValue ref=ref/> </@util.renderProperty> <@util.renderProperty ref="info3" nlsBundle="EmpresaX" nlsKey="label.empresax.info3" hideIfEmpty=false ; ref, dataId, dataKey, nlsKey, nlsBundle> <@util.renderNls nlsKey=nlsKey nlsBundle=nlsBundle/> <@util.renderValue ref=ref/> </@util.renderProperty> <@util.renderProperty ref="info4" nlsBundle="EmpresaX" nlsKey="label.empresax.info4" hideIfEmpty=false ; ref, dataId, dataKey, nlsKey, nlsBundle> <@util.renderNls nlsKey=nlsKey nlsBundle=nlsBundle/> <@util.renderValue ref=ref/> </@util.renderProperty> <@util.renderProperty ref="info5" nlsBundle="EmpresaX" nlsKey="label.empresax.info5" hideIfEmpty=false ; ref, dataId, dataKey, nlsKey, nlsBundle> <@util.renderNls nlsKey=nlsKey nlsBundle=nlsBundle/> <@util.renderValue ref=ref/> </@util.renderProperty> </@util.renderSection>

widget-config.xml
Em outro terminal, editar o arquivo config /root/Temp/widget-config.xml e adicionar antes de </@util.renderSection>   <widgetDef defId="Updates" ... <widgetDef defId="profileEmpresaX" url="{contextRoot}/widget-catalog/profile-details.xml?version={version}" modes="view fullpage" helpLink="{helpSvcRef}/topic/com.ibm.lotus.connections.profiles.help/c_pers_profiles.html" bundleRefId="EmpresaX">

Faça o checkin
wsadmin> ProfilesConfigService.checkInConfig wsadmin> synchAllNodes

Caso seja requerido faça a mesma modificação nos demais nós.

Reinicie o ambiente IBM Connections