entaq / GoogleAppsScript

Sample code for Google Apps Script.
262 stars 126 forks source link

File Upload Google Doc to Salesforce. using Google Apps Script! #1

Open siddh4489 opened 11 years ago

siddh4489 commented 11 years ago

hi, i m trying to create this demo by help of yours video " Integrating Google Apps with Salesforce using Google Apps Script ".

I m create new Script project.. After that i m create two script file. 1.RowUtilities.gs 2.salesforce.com.gs

then i m trying to run salesforce.com.gs to view name in google doc. that time error comes like : TypeError: Cannot call method "addMenu" of null. (line 8, file "salesforce.com")

Please help me.. then i can move ahead..

Thanks you

entaq commented 11 years ago

Sorry about the delayed response. I just noticed this.

You have to create this type of script form a spreadsheet from Tools-> Script editor while in a Spreadsheet.

If you want to write a standalone script then instead of getActiveSpreadsheet do SpreadsheetApp.openByUrl() and pass in the spreadsheet URL.

venchinn commented 11 years ago

hi arun today i have seen ur demo it was so good, and coming to http://www.youtube.com/watch?v=9SEAmNDtlcA this vedio you have write some code , it was not present in your posts. will you please tell how will i get it..

venchinn commented 11 years ago

hi, i m trying to create this demo by help of yours video " Integrating Google Apps with Salesforce using Google Apps Script ".

I created new Script project.. After that i created two script file. 1.RowUtilities.gs 2.salesforce.com.gs

when i click login this error has occured.. pls help me..how to overcome this..

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

entaq commented 11 years ago

Have you followed the process of setting up your OAuth client ID and secret key in Salesforce.com?

On Tue, Jul 16, 2013 at 9:23 AM, venchinn notifications@github.com wrote:

hi, i m trying to create this demo by help of yours video " Integrating Google Apps with Salesforce using Google Apps Script ".

I created new Script project.. After that i created two script file. 1.RowUtilities.gs 2.salesforce.com.gs

when i click login this error has occured.. pls help me..how to overcome this..

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

— Reply to this email directly or view it on GitHubhttps://github.com/entaq/GoogleAppsScript/issues/1#issuecomment-21041298 .

venchinn commented 11 years ago

Ya but i got the error and one more question will u please explain me salesforce integration?

On Thu, Jul 18, 2013 at 2:00 AM, Arun Nagarajan notifications@github.comwrote:

Have you followed the process of setting up your OAuth client ID and secret key in Salesforce.com?

On Tue, Jul 16, 2013 at 9:23 AM, venchinn notifications@github.com wrote:

hi, i m trying to create this demo by help of yours video " Integrating Google Apps with Salesforce using Google Apps Script ".

I created new Script project.. After that i created two script file. 1.RowUtilities.gs 2.salesforce.com.gs

when i click login this error has occured.. pls help me..how to overcome this..

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

— Reply to this email directly or view it on GitHub< https://github.com/entaq/GoogleAppsScript/issues/1#issuecomment-21041298> .

— Reply to this email directly or view it on GitHubhttps://github.com/entaq/GoogleAppsScript/issues/1#issuecomment-21142400 .

entaq commented 11 years ago

Hi - please post questions on http://stackoverflow.com/questions/tagged/google-apps-script for Apps Script help.

If you watch the video in the salesforce readme page, that should also have a walk through.

On Thu, Jul 18, 2013 at 1:31 AM, venchinn notifications@github.com wrote:

Ya but i got the error and one more question will u please explain me salesforce integration?

On Thu, Jul 18, 2013 at 2:00 AM, Arun Nagarajan notifications@github.comwrote:

Have you followed the process of setting up your OAuth client ID and secret key in Salesforce.com?

On Tue, Jul 16, 2013 at 9:23 AM, venchinn notifications@github.com wrote:

hi, i m trying to create this demo by help of yours video " Integrating Google Apps with Salesforce using Google Apps Script ".

I created new Script project.. After that i created two script file. 1.RowUtilities.gs 2.salesforce.com.gs

when i click login this error has occured.. pls help me..how to overcome this..

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

— Reply to this email directly or view it on GitHub< https://github.com/entaq/GoogleAppsScript/issues/1#issuecomment-21041298>

.

— Reply to this email directly or view it on GitHub< https://github.com/entaq/GoogleAppsScript/issues/1#issuecomment-21142400> .

— Reply to this email directly or view it on GitHubhttps://github.com/entaq/GoogleAppsScript/issues/1#issuecomment-21163467 .

sureshkamini commented 10 years ago

i am getting

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

How to solve this error

we are watch the your demo and try it but we got the error please explain

i copied bellow link code.

https://github.com/entaq/GoogleAppsScript/tree/master/Salesforce.com

please reply me

Shivdeep-Kumar commented 8 years ago

Hi Arun,

I am trying to create the App script by your demo video but I got the error please explain and help me to solve this.

Request failed for https://shivdeepkumar-dev-ed.my.salesforce.com//services/data/v37.0/sobjects/Contact/ returned code 401. Truncated server response: [{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}](use muteHttpExceptions option to examine full response)

please reply me

Thanks