05-15-2012 06:52 PM
<div class="yui-u flat-button">
<div class="ical-feed">
<a id="${el}-publishEvents-button" href="${page.url.context}/proxy/alfresco-feed/calendar/eventList-${page.url.templateArgs["site"]}.ics?site=${page.url.templateArgs["site"]}&format=calendar" rel="_blank">${msg("button.ical")}</a>
</div>
</div>
to <div class="yui-u flat-button">
<div class="ical-feed">
<a id="${el}-publishEvents-button" href="https://alfresco.company.local:8443/alfresco/service/calendar/eventList-${page.url.templateArgs['sit..." rel="_blank">${msg("button.ical")}</a>
</div>
</div>
(as an aside, I have looked through the various api pages on the wiki and cannot find an alternative to page.url.context for just the proto, hostname and port. Does anyone know of one (I know I can used the javascript location porperty but it does not work for alot of webscripts run by the server, as it relies on the window object. In this case I have just hardcoded it for simplicities sake.))05-16-2012 05:33 AM
05-17-2012 12:58 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.