09-26-2008 06:39 AM
09-26-2008 04:34 PM
getAllTypesEntonces, una opción sencilla es extender el API Javascript que ofrece Alfresco para incluir una nueva funcionalidad.
@NotAuditable
java.util.Collection getAllTypes()
Returns:
the names of all types that have been registered with the Repository
<bean id="dictionaryScript" parent="baseJavaScriptExtension" class="miPaquete.ScriptDictionary">
<property name="extensionName">
<value>dictio</value>
</property>
</bean>Después, en tus script's podrás hacer cosas del tipo:…
dictio.obtenerTipos();
…La info completa la tienes en el wiki: http://wiki.alfresco.com/wiki/JavaScript_API#Adding_Custom_Script_APIs09-29-2008 05:17 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.