Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Login problem using RForcecom Sanbox Environment #36

Open
jugadupa opened this issue Feb 23, 2016 · 5 comments
Open

Login problem using RForcecom Sanbox Environment #36

jugadupa opened this issue Feb 23, 2016 · 5 comments

Comments

@jugadupa
Copy link

I tried to connect well:
instanceURL <- "https://test.salesforce.com/"
also
instanceURL <- "https://cs26.salesforce.com/"
too
instanceURL <- "https://nn--test.cs26.my.salesforce.com/"

But it has not been possible, in the history login salesforce is no record of the call. You can connect to a sandbox environment for Rforce?

Regards
Juan Gabriel

@StevenMMortimer
Copy link
Contributor

@jugadupa Yes, you can connect to a testing environment via RForcecom. It will run exactly like connecting to a live environment. You might want to double check your password and security token match the username for your sandbox. It might be different from your live environment. Here is an example of connecting to a test environment from the package:

rforcecom.login(username='{my-username}', 
                password='{my-password}{my-security-token}', 
                loginURL='https://test.salesforce.com/')

I also notice you mentioned instanceURL, which might be the old notation to what package version you're using. It's worth double checking that as well

@TonyWhiteSMS
Copy link

Hello @ReportMort
I am having this issue as well, currently the version is listed as 0.8, and when I try the above I get this error
unused argument (loginURL = "https://test.salesforce.com/")

Looking at http://rforcecom.plavox.info/ it lists 0.8 as the latest.

Thanks
Tony

@TonyWhiteSMS
Copy link

I have built from the GIT code, used these instructions http://kbroman.org/pkg_primer/pages/build.html

@abeburnett
Copy link

You actually don't need to build it manually. You can just use devtools to
download and install the current version from git which should resolve your
issues. Once you install devtools then you just do install_github...

Install devtools and use directions:

https://github.com/hadley/devtools/blob/master/README.md

Easy peasy!

On Wed, Mar 16, 2016, 20:54 TonyWhiteSMS [email protected] wrote:

I have built from the GIT code, used these instructions
http://kbroman.org/pkg_primer/pages/build.html


You are receiving this because you are subscribed to this thread.

Reply to this email directly or view it on GitHub
#36 (comment)

@StevenMMortimer
Copy link
Contributor

Yeah, the install should be a one-liner. Below are 2 examples on how to install from Github:

# install from default branch
devtools::install_github('hiratake55/RForcecom')
# install from a particular branch
devtools::install_github('ReportMort/RForcecom', ref='metadata-api')

@TonyWhiteSMS as far as your original question about logging in, if you just run the command rforcecom.login without any arguments or parenthesis, then it will show you the function definition. You might want to use this to double check that whatever version of RForcecom you've got that it is showing loginURL as a usable parameter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants