You need to sign in to do that
Don't have an account?
AminY
Accessing user data from an ISV app
Hi,
I have a question about ISV apps.
Is it possible to access users data from an ISV app?
I want to make REST calls to users account (after user installed the app)
I don't want to ask for users username, password or token. Is there anyway to do this?
Thanks in advance,
AminY
Correct, as expected, the api requires authentication. So you need to be granted access to the user via OAuth. So I would built the oauth flow into your force.com app so your external component/app can security store their oauth tokens after they 'allow' your app to access it.
All Answers
Can you please elaborate on what you are trying to do? In general, the ISV app is installed into the customer's salesforce.com environment. The app can access User data since its within the same environment. But are you talking about something else?
I'm trying to access user data such as leads, etc, and then import them to another analytics application using REST calls. Is that something possible?
Yes, absolutely. All of the API documentation can be found here, including the REST api.
The problem is that I need user's credentials to be able to access data using REST APIs, am I right?
What happens when a new user installs my app on his salesforce account? How can I access the credentials needed for the REST calls to work?
Correct, as expected, the api requires authentication. So you need to be granted access to the user via OAuth. So I would built the oauth flow into your force.com app so your external component/app can security store their oauth tokens after they 'allow' your app to access it.
Thank you very much. I should look into oAuth flows then.