Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

get data from user collection

I need to grab an email address from the User collection, but I can't find a service available for it.See below:

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

get data from user collection

Hi Terry,

You will need a separate service, see here please:
http://devcenter.appery.io/documentat...

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

get data from user collection

I tried following the article, but I am getting an error on TEST:

Image

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

get data from user collection

Hello Terry,

You service should have following settings and request page:
Image
Image
Image

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

get data from user collection

Still having problems, getting same error:

Image

Image Image

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

get data from user collection

Terry,

Could you please give us public link to your application: http://devcenter.appery.io/documentat...

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

get data from user collection

Hi Terry,

Did you solve it?

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

get data from user collection

No, I haven't solved it, here is a public link to my app:

http://appery.io/app/mobile-frame?src...

the login is admin password ravine.123

the page is where's dougie and the service is GetUserService,

sorry for the delay in coming back, I was working on something else.

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

get data from user collection

Hello Terry,

X-Appery-Database-Id and X-Appery-Session-Token must be marked as header: http://devcenter.appery.io/wp-content...

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

get data from user collection

Thanks for that, the Test now works and I created the response parameters from that. I mapped the email field to the start field in the Where's Dougie page.
However, when the service is run (page load), I get 401 (Unauthorized) error.

http://appery.io/app/mobile-frame?src...

Return to “Issues”