cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a action and link to the domain view

pibou_Bouvret
Elite Collaborator
Elite Collaborator

Hi

i m trying to add a link in the USER_MENU_ACTIONS to the domain listing : the navigation from one domain to another not being quite user friendly.

I naively created a new action with a link to the outcome "view_domain" : the view_domains.xhtml is indeed displayed, but the current document is still displayed (no NavigateTo occurs).

Do I have to build achain or something live that or is there a simpler way ?

1 REPLY 1

pibou_Bouvret
Elite Collaborator
Elite Collaborator

Two solutions I ve found for the link parameter of my custom action :

#{navigationContext.navigateToId('id_of_my_domain')}

or

#{navigationContext.goHome()}

Both are using "view_domains.xhtml", ex :

        <action id="link_to_domains2" label="Domaines 2" link="#{navigationContext.goHome()}" order="100" >
                <category>USER_MENU_ACTIONS</category>
                <filter-id>not_anonymous</filter-id>
                <property name="url">view_domains.xhtml</property>
        </action>
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.