Fórum
How to access liferay content across portal instances
Ramesh J, modificado 11 Anos atrás.
How to access liferay content across portal instances
Junior Member Postagens: 43 Data de Entrada: 21/07/09 Postagens Recentes
Hi,
We've two portal instances (eg: portal1, portal2 - both hosted on the same liferay instance) and we've few public pages in portal1. Now we want to access those pages from portal2 in a popup. We've tried the following code and it doesn't work. Can anyone help?
The above popup works perfectly when accessed from portal1.
We've two portal instances (eg: portal1, portal2 - both hosted on the same liferay instance) and we've few public pages in portal1. Now we want to access those pages from portal2 in a popup. We've tried the following code and it doesn't work. Can anyone help?
AUI().use('aui-dialog', 'aui-io', 'event', 'event-custom', function(A) {
var dialog = new A.Dialog({
title : title,
draggable : true,
resizable : false,
destroyOnClose : true,
modal : true,
width : 800
}).plug(A.Plugin.IO, {
uri : url + "&p_p_state=exclusive"
}).render();
dialog.show();
});
The above popup works perfectly when accessed from portal1.
Hitoshi Ozawa, modificado 11 Anos atrás.
RE: How to access liferay content across portal instances
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I haven't checked you code, but what's the privilege on web content you can't view?
Ramesh J, modificado 11 Anos atrás.
RE: How to access liferay content across portal instances
Junior Member Postagens: 43 Data de Entrada: 21/07/09 Postagens Recentes
It's a public page and 'guest' has 'view' permissions on it. Please let me know if you are asking something else.