Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

Hello Dave!

Did you share the app?

Dave Troxel
Posts: 0
Joined: Fri May 09, 2014 1:07 pm

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

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

Could you clarify it's name please?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

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

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.

Dave Troxel
Posts: 0
Joined: Fri May 09, 2014 1:07 pm

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

  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.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

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

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.

Dave Troxel
Posts: 0
Joined: Fri May 09, 2014 1:07 pm

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

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

Return to “Issues”