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
Priyanka Dhanorkar 22Priyanka Dhanorkar 22 

Getting data from Salesforce into a react native application using the Network bridge from Mobile SDK.

Hi All,

I have a react native application that gets data from different objects into the application using the Network bridge object. Now I would like to get files attached to a custom object. 
For that I wrote a soql on content distribution object with where clause on the parent object id.It seems that the where clause is not working for this object. This means I will have to get all the available content distributions, which would bring a large amount of unnecessary data into the app that will increase the time to fetch the required data.

So I tried to query on content document object, but that would bring the first 5 records only.

Is there any kind of limitations on these objects?

It would be helpful if anyone could help me to get the files data.