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
Aloysius ParedesAloysius Paredes 

Mobile SDK for getting Other Data

Hello,

I am new to SF and using the Mobile SDK. I am creating a custom mobile app using React Native and I am trying to get data from my SF instance. How do I go about finding out what data I can extract with the
net.query(soql, callback, error);
I am able to get the Contacts using:
net.query("SELECT FirstName,LastName FROM Contact"...
But I want to know what type of data I can get. Like what tables exist in my SF instance. I have a Calendar app that I have events in, but I don't know how to get events from it.

I tried:
net.query("SELECT Id FROM Calendar"

but that didn't work. Any advice would help!
 
Best Answer chosen by Aloysius Paredes
Todd Halfpenny MCTodd Halfpenny MC
Hey Aloysius,

There are a couple of resources that can hopefully help you explore what is available in your org;
  1. Workbench (https://workbench.developerforce.com/login.php)  - You can log into your prg and describe your objects, run queries and hopefully have a good play around.
  2. API Explorer (https://developer.salesforce.com/docs/api-explorer) - For non-SOQL interaction you could also use this to see what REST calls are available to you.
I hope these links give you a go starter.

All Answers

Todd Halfpenny MCTodd Halfpenny MC
Hey Aloysius,

There are a couple of resources that can hopefully help you explore what is available in your org;
  1. Workbench (https://workbench.developerforce.com/login.php)  - You can log into your prg and describe your objects, run queries and hopefully have a good play around.
  2. API Explorer (https://developer.salesforce.com/docs/api-explorer) - For non-SOQL interaction you could also use this to see what REST calls are available to you.
I hope these links give you a go starter.
This was selected as the best answer
Aloysius ParedesAloysius Paredes
Thank you so much Todd! 

I'll give it a shot, and play around with it. This definitely gives me some direction!!