Hi, Thanks for replying. Please find my comments below, -Patricia [email protected]
> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On > Behalf Of Ray Baxter > Sent: Monday, June 08, 2009 2:41 PM > To: [email protected] > Subject: Re: Trying again: calendar URL functionality > > > I'm sorry, I didn't reply because I didn't understand your > followup question. I still don't. > > It seems like you are asking about user B being logged into > Google Apps, which I don't understand. This isn't Google > Apps, it is Google Calendar and the authorization is I > believe slightly different. You should authorize user B to > the Google Calendar Service for this to work, not Google Apps. However, Google Calendar is one of the services available within a Google Apps domain. If you are logged into a Google Apps domain, then you don't need to log into Google calendar separately in order to see your calendar. This is what I was referring to. So, for the purposes of this discussion, you can consider the user logged in. > > I also do not understand this, "have B share A's calendar by > simply following a url; the only way to do it might then be > to go through B's calendar first, in order to navigate to A's > calendar and then have access to it; it would be nice if > somebody could confirm - or NOT- this here". In particular, > I don't understand what you mean by, "following a url", "go > through B's calendar", "navigate to A's calendar". > > A's calendar is located at a particular url. If user B is > authenticated as user B to the Google Calendar Service and > user B is authorized to view user A's calendar, then user B > can retrieve the url that contains the contents of user A's > calendar. This is all part of the calendar api, and I can > assure you that it works. > > But my suspicion is that your question isn't about the > calendar api, but about the UI. I think that what you are > wanting to do is to have user B sitting at their web browser > click on some url and have that url take them to a page that > displays user A's calendar. YES, that is what I was trying to do (I'm glad that finally I did get my point across :-) :-)). Even though I do the sharing programmatically, using the apis, I simply want user B to be able to 'click on a link' and see A's calendar, assuming he has the proper access to A's calendar. If you want user B to see _only_ > user A's calendar at a particular url, you could embed user > A's calendar in a page that you control and assuming that > user B had authenticated themselves to Google Calendar in the > recent past, then user B would see user A's private events. This is the intention. However, I'd rather not have to render this page myself (by retrieving calendar items using the apis and then displaying them somehow). It would be much, much nicer if Google had a way to display it for me. (after all, I am not asking too much; consider that Google docs can be seen this way, so I expected this functionality to also exist for Google Calendar). Does Calendar support this or not? If the answer is yes, what is this url? Please note that I've already tried to use the following: http://www.google.com/calendar/hosted/<my-google-apps-domain>/embed?src=<cal endarIDforA> Unfortunately, this displays an empty monthly view of the calendar in question, with a little note on top saying: 'Events from one or more calendars could not be shown here because you do not have permission to view them'. (again, when I see this, I am logged into Google calendar as B, and B definitely has access to A's calendar). > > However, it would be simpler if user B just viewed user A's > calendar through the normal Google Calendar UI. In the > Calendar UI it is possible to see many calendars from many > different users, but perhaps there is some reason that you > can't do that. Well, it is not impossible to do this in my case, but it is less desirable (from a user interface standpoint, the fewer the clicks that the user needs to go through in order to get to the desired information, the better). I will probably resort to this if I can't get it to work my way (that is, with only one click). Thanks again for replying, -Patricia > > Hope that helps, > > Ray > > > > On Mon, Jun 8, 2009 at 10:08 AM, Patricia > Goldweic<[email protected]> wrote: > > Hi, > > I posted about this before, got a reply which I thought > didn't answer > > my question, I then replied explaining why it didn't work > for me, and > > never heard back from anybody at Google. > > So I'm trying again here, hoping that somebody WILL reply this time > > :-) (Please note that I got an 'incompatible' reply from the Google > > Calendar help forum ***) > > > > My first post: > > ---------------------------------------------------------- > > Hi, I'm wondering whether the following is possible (and if > so, please > > let me know how to construct the given url :-)): using a 'private' > > calendar url (for a calendar that belongs to 'A'), person B > (which has > > read(or editor) permission to A's calendar), can simply access A's > > calendar by following that url, as long as they are logged > into Google > > Apps. In other words, I'm looking for functionality > equivalent to that > > in Google Docs, thanks to which I can directly access > somebody else's > > doc by following its url, as long as I have the right > permissions, and > > as long as I'm logged into Google Apps. Could somebody > please clarify. > > Thanks in advance, -Patricia > > ----------------------------------------------------------- > > Ray Baxter's reply: > > ----------------------------------------------------------- > > Yes, this is possible. If A has shared their calendar with > B, the A's > > calendar will appear in user B's allcalendars feed assuming user B > > presents the proper credentials, and user B will have the whatever > > access to that calendar that user A has provided. The url for > > accessing user A's calendar will be the same url for user B as for > > user A. I user A's calendar is > > > http://www.google.com/calendar/feeds/userA%40group.calendar.google.com > > /private/full, then that is the url that user B would use. Ray > > > > ------------------------------------------------------------ > > > > My reply to Ray Baxter: > > > > ------------------------------------------------------------- > > > > Hi Ray, > > > > Thanks for the reply. I'm glad this is supposed to be > possible. Now I > > need to figure out why this does not seem to be working for > me though:-(. > > > > I've created two users in a GoogleApps domain, and after I've > > programmatically added B to A's calendar acl feed (so that B is a > > reader of A's calendar), I'm trying to have B follow a URL to A's > > calendar (please note that I'd like to do this as opposed > to have B go > > to his main calendar, and from there, find A's calendar). > > > > Assuming that we are dealing with A's main calendar, I've tried the > > following urls: > > > > http://www.google.com/calendar/feeds/A/private/full > > > > http://www.google.com/calendar/feeds/A/private/basic > > > > Either of these urls causes a '401' (Needs authorization) > http error, > > even though B is logged into Google Apps. So what am I missing? > > > > Also, please note that I want to see the calendar rendered, and not > > some representation of the feed (not sure if the urls above are > > exactly what I need). > > > > -Patricia > > > > > > > > *** After my frustration, I tried the Google Calendar help > forum (no > > apis), and after first receiving a reply suggesting that I > should be > > using the 'public' calendar url, they eventually realized > that it may > > not be NOT possible to do what I was trying to do (in other words, > > have B share A's calendar by simply following a url; the > only way to > > do it might then be to go through B's calendar first, in order to > > navigate to A's calendar and then have access to it; it > would be nice > > if somebody could confirm - or NOT- this here). > > > > [email protected] > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
