choose "default start Page" when user is connecting

hello,

Is there an extension point to set the default home page ?

On Nuxeo 5.6 my user starts after connection on “Server default Domain”. Is it possible to start on “HOME>dashboard”

Using http://doc.nuxeo.com/display/KB/Changing+the+welcome+page+of+Nuxeo+DM I try Deployment Extensions :

<extension target="pages#PAGES">
<page view-id="/nxstartup.xhtml" 
action="#{startupHelper.initDomainAndFindStartupPage('Default domain','user_dashboard')}" />
</extension>

but it's still on “document mangement” tab.

thanks

0 votes

1 answers

3267 views

ANSWER



Only administrators have the 'document management' as the home page. Normal users' home is user_dashboard. Could you check ?

0 votes



Hello, My home page for every user is "Document manager tab". I don't know why (Nevertheless I use external plugins). As they are right restrictions my user are on that with name "Domaines du serveur default" with nothing to do :-(
11/28/2013

title should be "default Start page". I change it, sorry !
11/28/2013

Can you check the file nuxeo.war/WEB-INF/pages.xml on the server ? What action is for the page "/nxstartup.xhtml" ?
11/28/2013

Thank you very much for your help. In this page there are 2 nxstartup tag. First one at the top :

<page

action=&quot;#{startupHelper.initDomainAndFindStartupPage(&apos;Default domain&apos;, &apos;view&apos;)}&quot; view-id=&quot;/nxstartup.xhtml&quot;/&gt;

<page view-id="/view_domains.xhtml">

Second one (I found my studio-comment on it)

<page

action=&quot;#{startupHelper.initDomainAndFindStartupPage(&apos;Default domain&apos;, &apos;user_dashboard&apos;)}&quot; view-id=&quot;/nxstartup.xhtml&quot;/&gt;

Should the first not being there ? thanks you

11/29/2013

It looks like this bug https://jira.nuxeo.com/browse/NXP-2767 You should also read a note: "Actually, this is not enough to redirect to the dashboard as the second parameter of the "initDomainAndFindStartupPage" method will be used only in some special cases, but declaring the page with view id "/nxstartup.xhtml" and binding it to your custom action is the way to proceed to override the default behaviour."
11/29/2013

Ok, thank you very much ! So i should override the StartupHelper class :-(
12/03/2013