Error when integrating google calender with skuid calender
I have been trying to integrate google calender with skuid calender. I did followed every step and still not working properly. Whenever I go to the page, it shows ""Unable to authenticate to service "googleCalenderModel": Login has been cancelled"". But when,I go to the edit page and click on preview , it works fine. Would be great if someone could help me with this issue.. (https://cheetah-632--cheetahbms.na30.visual.force.com/apex/HomePage?sfdc.tabName=01r36000000lqey&tsid=02u36000000qmNm)--this will show error. When i preview from edit page this is a URL--(https://cheetah-632--skuid.na30.visual.force.com/apex/skuid__ui?page=HomePageChild&id=0013600000KVDpUAAX)
Tagged:
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
The calendar works when we "preview" the skuid page and our page is rendered in the skuid namespace, but not when it is viewed as a VF page in our namespace. We tried different combinations of URLs for the oauth callback and could not find a solution.
There probably is a way to do that but it may be quite taxing to implement. It really depends on how the google calendar API is set up and what kind of calls you can make to it. You may need to build out the calendar one week at a time.
Thanks!
Karen
Is that because of the package namespace? Does the page the calendar component is on have to be in the skuid namespace for Google Calendar?
When you're running Skuid from a non-Skuid Visualforce domain, which you're doing, you'll need to add an additional Callback URL / Redirect URI and an additional allowed JavaScript Origin in your Google Calendar configuration corresponding to your package's Visualforce domain, e.g. https://cheetah-632--cheetahbms.na30.visual.force.com/apex/skuid__oauthcallback
I have added additional callback URl and also an additional allowed JavaScript Origin. When I logon to the CheetahBMS system, my gmail account get successfully authenticated but still shows "Unable to authenticate to service "GoogleDataSource": Login has been cancelled" .
Wondering, if there is any issue related to Data source in skuid ?