掲示板

How to show Asset publisher content in separate page?

11年前 に Rupesh Chotai によって更新されました。

How to show Asset publisher content in separate page?

Regular Member 投稿: 163 参加年月日: 11/03/23 最新の投稿
Hi All,
I have created Asset publisher with two different types of assets - 1. Web Content Display and 2. Basic Document type.
After clicking on "Read more>>" for each item in Asset publisher portlet I want to display the content in separate page. (currently it loads the details in the same portlet)

Any idea, how to achieve this?

Thanks in advance for suggestions and replies.
thumbnail
11年前 に Nono Carballo によって更新されました。

RE: How to show Asset publisher content in separate page?

New Member 投稿: 15 参加年月日: 12/06/25 最新の投稿
Select "View in a specific portlet" under "Asset link behavior" in the portlet configuration form.

HTH

Nono

Rupesh Chotai:
Hi All,
I have created Asset publisher with two different types of assets - 1. Web Content Display and 2. Basic Document type.
After clicking on "Read more>>" for each item in Asset publisher portlet I want to display the content in separate page. (currently it loads the details in the same portlet)

Any idea, how to achieve this?

Thanks in advance for suggestions and replies.
11年前 に Rupesh Chotai によって更新されました。

RE: How to show Asset publisher content in separate page?

Regular Member 投稿: 163 参加年月日: 11/03/23 最新の投稿
Hi Nono,
Thanks for reply.

I have selected "View in a specific portlet" under "Asset link behavior" in the portlet configuration form. Still details are displayed in asset publisher portlet only.
I explored this WIKI page. This shows Web Content display in different page however that "display page" has to have Asset publisher portlet in it. And this setting of "Default Display Page" can be done for web content display only. The asset publisher portlet I have on page contains mixed type of assets i.e. Web Content display and Basic Document type. So for 'Document Type' of asset there is no setting of Default Display Page.

Can there be any custom solution for this kind of problem?
thumbnail
11年前 に Nono Carballo によって更新されました。

RE: How to show Asset publisher content in separate page?

New Member 投稿: 15 参加年月日: 12/06/25 最新の投稿
Well, when "Asset link behavior" is active ("Show in Context" appears instead of "Read more") the asset publisher calls assetRenderer.getURLViewInContext(...) for getting the URL to show the full content. Is the asset renderer registered for the asset you are interested in the responsible in return a proper URL, for example, the asset renderer for the JournalArticle asset is in the file JournalArticleAssetRenderer.java, and the method getURLViewInContext returns noSuchEntryRedirect at the end.

HTH

Nono

Rupesh Chotai:
Hi Nono,
Thanks for reply.

I have selected "View in a specific portlet" under "Asset link behavior" in the portlet configuration form. Still details are displayed in asset publisher portlet only.
I explored this WIKI page. This shows Web Content display in different page however that "display page" has to have Asset publisher portlet in it. And this setting of "Default Display Page" can be done for web content display only. The asset publisher portlet I have on page contains mixed type of assets i.e. Web Content display and Basic Document type. So for 'Document Type' of asset there is no setting of Default Display Page.

Can there be any custom solution for this kind of problem?
11年前 に Rupesh Chotai によって更新されました。

RE: How to show Asset publisher content in separate page?

Regular Member 投稿: 163 参加年月日: 11/03/23 最新の投稿
Yes, asset render is registered for the asset. Thats why when I make it the default display page of web content display he re-directs to that page. However i have to have the asset publisher instance present in that - which i dont want there. I just want a simple page showing the details of web content display without having the asset publisher instance on that page.
11年前 に Rupesh Chotai によって更新されました。

RE: How to show Asset publisher content in separate page?

Regular Member 投稿: 163 参加年月日: 11/03/23 最新の投稿
Hi All,
Any suggestion on this please?

I observed that showing asset details in the same portlet causes performance issue also, since it is going to refresh the whole page. And I have 10 different portlets on this page which leads to calls to server side and not a good user experience.