« Back

How to use the new Global Scope

Company Blogs October 26, 2010 By Juan Fernández Staff

Hi all:

In order to share content accross organizations and communities, we have included a new concept in Liferay 6.0: the global scope

 

 The Global Scope is a place for data that is common to all organization, communities and users of the portal. It does not have associated pages and can only be accessed from the control panel.

 

We have detected the most common use cases for the Global Repository, and this is an example of the most usual use cases:

 

1 - Shared Web Content templates and structures

After creating a template or a structure in the global scope you can select them in all the other scopes (organizations and communities) of your company.

 

To achieve this you just have to click on "advanced search" in the popup that appears when you select a template or a structure and select "Global" in the "My Places" dropdown menu.

 

2 - Shared contents of any type for the Asset Publisher

You can configure the asset publisher so that it shows assets from the global scope. This way you can publish any of the supported asset types including the following:

  • web content
  • images
  • blog entries
  • documents
  • bookmarks
  • wiki pages
  • calendar events

 

3 - Common asset categories

Any categories vocabulary will be shown as an option when a user is selecting a category for all asset types in all organizations and communities.

 

For the moment the Global content repository can only be administered by users with the "Administrator" role.

 

We are thinking in new ways of sharing content through organizations and communities, and we are looking forward to hearing from you. 

 

If you have any suggestions, post them in the suggestions forums

 

[Note: I have created a wiki page with this content so that we can all improve it]

[Pic credits]

Greetings!

 

Threaded Replies Author Date
This is a great feature. What do you think... Tarkan Corak October 27, 2010 12:56 AM
Hi Tarkan: it is true that moving through... Juan Fernández October 27, 2010 1:04 AM
Very nice feature. I checked it out. Its in... Sandeep Nair October 27, 2010 3:15 AM
That is a very nice piece of functionality but... Szymon Gołębiewski October 27, 2010 2:11 PM
Indeed I agree that the current functionality... RoK . October 28, 2010 5:57 AM
What you need are two things: * Global scope... Szymon Gołębiewski October 28, 2010 8:09 AM
Thanks, but I do not see how this works for... RoK . October 28, 2010 8:43 AM
RoK, go to... Szymon Gołębiewski October 28, 2010 9:40 AM
Hello Juan i need this global scope but why... Malek Tarboush November 5, 2010 8:32 AM
Hi Malek. Login as admin. Go to control panel.... Sandeep Nair November 5, 2010 7:49 PM
Hi Sandeep Thank you very very much i found it... Malek Tarboush November 6, 2010 8:34 AM
Hi Sandeep, Thanq so much. After a long search,... Swetha Surendran March 18, 2013 9:33 PM
Great idea. Im guessing this would be perfect... Vishal Bhanderi November 15, 2010 10:10 AM
Global scope is a great addition, however I... Ken Sperow April 25, 2011 12:16 PM
Hi Ken: I think both functionallities should be... Juan Fernández April 26, 2011 1:21 AM
Thanks Juan, ... Ken Sperow April 26, 2011 8:11 AM
Are there any plans to allow permissions to be... vicky mcintyre October 19, 2011 8:40 AM
This is a great feature. what about the ability... Justin Long October 1, 2012 9:39 PM
Yeah, Justin, that'd be quite cool. I've been... Juan Fernández October 2, 2012 1:39 AM
Hi all, Is it possible to change an existing... Tuomo Kujanpää October 18, 2012 3:47 AM
Sorry Tuomo, but not for now. "Move to Global"... Juan Fernández October 18, 2012 3:51 AM
Thank You for your answer! Another question: I... Tuomo Kujanpää November 13, 2012 12:51 AM
Please, use the forums. Thx! Juan Fernández November 13, 2012 12:54 AM
Ok, discussion continues here ... Tuomo Kujanpää November 13, 2012 1:00 AM
I have a very strange problem in Web Content in... Adeel Aslam August 20, 2013 12:12 AM
hi I want to use global scope please explain... shima shima November 9, 2014 1:15 AM

This is a great feature. What do you think about the ability to move already existing assets from/to Global Scope? I think so far it's not possible to modify the scope for existing assets.
Posted on 10/27/10 12:56 AM.
Hi Tarkan:
it is true that moving through scopes hasn't been implemented yet, as it is not that easy, but it's true that it's quite interesting and we may think about it as the next movement.
Thanks for your idea! emoticon
Posted on 10/27/10 1:04 AM in reply to Tarkan Corak.
Very nice feature. I checked it out. Its in dropdown available at Content category.
Posted on 10/27/10 3:15 AM in reply to Juan Fernández.
That is a very nice piece of functionality but I think you can do more with that. In our projects we ran into problem that webcontent added in users My Community is very hard for admin to find. If you want to see all WCs that user added in his community you have to go to his private/public page (beacuse that's the only way to switch to his scope), enter Control Panel and then use Web Content search.

We fixed that with a hook that ignores scopes when you use Control Panel in Global scope.
So now under Global scope Admin will see:
* webcontents that are added in Global scope
* webcontents that are added in all scopes

I think the same can be done with structures and templates. This way Global scope will be realy Global emoticon Should I fill JIRA ticket for that? ;)
Posted on 10/27/10 2:11 PM.
Indeed I agree that the current functionality is too restricted. What I expected that the global scope would do is the following (providing a use case):

Bloggers can blog in their public personal pages, using global categories to identify what topics are addressed in the blog.

In some other communities, an asset publisher will filter on these global categories to show all public blog posts from all users that are tagged with this category. For knowledge management and dessimination this is a real benefit and a strong limitation of the current liferay social tools.
Posted on 10/28/10 5:57 AM in reply to Simon Gołębiewski.
What you need are two things:
* Global scope in Control Panel working as I wrote
* Asset hook to display all scopes( http://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_cat­alog/products/6268657 ). There is also JIRA ticket for that hook http://issues.liferay.com/browse/LPS-13457
Posted on 10/28/10 8:09 AM in reply to RoK ..
Thanks, but I do not see how this works for Blogs on Personal Pages. Each user has his/her own community, how do you select these in an abstract way using this hook to fulfill the use case described above?
Posted on 10/28/10 8:43 AM in reply to Simon Gołębiewski.
RoK, go to http://www.liferay.com/community/forums/-/message_boards/message/6280733?_19_pre­view=false#_19_message_6280714 . I've posted there a little information about your case emoticon
Posted on 10/28/10 9:40 AM in reply to RoK ..
Hello Juan
i need this global scope
but why cant i find it anywhere ?

im using liferay 6.0.5 CE
i logged in as default user test but i couldn't find it
i also switched to user bruno but nothing show
these users have the administrator role
do you have any idea why can't i see the global scope

thankx
Posted on 11/5/10 8:32 AM.
Hi Malek.

Login as admin. Go to control panel. On left there will be 4 sections. You have a section called "Content" , which shows the current community you are in with a down arrow. Clicking on the arrow, it shows all communities and orgs with links. You will see Global link there. Click on that and you are now dealing with global scope.
Posted on 11/5/10 7:49 PM in reply to Malek Tarboush.
Hi Sandeep
Thank you very very much
i found it and it works just fine

Best Regards
Posted on 11/6/10 8:34 AM in reply to Sandeep Nair.
Great idea.

Im guessing this would be perfect for my problem.
http://www.liferay.com/community/forums/-/message_boards/message/6422134­

A few questions.

-Will articles and images etc be allowed to be moved around (by admin)?

-How do I access global content in code?

Thanks
Posted on 11/15/10 10:10 AM.
Global scope is a great addition, however I can't seem to see "global" bookmarks and categories within communities. I using 6.06GA and have a couple observations/questions:

1) If you create bookmarks within the global scope should they appear within communities within the bookmarks portlet (assuming you have given the correct roles permission to see the bookmark)? I assumed that if you created a bookmark within the global scope it would appear in all communities. I also tried using the Asset Publisher to publish the global bookmark to the community but that does not appear to work as I would expect. I have configured the asset publisher to see everything from the global scope, but don't see a way to publish the bookmark to the community.

2) Should global categories be displayed within the category navigation portlet within communities? They do for the administrator that created the global categories, but not other community members (I have made sure that Guest and Community Member roles have "View" permission on the category).

Thanks
Posted on 4/25/11 12:16 PM.
Hi Ken:
I think both functionallities should be in the product as improvements. Why don't you create two new tickets in Jira (http://issues.liferay.com) and mark them as improvements so that we can have them into account for the following versions?
Thanks a lot for your feedback!
Posted on 4/26/11 1:21 AM in reply to Ken Sperow.
Thanks Juan,

http://issues.liferay.com/browse/LPS-16785
http://issues.liferay.com/browse/­LPS-16787

Ken
Posted on 4/26/11 8:11 AM in reply to Juan Fernández.
Are there any plans to allow permissions to be granted to (community) roles for the global scope rather than just admin user access?
I don't want to give my users admin access but likewise need them to be able to create content that is accessible across communities.
Posted on 10/19/11 8:40 AM.
This is a great feature. what about the ability to access any Community via the Scope section of a Document Library Display, with out having to create shortcuts, similar to that of Web Content Displays. Currently you can only select Default or Global.

Thanks Justin.
Posted on 10/1/12 9:39 PM.
Yeah, Justin, that'd be quite cool. I've been discussing that with product management, and it's definitely something we need to think through
Thanks for sharing your ideas!
Posted on 10/2/12 1:39 AM in reply to Justin Long.
Hi all,

Is it possible to change an existing Site scoped Web Content to be Global scoped? I want to add it into the Asset Publisher in other Site.
Posted on 10/18/12 3:47 AM.
Sorry Tuomo, but not for now.
"Move to Global" feature is something we are looking for ward to implement
Anyways, you could export all articles in the web content portlet in the control panel, change to the global scope and then import those articls. Maybe that'll do the trick for you.
Thanks for your comment
Posted on 10/18/12 3:51 AM in reply to Tuomo Kujanpää.
Thank You for your answer! Another question:

I have two Sites in Liferay 6.1.1. I want to give a permission for Site Owner to Add Content to Global Scope in his/her Site so that the Asset Publisher in another Site can show that global scoped content.

Is this possible and how?
Posted on 11/13/12 12:51 AM in reply to Juan Fernández.
Please, use the forums.
Thx!
Posted on 11/13/12 12:54 AM in reply to Tuomo Kujanpää.
Ok, discussion continues here
http://www.liferay.com/community/forums/-/message_boards/message/17885662
Posted on 11/13/12 1:00 AM in reply to Juan Fernández.
Hi Sandeep,
Thanq so much. After a long search, I just found out the global scope.

Regards.
Posted on 3/18/13 9:33 PM in reply to Malek Tarboush.
I have a very strange problem in Web Content in the Child page I create Web Content that I want to embed in the theme of Parent Page. Using Article ID and Name I have embedded it in the theme but it never gets loaded to investigate the cause of the problem of this. I dropped a Web Content Display without theme in the Parent Page and searched for Article ID and than name. But no search results came. The scope of the Web Content in the Child Page is Default.
Posted on 8/20/13 12:12 AM.
hi
I want to use global scope please explain me, who can access to global space in control panel except owner??
I try site administrator role but it could not.
then I try a regular role with a site permission but it could not too.
Posted on 11/9/14 1:15 AM.