Search found 8 matches

Go to advanced search

by Mark Bowen6778362
Wed Apr 09, 2014 1:25 pm
Forum: Issues
Topic: Search a JSON array using database _id returned from REST
Replies: 4
Views: 386
 
Jump to post

Search a JSON array using database _id returned from REST

Thanks - that helps, the 'if exists' appears to have made my code work

As always very helpful

by Mark Bowen6778362
Tue Apr 08, 2014 8:45 pm
Forum: Issues
Topic: Search a JSON array using database _id returned from REST
Replies: 4
Views: 386
 
Jump to post

Search a JSON array using database _id returned from REST

Hi, Thank you. it is being returned from a REST list service - using this tutorial http://docs.appery.io/tutorials/build... so value._id is the id column in my database I get 534305d6e4b013c661e5e558 for my first item - this is the correct id number If I do typeof item - it returns as a string Mark
by Mark Bowen6778362
Tue Apr 08, 2014 8:04 pm
Forum: Issues
Topic: Search a JSON array using database _id returned from REST
Replies: 4
Views: 386
 
Jump to post

Search a JSON array using database _id returned from REST

Hi I think I am making a very simple error around data types - hope someone can help me tell how to convert this data to make my JSON search work The concept is that I have a database REST service and I want users to be able to set the items and order as a subset using local storage I have a localSt...
by Mark Bowen6778362
Fri Apr 04, 2014 8:15 pm
Forum: Issues
Topic: Transfer JSON from ACL column of database into SQLite
Replies: 2
Views: 229
 
Jump to post

Transfer JSON from ACL column of database into SQLite

Oh yes! Thank you.... its been a long week.

by Mark Bowen6778362
Fri Apr 04, 2014 3:39 pm
Forum: Issues
Topic: Transfer JSON from ACL column of database into SQLite
Replies: 2
Views: 229
 
Jump to post

Transfer JSON from ACL column of database into SQLite

Hi I am trying to transfer the contents of the acl column from my database into a SQLite database to use for local storage I have used the tutorial and it is working for every column except the acl one. I have defined the entry in my SQLite database as TEXT - and when they didn't work tried as BLOB ...
by Mark Bowen6778362
Wed Apr 02, 2014 7:21 pm
Forum: Issues
Topic: Server code query to users database returns 200 whether records exist or not
Replies: 4
Views: 355
 
Jump to post

Server code query to users database returns 200 whether records exist or not

I have changed to XHRResponse.body.length to check whether a record exists and it works. Thanks you for your help - again

by Mark Bowen6778362
Wed Apr 02, 2014 6:28 am
Forum: Issues
Topic: Server code query to users database returns 200 whether records exist or not
Replies: 4
Views: 355
 
Jump to post

Server code query to users database returns 200 whether records exist or not

Yes these are defined, I just chose not to share them on a public forum

As I say my problem is why the database is returning 200 whether the address contained within 'email' exists or not

by Mark Bowen6778362
Tue Apr 01, 2014 9:30 pm
Forum: Issues
Topic: Server code query to users database returns 200 whether records exist or not
Replies: 4
Views: 355
 
Jump to post

Server code query to users database returns 200 whether records exist or not

I have a server code will create an email invitation if a user does not exist. My code works perfectly and I have removed the - thanks to the great tutorials and guidance here with one exception. I am testing with a valid token, database id and masterkey Even if the user does not exist the XHRRespon...

Go to advanced search