Change all the links to open/download content that are generated by Plone so that AEMET firewall does not ban them (due to its length)
In all the links generated by Plone that need to be changed (see list below), use resolveuid if the link will be shorter than the max length allowed by the AEMET's firewall (100 chars). Otherwise replace the link by an onclick event.