掲示板

How to access liferay content across portal instances

11年前 に Ramesh J によって更新されました。

How to access liferay content across portal instances

Junior Member 投稿: 43 参加年月日: 09/07/21 最新の投稿
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?

	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.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: How to access liferay content across portal instances

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
I haven't checked you code, but what's the privilege on web content you can't view?
11年前 に Ramesh J によって更新されました。

RE: How to access liferay content across portal instances

Junior Member 投稿: 43 参加年月日: 09/07/21 最新の投稿
It's a public page and 'guest' has 'view' permissions on it. Please let me know if you are asking something else.