Jump to content
We've recently updated our Privacy Statement, available here ×

Change Jasperserver 3.7.1 default homepage by role


twistaround79

Recommended Posts

i am having a difficult time changing the homepage based on user role in jasperserver 3.7.1.

I am able to succesfully change the homepage to a different flow, for example, i can use the following code to get the admin accounts homepage to default to the queryFlow...

<bean id="homePageByRole" class="java.util.ArrayList">
        <constructor-arg>
            <list>
                <value>ROLE_ADMINSTRATOR|redirect:/flow.html?_flowId=queryFlow</value>
                <value>ROLE_USER|redirect:/flow.html?_flowId=searchFlow</value>
            </list>
        </constructor-arg>
    </bean>

 

However, i want a user to login and have an actual report show up as the default landing page. I tried using the reports URL i, but that doesnt seem to work. See the code below.

<value>ROLE_USER|redirect:/flow.html?_flowId=viewReportFlow&ndefined=&standAlone=true&ParentFolderUri=%2Ftest_folder&reportUnit=%2Ftest_folder%2Flogon_param_test</value>

 

I have run thru this tutorial several times, but i am unable to determine the URI in jasperserver 3.7.1 it doesnt look the same as the URI in the tutorial. Any help would be greatly appreciated.

http://www.jaspersoft.com/how-set-role-based-jasperserver-home-pages

 

thanks!

Dan

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...