AnsweredAssumed Answered

Web View Dashlet - 3.2

Question asked by jtp on Jul 8, 2009
Latest reply on Aug 4, 2009 by mikeh
I love the web view option in Share, it's great for letting me integrate some of my other tools into one interface.  I do have one problem however.  I tried adding an https:// page to webview, and Share automatically prefixes the link with http://, so it ends up as http://https://www.mylink.com.  It looks like the script to change is C:\Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets\webview.get.js
and the section to change is

var connector = remote.connect("http");
var re = /^http:\/\//;
if (!isDefault && !re.test(uri))
{
   uri = "http://" + uri;
}
Can anyone tell me how to modify that JS file to allow for the option of https web views?

Outcomes