Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Philipp Kunz
import LAR does not update link target ids for pages of type link to page
March 14, 2012 4:46 AM
Answer

Philipp Kunz

Rank: New Member

Posts: 9

Join Date: September 3, 2011

Recent Posts

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
RE: import LAR does not update link target ids for pages of type link to pa
March 22, 2012 7:35 PM
Answer

sumanth m

Rank: New Member

Posts: 10

Join Date: August 10, 2011

Recent Posts

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?