wso2 - Dashboard on WSO2DAS -


i've created gadget on wso2das, graph of can seen independently. when i'm trying insert dashboard i'm unable see it. you can see dashboard in image inserted gadget not visible. setting , zoom in icons of visible.

edit following file:

(das_folder)/repository/deployment/server/jaggeryapps/portal/extensions/components/gadget/index.js 

replace resolvegadgeturl function code below:

  var resolvegadgeturl = function (uri) {   uri = resolveuri(uri);   if (uri.match(/^https?:\/\//i))   { return uri; }   uri = uri.replace(/^(..\/)*/i, '');   if (window.location.protocol === 'https:')   { return 'https://localhost:' + server.httpsport + context + '/' + uri; }   return 'http://localhost:' + server.httpport + context + '/' + uri;   }; 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -