Hi, We are using super-tenant registry to load the dashboards in other tenants. We are using following code.
superTenantRegistry = new carbon.registry.Registry(server, { system: true, tenantId: carbon.server.superTenant.tenantId }); Thanks. Regards, Megala On Wed, Jun 1, 2016 at 10:47 PM, Chandana Napagoda <chand...@wso2.com> wrote: > Hi, > > How are you sharing the asset between all the tenants? Is it a public > visible asset? > > Regards, > Chandana > On Jun 1, 2016 10:08 PM, "Megala Uthayakumar" <meg...@wso2.com> wrote: > >> Hi All, >> >> We are developing a shared dashboard feature for Dashboard Server. This >> feature allows the dashboard created from super-tenant to be shared among >> all the tenants. We have observed following behavior when developing this >> feature. >> >> When we create a shareable dashboard in super-tenant mode and if we >> immediately login to portal as a different tenant-user. Shared database is >> not visible in the tenant mode. We were able to see the shared dashboard in >> other tenants after we restart the server. >> >> However after we disable registry caching, we were able to see the shared >> dashboard in tenant mode immediately after login without requiring to >> restart the server. Is it possible to get the same type of behavior without >> disabling registry cache? >> >> Thanks >> >> Regards, >> Megala >> -- >> Megala Uthayakumar >> >> Software Engineer >> Mobile : 0779967122 >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> -- Megala Uthayakumar Software Engineer Mobile : 0779967122
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev