Web Script: org/alfresco/components/dashlets/cmisfeed.get
Generated from /share/service/script/org/alfresco/components/dashlets/cmisfeed.get on Jun 13, 2026 9:39:03 PM

Script Properties
Id:org/alfresco/components/dashlets/cmisfeed.get
Short Name:CMIS Feed
Description:Display the contents of the CMIS intoduction text and Blog feed
Authentication:none
Transaction:none
Method:GET
URL Template:/components/dashlets/cmisfeed
Format Style:any
Default Format:html
Negotiated Formats:[undefined]
Implementation:class org.alfresco.web.scripts.DeclarativeWebScript
Extensions:[undefined]

Store: classpath:alfresco/site-webscripts

File: org/alfresco/components/dashlets/cmisfeed.get.config.xml
<feeds id="cmisfeed">
	<feed>http://blogs.alfresco.com/cmis/?feed=rss2</feed>
</feeds>
File: org/alfresco/components/dashlets/cmisfeed.get.desc.xml
<webscript>
   <shortname>CMIS Feed</shortname>
   <description>Display the contents of the CMIS intoduction text and Blog feed</description>
   <family>user-dashlet</family>
   <url>/components/dashlets/cmisfeed</url>
</webscript>
File: org/alfresco/components/dashlets/cmisfeed.get.html.ftl
<#import "/org/alfresco/utils/feed.utils.ftl" as feedLib/>
<#assign DISPLAY_ITEMS = 5>
<#assign target="_blank">

<div class="dashlet cmis">
   <div class="title">${msg("label.title")}</div>
   <div class="body scrollableList" id="${args.htmlid}-scrollableList">
   
   <div>${msg("label.body")} <a href="${msg("label.link")}" target="${target}">${msg("label.linkText")}</a></div>
   <hr/>
   <div><a href="${remote}${msg("label.repolink")}" target="${target}">${msg("label.repolinkText")}</a></div>
   <hr/>
   <div>${msg("label.blogTitle")}</div><hr/>
   
   <#if items?exists && items?size &gt; 0>
      <#list items as item>
         <#if item_index &lt; limit?number><@feedLib.renderItem item=item target=target/><#else><#break></#if>
      </#list>
   <#else>
      <em>${msg("label.notFound")}.</em>
   </#if>
   </div>
</div>
File: org/alfresco/components/dashlets/cmisfeed.get.js
<import resource="classpath:alfresco/site-webscripts/org/alfresco/utils/feed.utils.js">

// Setup Repository CMIS page URL
// Note: this is not the recommended approach - the formal endpoint api should be used
model.remote = config.scoped["Remote"].remote.getEndpointDescriptor("alfresco").endpointUrl;

// Use the default
var conf = new XML(config.script);
uri = conf.feed[0].toString();

var connector = remote.connect("http");
var re = /^http:\/\//;
if (!re.test(uri))
{
   uri = "http://" + uri;
}
model.uri = uri;
model.limit = args.limit || 999;
model.target = args.target || "_self";

model.items = getRSSFeed(uri);
File: org/alfresco/components/dashlets/cmisfeed.get.properties
label.notFound=CMIS latest news not available
label.title=Introducing CMIS (For Developers)
label.body=The CMIS specification defines a domain model and set of API bindings, such as Web Services and REST/Atom Publishing Protocol, that can be used by applications to work with one or more Enterprise Content Management repositories or systems.
label.link=http://wiki.alfresco.com/wiki/CMIS
label.linkText=More information...
label.blogTitle=Latest News
label.repolink=/api/cmis.html
label.repolinkText=Alfresco Repository Draft CMIS Implementation

Store: classpath:alfresco/webscripts

[No implementation files]