In Realm Object server(cloud version) not able to access folders Other than Default folder, using a java application


#1

Hi All,

I want get the data from folders other than default please find my code below from ToDoList folder .
But ,I can able access the default folder data.
We are using cloud version.

RealmResults CAHeaders = setUpRealmHedear();
private RealmResults setUpRealmHeader() {
SyncConfiguration configuration = SyncUser.current()Preformatted text
.createConfiguration(“https://itc.us1.cloud.realm.io” + “/ToDoList”)
.build();
realm = Realm.getInstance(configuration);
return realm
.where(CAHeaders.class)
.findAllAsync();

       }

Please suggest how to access folders other than default in Realm object server cloud version.

Also please suggest a way to create the schema of the class using the java application.

Thanks in advance.