function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
HyderabadHyderabad 

Integration of Google Docs in SFDC

Hi,

Salesforce by default giving the feature of accessing Google Docs in force.com plateform, up here is ok.

But after Creating the Google Docs tab, it will redirect ro the Google Docs of perticular User.

 

When we click on that tab evry time it will asking Login to Google Docs or directly redirects to the already logged in user.

 

Now what I want is,  I will give Username & password of the Google Account in Apex Class, by this without asking to login, it will display the Documents.........................

 

Please Help me......................

Thanks

cloudcodercloudcoder

Have you had a look at the Google Data API toolkits? You can pass credentials in there and retrieve the information programatically:

 

http://wiki.developerforce.com/index.php/Google_Data_API_Toolkit

AnushaAnusha

Yeah, i've gone trough that,

But, I have a Problem in it, that how to pass my credentials

Please tell me...........

 

Thanks for posting

HyderabadHyderabad

Sorry  Cloudcoder, above one is also mine...........

cloudcodercloudcoder

Ah, so you need client login vs. authsub.

 

Try this:

 

http://blog.sforce.com/sforce/2009/06/client-login-in-the-google-data-api-toolkit.html

HyderabadHyderabad

that's but how to see the documents in my login

i have passed my credentials to  GoogleService but, when i click on the Google Docs tab the Documents has to display 

how to use this.............

 

cloudcodercloudcoder

I tried setting up a webtab to point to https://docs.google.com but unfortunately the page does not render. It looks like the googledocs page doesn't like being iframed in. I could get an individual document to work no program as well as gmail (if I used the plain html version), but not docs sorry.

 

Maybe someone else knows a trick, but I am not sure how much luck you will have.