Como Remover a Mensagem “You are using Saiku Community Edition…”

Depois de ter mostrado aqui Como Remover a Tela de Apresentação do Saiku (Splash) na Versão 5.x do Pentaho, agora vou mostrar como remover a mensagem “You are using Saiku Community Edition…” da tela deste excelente visualizador OLAP.

saiku_3_workspace

Pare o Pentaho BIServer

Edite o arquivo /biserver-ce/pentaho-solutions/system/saiku/ui/saiku.min.js

Procure por:

Upgrade=Backbone.View.extend({tagName:”div”,events:{},initialize:function(a,b){this.workspace=a.workspace},daydiff:function(a,b){return Math.round((b-a)/864E5)},render:function(){var a=this,b=new License;Settings.BIPLUGIN5?b.fetch_license(“api/api/license”,function(b){if(“error”!==b.status&&”trial”!=b.data.get(“licenseType”))return this;”error”!==b.status&&”trial”===b.data.get(“licenseType”)?(b=parseFloat(b.data.get(“expiration”)),a.remainingdays=a.daydiff(new Date,new Date(b)),$(a.workspace.el).find(“.upgrade”).append(“\x3cdiv\x3e\x3cdiv id\x3d’uphead’ class\x3d’upgradeheader’\x3eYou are using a Saiku Enterprise Trial license, you have “+
a.remainingdays+” days remaining. \x3ca href\x3d’http://www.meteorite.bi/saiku-pricing’\x3eBuy licenses online.\x3c/a\x3e\x3c/div\x3e”)):$(a.workspace.el).find(“.upgrade”).append(“\x3cdiv\x3e\x3cdiv id\x3d’uphead’ class\x3d’upgradeheader’\x3eYou are using Saiku Community Edition, please consider upgrading to \x3ca target\x3d’_blank’ href\x3d’http://meteorite.bi’\x3eSaiku Enterprise\x3c/a\x3e, or entering a \x3ca href\x3d’http://meteorite.bi/products/saiku/sponsorship’\x3esponsorship agreement with us\x3c/a\x3e to support development. \x3ca href\x3d’http://meteorite.bi/products/saiku/community’\x3eOr contribute by joining our community and helping other users!\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e“);

Concentre-se apenas no texto destacado

Edite para que fique assim:

Upgrade=Backbone.View.extend({tagName:”div”,events:{},initialize:function(a,b){this.workspace=a.workspace},daydiff:function(a,b){return Math.round((b-a)/864E5)},render:function(){var a=this,b=new License;Settings.BIPLUGIN5?b.fetch_license(“api/api/license”,function(b){if(“error”!==b.status&&”trial”!=b.data.get(“licenseType”))return this;”error”!==b.status&&”trial”===b.data.get(“licenseType”)?(b=parseFloat(b.data.get(“expiration”)),a.remainingdays=a.daydiff(new Date,new Date(b)),$(a.workspace.el).find(“.upgrade”).append(“\x3cdiv\x3e\x3cdiv id\x3d’uphead’ class\x3d’upgradeheader’\x3eYou are using a Saiku Enterprise Trial license, you have “+
a.remainingdays+” days remaining. \x3ca href\x3d’http://www.meteorite.bi/saiku-pricing’\x3eBuy licenses online.\x3c/a\x3e\x3c/div\x3e”)):$(a.workspace.el).find(“.upgrade”).append(“\x3cdiv\x3e“);

Inicie o BI Server e pronto!

saiku_sem_imagem2

Até a próxima!

1 comentário em “Como Remover a Mensagem “You are using Saiku Community Edition…””

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *