thanks, I will try it!
On Jun 24, 5:24 pm, Eric Bidelman <api.e...@google.com> wrote:
> In
> Java:http://code.google.com/apis/documents/docs/2.0/developers_guide_java....
> if (!doc.getFolders().isEmpty()) {
> System.out.println(" in folder: " + doc.getFolders());
> }
>
> On Wed, Jun 24, 2009 at 4:56 PM, Carlos <charleswe...@gmail.com> wrote:
>
> > Thanks for the quick response Eric, but would you mind explain a
> > little bit more when you said "checking if a folder label is present"?
> > Where would this folder label be? I tried entry.getParentLinks(); to
> > see if I that spreadsheet has parent folder, but the List the function
> > returned is empty.
> > Regards
> > Charles
>
> > On Jun 24, 4:23 pm, Eric Bidelman <api.e...@google.com> wrote:
> > > I think you can do this by pulling all spreadsheetsand checking if a
> > folder
> > > label is present.
>
> > > On Wed, Jun 24, 2009 at 4:02 PM, Carlos <charleswe...@gmail.com> wrote:
>
> > > > Thanks Eric.
> > > > What if I want to pull just spreadsheets from the root folder. I use
> > > > the following url, but doesn't seem to be working. The spreadsheet
> > > > from the subfolder are still returned.
>
> > > >http://docs.google.com/feeds/documents/private/full/-/spreadsheet/-su.
> > ..
>
> > > > Regards
> > > > Charles
>
> > > > On Jun 24, 1:26 pm, Eric Bidelman <api.e...@google.com> wrote:
> > > > > To pull just spreadsheets, use the spreadsheet category:
> > > >http://docs.google.com/feeds/documents/private/full/-/spreadsheet<
> > > >http://docs.google.com/feeds/documents/private/full/-/folderName?type..
> > .>
>
> > > > > See:
>
> >http://code.google.com/apis/documents/docs/2.0/reference.html#Parameters
>
> > > > > -e
>
> > > > > On Wed, Jun 24, 2009 at 12:06 PM, Carlos <charleswe...@gmail.com>
> > wrote:
>
> > > > > > Please correct me if I was using the api incorrectly.
> > > > > > I also tried
>
> >http://docs.google.com/feeds/documents/private/full/-/folderName?type.
> > > > ..
> > > > > > to try to filter the docs, but it doesn't work either. I had to
> > parse
> > > > > > the id to check if this document is a spreadsheet or not
> > > > > > Thanks
> > > > > > Charlie
>
> > > > > > On May 21, 9:27 pm, "Eric (Google)" <api.e...@google.com> wrote:
> > > > > > > Not being able to filter on doctype (using the /folders)
> > > > > > > feed is a bug.
>
> > > > > > > Eric
>
> > > > > > > On May 19, 12:16 pm, Manu J <manu.1...@gmail.com> wrote:
>
> > > > > > > > Here is another way to trigger this.
>
> > > > > > > > Try this in OAuth playground
>
> > > > > > > > URL:
> >http://docs.google.com/feeds/documents/private/full/-/bills/
>
> > > > > > > > where bills is a folder name which doesn't conflict with stuff
> > like
> > > > > > > > "mine/starred" ie default names.It will return all the
> > documents
> > > > > > > > inside that folder. Now star a document in the folder and try
> > this
>
> > > > > > > > URL:
> > > > > >http://docs.google.com/feeds/documents/private/full/-/bills/starred
>
> > > > > > > > It will return the correct documents but
> > > > > > > > URL:
>
> >http://docs.google.com/feeds/documents/private/full/-/bills/document
>
> > > > > > > > (or speadsheet or presentation) doesn't return anything.
>
> > > > > > > > Regards
> > > > > > > > Manu
>
> > > > > > > > On May 19, 11:44 pm, sandosh <sandosh.vasude...@gmail.com>
> > wrote:
>
> > > > > > > > > I am trying to filter a folder contents by
> > Documenttype(document,
> > > > > > > > > presentation,spreadsheet, pdf)
>
> > > > > > > > > This does not work:
>
> >http://docs.google.com/feeds/folders/private/full/folder%3A{FOLDER_ID}/-/spreadsheet
>
> > > > > > > > > Although it does work for other categories like
> > starredhttp://
>
> > docs.google.com/feeds/folders/private/full/folder%3A{FOLDER_ID}/-/starred
>
> > > > > > > > > What could be the problem? It is on my side or the API ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---