create a document that doesn't show up in "Home"?

57 views
Skip to first unread message

kraney

unread,
Jan 7, 2012, 10:49:19 PM 1/7/12
to google-docum...@googlegroups.com
I can create a resource that's in a collection, but that resources still is listed in "Home". How can I get it to show up only in the collection? I'm using the python API.

Ali Afshar

unread,
Jan 9, 2012, 11:05:34 AM 1/9/12
to google-docum...@googlegroups.com
Hi Kraney,

You should add the "hidden" label [1] to a resource, and it will notshow up in home.

Regards

--
Ali Afshar | www.googplus.org/ali | Google Developer Relations

Bob Gordon

unread,
Jan 23, 2012, 8:38:10 PM 1/23/12
to google-docum...@googlegroups.com
How do we add the "hidden" label to a resource?  (python)

-Bob

Ali Afshar

unread,
Jan 24, 2012, 8:37:39 AM 1/24/12
to google-docum...@googlegroups.com
Hi Bob,

you can use gdata.docs.data.Resource.AddCategory(gdata.docs.data.HIDDEN_LABEL).
The method is defined in gdata.docs.data.CategoryFinder which is
subclassed in Resource.

Regards

On Mon, Jan 23, 2012 at 8:38 PM, Bob Gordon < robert....@seagate.com > wrote:
> How do we add the "hidden" label to a resource?  (python)
>
> -Bob

--

huffie

unread,
Mar 29, 2012, 11:43:06 PM 3/29/12
to google-docum...@googlegroups.com
Hi Ali,
    Possible to advise how to go about doing it similary for Java? TIA!

On Tuesday, January 24, 2012 9:37:39 PM UTC+8, Ali Afshar wrote:
Hi Bob,

you can use gdata.docs.data.Resource.AddCategory(gdata.docs.data.HIDDEN_LABEL).
The method is defined in gdata.docs.data.CategoryFinder which is
subclassed in Resource.

Regards

--

Reply all
Reply to author
Forward
0 new messages