Hi Thiwanka,

A dashboard is basically a jaggery app. If you navigate to the created
dashboard ( at
UES_HOME/repository/deployment/server/jaggeryapps/<your_dashboard> ), you
will find an *index.jag* file. If you remove the below snippet from that
file, any user will be able to see the dashboard without authentication if
your gadgets doesn't require a logged in user.

<%
var user = require('/modules/user.js').current();
if (!user) {
    response.sendRedirect('/vv/login');
}
%>

Thanks,
Tanya



On Wed, Nov 12, 2014 at 10:48 AM, Thiwanka Makumburage <
thiwa...@opensource.lk> wrote:

> Hi All,
> I'm Thiwanka Makumburage from Lanka Software Foundation, a member of a
> opensource project called 'SriLanka Innovation Dashboard'. For the project
> we use WSO2 UES product and customized gadgets on top of it. As per a
> client request we want to develop some specific dashboards like following,
>
>        1) Common dashboard -
>
>    - View by all the users without authentication.
>       - Gadgets to included will be decided by the client team.
>
>        2) User dashboards
>
>    - Each user can have their own customizable dashboard with
>       authentication. (to achieve this do we need to automatically create
>       dashboards with unique name such as username, for each user at the 
> point of
>       registration? )
>       - Users will be able to save their preferences with gadgets.
>
> Could we create No.1 type of a common dashboard using UES? If possible,
> how to achieve that? Thanks!
>
> Best Regards,
> Thiwanka
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Tanya Madurapperuma

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94718184439
Blog : http://tanyamadurapperuma.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to