10-30-2014 11:40 AM
<@markup id="js">
<#– Your JavaScript file. You actually only need the my-dashlet-min.js file (unless in development mode), but we usually keep the original source in my-dashlet.js there so we can change it later.–>
<@script type="text/javascript" src="${url.context}/res/components/dashlets/datalists-list.js" group="dashlets"/>
</@>
<@markup id="html">
<@uniqueIdDiv>
<div class="dashlet">
<div class="title">Lites d'appels et de courriers</div>
<div class="body scrollableList">
<#if lists?size != 0>
<#list lists as l>
<div class="detail-list-item">
<div class="details">
<#assign links = l.getLinks()>
<#list links[1..1] as link><a href="${link.href}">${l.title} (${length})</a></#list>
</div>
</div>
</#list>
<div class="">
</div>
<#else>
Il n'y a pas de liste disponible
</#if>
</div>
</div>
</@>
</@>
10-30-2014 11:58 AM
<entry>
<cmisra:object>
<cmis:properties>
<cmis:propertyString queryName="cmis:path" displayName="Path" propertyDefinitionId="cmis:path">
<cmis:value>/Sites/gestion/dataLists/a006d3e3-0922-4252-95b3-6614381b1e55</cmis:value>
</cmis:propertyString>
<cmis:propertyId queryName="cmis:objectTypeId" displayName="Object Type Id" propertyDefinitionId="cmis:objectTypeId">
<cmis:value>F:dl:dataList</cmis:value>
</cmis:propertyId>
<cmis:propertyString queryName="cmis:name" displayName="Name" propertyDefinitionId="cmis:name">
<cmis:value>a006d3e3-0922-4252-95b3-6614381b1e55</cmis:value>
</cmis:propertyString>
</cmis:properties>
</cmisra:object>
</entry>
10-31-2014 02:41 PM
http://localhost:8081/alfresco/s/slingshot/datalists/lists/site/gestion/dataLists
(in my case : datalists in my Site named Gestion
<@markup id="js">
<#– Your JavaScript file. You actually only need the my-dashlet-min.js file (unless in development mode), but we usually keep the original source in my-dashlet.js there so we can change it later.–>
<@script type="text/javascript" src="${url.context}/res/components/dashlets/datalists-list.js" group="dashlets"/>
</@>
<@markup id="html">
<@uniqueIdDiv>
<div class="dashlet">
<div class="title">Lites d appels et de courriers</div>
<div class="body scrollableList">
<#if lists?size != 0>
<#list lists as l>
<div class="detail-list-item">
<div class="details">
<a href="/share/page/site/gestion/data-lists?list=${l.name}">${l.title}</a>
</div>
</div>
</#list>
<div class="">
</div>
<#else>
Il n y a pas de liste disponible
</#if>
</div>
</div>
</@>
</@>
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.