留言板

Asset Publisher - Adding Organization as a Asset Type

thumbnail
Faisal K,修改在14 年前。

Asset Publisher - Adding Organization as a Asset Type

Regular Member 帖子: 138 加入日期: 08-1-9 最近的帖子
Hi All,

I am looking for Suggestions for adding Organization as an Asset Type and a possibility to display Organizations, and able to navigate to there Public Page.

Main Motive is to show the Organization be able to Search based on the Tags and categories, and wan tot display Latest Organization.

I did some sample code in Liferay-6.0 to build this and able to display the Organizations in the Asset Publisher. and used enterprise_admin_organizations(modified liferay-portlet.xml) portlet to make AssetRendererFactory and all.


waiting for your feedback,
Regards,
Faisal.K
thumbnail
Lisa Simpson,修改在14 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

Liferay Legend 帖子: 2034 加入日期: 09-3-5 最近的帖子
If I'm reading this correctly, you want to write code and are looking for "Suggestions" on how to do that. This isn't the right place to ask that. You should post in "Development" and I'm sure that someone there can help. If you're posting this as a feature request for consideration, then you are in the right place.
thumbnail
Faisal K,修改在14 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

Regular Member 帖子: 138 加入日期: 08-1-9 最近的帖子
Thanks for the Reply,

Of course I know this is where I can get Suggestions regarding feature list, I am looking for some body like you to comment about the feature and be able to get the feature part of Liferay, I can do this feature and if it is so interesting for the others then I can submit for the Liferay community, If some body else is doing the same thing I can reduce my work load.

Regards,
Faisal.K
thumbnail
Juan Fernández,修改在14 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

Liferay Legend 帖子: 1261 加入日期: 08-10-2 最近的帖子
Hi Faisal:
I think that tagging and categorizing organizations can be useful, but I wouldn't do it in the asset publisher, as I think it can be misleading for the users.
That portlet (I think) is more focused in objects like blog entries, docs, calendar events, etc.
I would tag the Organization in the Organizations section in the control panel: does it make sense to you?
thumbnail
Faisal K,修改在14 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

Regular Member 帖子: 138 加入日期: 08-1-9 最近的帖子
Hi,

I want to show the Organizations in my Home Page using Tags,categories

I saw interesting stuff, that Liferay is storing Organization as a asset and it is kept invisible, but there is no way to render it via Asset Publisher.


From Control panel we are tagging and catogerising the Organization, but we are not using these tagging any where.
thumbnail
Juan Fernández,修改在14 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

Liferay Legend 帖子: 1261 加入日期: 08-10-2 最近的帖子
Where would you like to see the organizations tags and categories?
thumbnail
Faisal K,修改在14 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

Regular Member 帖子: 138 加入日期: 08-1-9 最近的帖子
HI,

I would like to show the Organization listing in my Home Page, number of Places I want to place.
Koen Cleynhens,修改在13 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

Junior Member 帖子: 83 加入日期: 10-2-23 最近的帖子
Faisal K:
HI,

I would like to show the Organization listing in my Home Page, number of Places I want to place.


Hello,

Did you find a solution? I need something simular...
thumbnail
Faisal K,修改在13 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

Regular Member 帖子: 138 加入日期: 08-1-9 最近的帖子
Hi,

Sorry for a late reply I didn't find any solution until now.


Regards.
Faisal.K
thumbnail
Jorge Ferrer,修改在14 年前。

Moving thread

Liferay Legend 帖子: 2871 加入日期: 06-8-31 最近的帖子
Moving thread to the appropriate category
Tobias Rothen,修改在8 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

New Member 帖子: 11 加入日期: 15-6-2 最近的帖子
Hello

I know it has been a while since the last post, but I am facing the exact same problem. (on Liferay 6.2 CE)
Did somebody find a solution to that problem?
I implemented an OrganizationAssetRenderer and -Factory to display the results, modified the OrganizationLocalServiceImplementation so that the parameter "Visible" is set to true but the AssetPublisher is still not displaying any organizations.
There are corresponding AssetEntries (visible) in the database and the organizations are properly retrieved by the search portlet (FacetedSearch), just the AssetRenderer does not get any hits on Organization.

Can someone help me out here?

Best Regards and many Thanks,
Tobias
Tobias Rothen,修改在7 年前。

RE: Asset Publisher - Adding Organization as a Asset Type

New Member 帖子: 11 加入日期: 15-6-2 最近的帖子
A small Sitenote for all those who are still interested in a solution for that problem:

I was able to solve that problem in both Liferay 6.2 and Liferay 7 by implementing the following:

- Implementation of OrganizationAssetRender and OrganizationAssetRendererFactory (via Portlet)
- Service Wrapper (or ext-plugin under Liferay 6) to change OrganizationLocalServiceImpl such that the AssetEntry is set to "visible = true" instead of false
- An IndexerPostProcessor for the OrganizationIndexer using postProcessContextQuery to change the searchContext GroupIds to 0 / global (which is yet a workaround but at least displays all Organizations)

That way I am able to search and display Organizations on both the full-text search and in the AssetPublisher.