Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
lou cat
Purpose of GLOBAL scope
January 17, 2013 3:26 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Hi!

What's the purpose of Global scope?
I created a folder and put a document in the document library of the global scope, hoping to find it available for every community/organization of my portal... but in the Document Library Display this folder is not selectable! If I click on ROOT I can't see the global scope.

Is it a bug, am I doing anything wrong, or does it have a different purpose?

Also, if this is not the way it should work, can you suggest a way to display the same document in more than one organization?
Milen Dyankov
RE: Purpose of GLOBAL scope
January 18, 2013 2:58 AM
Answer

Milen Dyankov

LIFERAY STAFF

Rank: Regular Member

Posts: 219

Join Date: October 30, 2012

Recent Posts

To display files (or any asset in general) from different scope you need to configure the portlet.
In your case you need to go to Configuration > Scope for the Document Library Display and select the Global scope there.
Prakash Khanchandani
RE: Purpose of GLOBAL scope
January 18, 2013 3:09 AM
Answer

Prakash Khanchandani

Rank: Regular Member

Posts: 235

Join Date: February 10, 2011

Recent Posts

There are 3 scopes as you might already know:
1) Default Scope (or Site Scope or Community Scope)
2) Page Scope: The scope of the page. This can be considered as a sub-scope of Site Scope.
3) Global Scope: This is used to show the content irrespective of any Site or Organization as you have thought. It is available to all the sites or Organization Sites.

Here is how you can configure any portlet on a page to show the Contents of the Global Scope in that portlet:

Click on Configuration --> Scope --> Select Global Scope --> Click Save [see image attached]
Attachment

Attachments: global-scope.png (32.7k)
lou cat
RE: Purpose of GLOBAL scope
January 18, 2013 3:14 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Hi Milen,

The problem is that in my portlet configuration the only scope I can select is default (and I guess it's just the community/organization where the DL display is placed) or the current page only.
So, I can't see a way to select the "global" scope to existing documents or, if I have folders and files in the "global" scope (set from the Control panel), how can I show them if
they are not selectable anywhere? I can't see them shown so I can't select them as root... not even in the public community emoticon
Milen Dyankov
RE: Purpose of GLOBAL scope
January 18, 2013 3:24 AM
Answer

Milen Dyankov

LIFERAY STAFF

Rank: Regular Member

Posts: 219

Join Date: October 30, 2012

Recent Posts

I'm not sure I understand your question. Are yo saying you see a screen like the one in the screenshot above but there is no Global scope in there? Is it your own portlet or standard Liferay porlet you are referring? Which Liferay version you are using? Can you provide some more detailed information about what you are doing?
lou cat
RE: Purpose of GLOBAL scope
January 18, 2013 3:29 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Hi Milen and Prakash,

sorry I forgot to add that my Liferay version is CE 6.0.6.

Here is my screenshot
Attachment

Attachments: DLScope.jpg (21.8k)
lou cat
RE: Purpose of GLOBAL scope
February 5, 2013 1:39 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

So, is there anyone who can confirm that in my Liferay version (6.0.6) the global scope is not available?

Isn't it possible to have a common folder for all the organization I have? emoticon
Milen Dyankov
RE: Purpose of GLOBAL scope
February 5, 2013 1:58 AM
Answer

Milen Dyankov

LIFERAY STAFF

Rank: Regular Member

Posts: 219

Join Date: October 30, 2012

Recent Posts

Are you doing this as Administrator?
lou cat
RE: Purpose of GLOBAL scope
February 5, 2013 2:58 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Sure, as Administrator.

I was also considering the Asset publisher to show at least a document (I'd prefer to show a whole folder) but that doesn't seem to work as well emoticon

Is there maybe some portal setting that I need to change?
lou cat
RE: Purpose of GLOBAL scope
July 17, 2013 2:17 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Just coming back to this.

I am assuming LR 6.0.6 doesn't have the "global" folder feature available.
Is it correct?
Is it some sort of bug that I can fix?
Or maybe there's some portal setting I need to add?

any feedback on my Liferay version would be very appreciated emoticon
Kenneth Chang
RE: Purpose of GLOBAL scope
July 17, 2013 5:08 PM
Answer

Kenneth Chang

LIFERAY STAFF

Rank: Junior Member

Posts: 25

Join Date: May 9, 2011

Recent Posts

I see it available in 6.0 EE SP1, sorry I don't have a CE bundle at the moment.
lou cat
RE: Purpose of GLOBAL scope
July 18, 2013 4:01 AM
Answer

lou cat

Rank: Regular Member

Posts: 196

Join Date: January 26, 2012

Recent Posts

Thank you Kenneth, I have the CE version indeed... but maybe there's some setting I need to change in portal-ext.properties...

It would be so useful! emoticon