cancel
Showing results for 
Search instead for 
Did you mean: 

Updating footer links via custom action-contribs.xml unsuccessful

joannadark_
Confirmed Champ
Confirmed Champ

The following actions-contrib.xml extension breaks my app and links do not get overwritten.

<component name="my.app.actions">
  <require>org.nuxeo.ecm.platform.actions</require>
    <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
      <action id="footer_contact_us" label="label.footer.contactUs" link="http://www.myapp.com/contact?id=1001&type=32" order="10" type="bare_link">
        <category>FOOTER</category>
        <properties>
          <property name="target">_blank</property>
        </properties>
      </action>
      <action id="footer_blogs" enabled="false" />
    </extension>
</component>

If I comment out the the action, footer_contact_us, then disabling footer_blogs is successful. But my app breaks when I update any footer link. Even changing the action-id to a custom name does not fix the problem. Any ideas?

1 ACCEPTED ANSWER

joannadark_
Confirmed Champ
Confirmed Champ

I found my error. I failed to convert the & character to the &amp; html code.

View answer in original post

1 REPLY 1

joannadark_
Confirmed Champ
Confirmed Champ

I found my error. I failed to convert the & character to the &amp; html code.

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.