Page 1 of 1

Creating a Pointer to Files collection: Not Supported?

Posted: Wed May 20, 2015 6:59 pm
by Joe7349603

I need some ideas on how to accomplish this task. Basically my app is a rating app where a user takes a photo or uploads one from existing, and reviews the photo (Custom Built furniture.).

So far here is what I have:

Photo Upload Service: I take photo or select one from existing and post them to Files collection. I upload the images to Files collection and also save the image Original File Name to 4 LSV.

Review Upload Service: I get all fields and the file names and upload that to Review collection.

So basically I am using 2 service to put post 1 review and everything works well so far.

To read reviews here is where I am stuck.

Ideally I want to be able to query the Reviews collection and grab the reviews+ Pictures all in one service.

Challenges: I know this situation would be perfect for pointer but.....In Files collection I cannot create a Pointer to Reviews collection. In Reviews collection I cannot create a Pointer to Files collection all other collections I have it is possible (not sure why) which means I will have to use two services. Service 1, to get the reviews and Service 2, Use the File Name I stored in Reviews collection to get the image from the Files collection.

Is there a different solution to this limitation? Am I missing something?
I appreciate any ideas I have wrestled with this and cannot find a solution


Creating a Pointer to Files collection: Not Supported?

Posted: Fri May 22, 2015 6:28 am
by Evgene Karachevtsev

Hello Joe,

We are sorry for delay, we are working on it.
I will let you know when have more information from developers team.


Creating a Pointer to Files collection: Not Supported?

Posted: Fri May 22, 2015 4:49 pm
by Serhii Kulibaba

Hello Joe,

It is possible to add pointer to the file collection. Could you clarify what exactly doesn't work?
To retrieve the referenced object value (not a pointer value) use the include parameter. More information here: https://devcenter.appery.io/documenta...


Creating a Pointer to Files collection: Not Supported?

Posted: Wed Jul 01, 2015 9:13 pm
by umama fakher

how to use include parameter?

I am saving uploaded photos by user in default file collection. I want those photos uploaded in my collection that I created or at least a reference to that picture in my collection.

Please help!


Creating a Pointer to Files collection: Not Supported?

Posted: Tue Jul 07, 2015 5:14 pm
by Evgene Karachevtsev

Hello Umama,

Sorry for delay, these links should help:
https://devcenter.appery.io/documenta...
https://devcenter.appery.io/documenta...