Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Calender API v3: HowTo set orderby, sortorder, start-index?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thomas Börkel  
View profile  
 More options Sep 2 2012, 1:53 pm
From: Thomas Börkel <thomas.boer...@googlemail.com>
Date: Sun, 2 Sep 2012 10:53:36 -0700 (PDT)
Local: Sun, Sep 2 2012 1:53 pm
Subject: Calender API v3: HowTo set orderby, sortorder, start-index?

HI!

I am trying to set some parameters (orderby, sortorder, start-index) for a
Calendar API V3 events request in Java. Those parameters work fine when
using JavaScript/Ajax/URL.

com.google.api.services.calendar.Calendar.Events.List list =
client.events().list("primary");
list.setQ(searchText);
// list.setOrderBy("starttime"); // -> BAD REQUEST
list.set("sortorder", "descending"); // does not affect the order
list.set("orderby", "starttime"); // does not affect the order?
com.google.api.services.calendar.model.Events feed = list.execute();

And how to set the start-index?

Thanks!

Thomas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Börkel  
View profile  
 More options Oct 9 2012, 12:55 pm
From: Thomas Börkel <thomas.boer...@googlemail.com>
Date: Tue, 9 Oct 2012 09:55:17 -0700 (PDT)
Local: Tues, Oct 9 2012 12:55 pm
Subject: Re: Calender API v3: HowTo set orderby, sortorder, start-index?

OK, I can use setOrderBy() when I also use setSingleEvents(true).

start-index is not necessary, because of the paging feature in the Java
APIs.

Remaining problem: What about the sortorder? I'd like to be able to have is
sorted descending.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Brüning  
View profile  
 More options Dec 4 2012, 8:58 am
From: Felix Brüning <kle...@gmail.com>
Date: Tue, 4 Dec 2012 05:58:55 -0800 (PST)
Local: Tues, Dec 4 2012 8:58 am
Subject: Re: Calender API v3: HowTo set orderby, sortorder, start-index?

I have the problem too. After some googling I didn't find any way to set
the sortorder in Calendar API v3... seems weird, because other API versions
did have the option...!?

Am Sonntag, 2. September 2012 19:53:36 UTC+2 schrieb Thomas Börkel:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nguyen Hau  
View profile  
 More options Mar 20, 12:36 am
From: Nguyen Hau <ngocha...@gmail.com>
Date: Tue, 19 Mar 2013 21:36:42 -0700 (PDT)
Local: Wed, Mar 20 2013 12:36 am
Subject: Re: Calender API v3: HowTo set orderby, sortorder, start-index?

Me, too
I cannot find how to sortorder : I see it's default sortorder ascending,
now I want to change on sortorder descending
Anybody help?

Vào 20:58:55 UTC+7 Thứ ba, ngày 04 tháng mười hai năm 2012, Felix Brüning
đã viết:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »