Foros de discusión

import LAR does not update link target ids for pages of type link to page

thumbnail
Philipp Kunz, modificado hace 12 años.

import LAR does not update link target ids for pages of type link to page

New Member Mensajes: 10 Fecha de incorporación: 3/09/11 Mensajes recientes
When I export a "site pages" into a lar and import it again on another portal instance, navigation items which are links to pages inside the "site pages" don't work anymore. As a workaround, I can browse through all the "site pages" navigation tree and save every "link to page" without editing it at all. The link target is recognized correctly as far as I can tell from the control panel. When saving those "link to pages" without having modified them, some internal ids such as linkToLayoutId or maybe groupId as well are changed and after saving, the link works correctly.

I assume it's not an export issue, because the link target page can be guessed correctly in the site pages admin portlets. Before I start investigating in fixing the code, I wanted to ask if this is a known issue and as well share the simple workaround.
sumanth m, modificado hace 12 años.

RE: import LAR does not update link target ids for pages of type link to pa

New Member Mensajes: 10 Fecha de incorporación: 10/08/11 Mensajes recientes
I have the same exact issue
I did use this layout.first.pageable[link_to_layout]=true and it did not do the trick. Upon importing the LAR this property is wiped out.
Can someone please shed some light on this?