Open jugadupa opened 8 years ago
@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
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
I have built from the GIT code, used these instructions http://kbroman.org/pkg_primer/pages/build.html
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 notifications@github.com 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 https://github.com/hiratake55/RForcecom/issues/36#issuecomment-197681532
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.
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