Joe7349603
Posts: 0
Joined: Tue Jan 27, 2015 11:08 pm

Creating a Pointer to Files collection: Not Supported?

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Creating a Pointer to Files collection: Not Supported?

Hello Joe,

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Creating a Pointer to Files collection: Not Supported?

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...

umama fakher
Posts: 0
Joined: Fri May 22, 2015 4:26 pm

Creating a Pointer to Files collection: Not Supported?

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!

Return to “Issues”