URL-LINK : Action button to go to an other application in Nuxeo UI

Hello,

I would like to know if it's possible to connect nuxeo with an other website with an url link.

As exemple: create an action button and click on it will open the other website url (a href) ?

thank you

0 votes

1 answers

1479 views

ANSWER



Hi,

Yes it's possible. The default Nuxeo footer is using actions to display links to other websites.

Since 5.6, there's a notion of “types” on actions, the one that you'd like to use is “bare_link”. Not all templates displaying actions have been migrated to use this notion of type, so depending on how your actions are displayed, this type may still be implicit, depending on the action category.

Documentation is available here: http://doc.nuxeo.com/x/YIao

1 votes



thank you very much !
04/10/2013

Thank you, it works with FOOTER category :

   <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
        <action id="google"
          link="http://www.google.com"
          label="label.google" order="50" type="bare_link">
          <category>FOOTER</category>
          <properties>
            <property name="target">_blank</property>
          </properties>
        </action>
    <extension>

(but) I failed with changing "FOOTER" to "USER_MENU_ACTIONS". Is it possible ? thanks

04/10/2013

no not right now, the template at /incl/nuxeo_header_template.xhtml is still not migrated, so you'll have to override it to get a similar behaviour
04/10/2013

Ok thanks!
04/17/2013