COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Content Explorer - Portal => Topic started by: Kiran P on 12 Sep 2018 04:57:59 AM

Title: Custom Landing Page
Post by: Kiran P on 12 Sep 2018 04:57:59 AM
Hi,

I have a custom welcome page where we allow users to create links to their favorite reports and dashboards. Cognos analytics is integrated into .net application via custom authentication provider. I need to display the user ID/Name when they create a link. Is there a way I can get the cognos logged in user details in javascript?

Thanks,
Kiran
Title: Re: Custom Landing Page
Post by: keerthig on 18 Dec 2019 12:12:42 PM
Hi Kiran,

I am looking for exact same thing,did you figure this out?

Thanks

Keerthi
Title: Re: Custom Landing Page
Post by: dougp on 18 Dec 2019 02:08:35 PM
In 11.0.13 it looks like ...

window.__glassAppController.glassContext.profile.account.defaultName

...may give you what you need.
Title: Re: Custom Landing Page
Post by: keerthig on 18 Dec 2019 02:20:52 PM
Hi Doug,

Can you explain in more detail? Also an other thing,do you have any idea how to change recents list and add a new list for mostly viewed on welcome page?
Title: Re: Custom Landing Page
Post by: dougp on 20 Dec 2019 10:09:29 AM
I can't imagine how I could be more specific than that.  From your question, I understood you were using JavaScript.  Did I misunderstand?