Page 2 of 3

I need to have new db copy made for every app install

Posted: Mon Jun 30, 2014 8:52 am
by Maryna Brodina

Hello Dave!

Did you share the app?


I need to have new db copy made for every app install

Posted: Mon Jun 30, 2014 12:38 pm
by Dave Troxel

a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a -yes- can you not see it?


I need to have new db copy made for every app install

Posted: Mon Jun 30, 2014 12:46 pm
by Maryna Brodina

Could you clarify it's name please?


I need to have new db copy made for every app install

Posted: Mon Jun 30, 2014 1:16 pm
by Dave Troxel

Medi-List5xs


I need to have new db copy made for every app install

Posted: Mon Jun 30, 2014 1:22 pm
by Maryna Brodina

Thank you!
We will take a look and let you know.


I need to have new db copy made for every app install

Posted: Tue Jul 01, 2014 2:05 am
by Yurii Orishchuk

Hi Dave.

We can see you app shared with us.

Please provide us information about how we can reproduce your problem.

And also give us desired steps(how do you want it to work).

Regards.


I need to have new db copy made for every app install

Posted: Tue Jul 01, 2014 3:39 pm
by Dave Troxel
  1. New user registers

    1. Enters new meds or new doctors into forms in app (UI) which posts that info to the collections (MedsColl and DocsColl)

    2. Their entries should only be seen by them alone. Each registered user should only see their own entries in the collections and no one elses.

      This way everyone that downloads and registers within the application will have to log in each time they open it, and will only see lists of meds or doctors THEY have personally entered into the app.

      Make sense? Thanks.


I need to have new db copy made for every app install

Posted: Wed Jul 02, 2014 4:30 am
by Dave Troxel

Hello?


I need to have new db copy made for every app install

Posted: Wed Jul 02, 2014 10:55 pm
by Yurii Orishchuk

Hi Dave.

I see following problems in your implementation:

1 In create "meds" service you don't have "userId" field. This field should be auto filled with current user "_id".
http://prntscr.com/3ytdos/direct

http://prntscr.com/3yte6d

Did you add "userId" field in your collection as suggested?

2 You have enable "secure collection" in your collection settings. Please disable it.

http://prntscr.com/3ytenq/direct

Regards.


I need to have new db copy made for every app install

Posted: Thu Jul 03, 2014 2:57 pm
by Dave Troxel

I've added userid to both collections, I thought that is what I had to build the 'owner' field for but now has both.

Also, cannot get into the create service. Any service for that matter.. will not open to be edited.

Image