Search found 14 matches

Go to advanced search

by RakeshMalik
Sat Jul 09, 2016 1:05 am
Forum: Issues
Topic: Invoking an update service with Javascript
Replies: 13
Views: 1511
 
Jump to post

Invoking an update service with Javascript

I did, though I haven't been able to track down the source of this error, since it seems like it's coming from the mapping, but it might be some other of my code, and the error is just getting reported for the wrong line. jquery-2.1.1.js:8554 Synchronous XMLHttpRequest on the main thread is deprecat...
by RakeshMalik
Wed Jul 06, 2016 4:32 pm
Forum: Issues
Topic: Invoking an update service with Javascript
Replies: 13
Views: 1511
 
Jump to post

Invoking an update service with Javascript

URL:
http://classoutsideadmin.app.appery.i...

Click "create new hunt"
Give it a name and select all of the available categories
Click "Save hunt"

Thanks!

by RakeshMalik
Fri Jun 24, 2016 2:21 am
Forum: Issues
Topic: Invoking an update service with Javascript
Replies: 13
Views: 1511
 
Jump to post

Invoking an update service with Javascript

Just one, and I already have a database service imported that isn't working. It's having trouble with the mapping: mapping-impl.js:258 Uncaught TypeError: Apperyio.storage[name].get is not a function So clearly something is wrong in the imported service. Once again, is there a way to regenerate the ...
by RakeshMalik
Wed Jun 22, 2016 2:50 am
Forum: Issues
Topic: Invoking an update service with Javascript
Replies: 13
Views: 1511
 
Jump to post

Invoking an update service with Javascript

Is there a way to regenerate the service?

by RakeshMalik
Wed Jun 22, 2016 2:33 am
Forum: Issues
Topic: Invoking an update service with Javascript
Replies: 13
Views: 1511
 
Jump to post

Invoking an update service with Javascript

I tried saving the huntId and Questions array in local storage, and setting up the mapping using the app builder. The results are different, thought not any better. jquery-2.1.1.js:8623 OPTIONS ]https://api.appery.io/rest/1/db/colle... send @ jquery-2.1.1.js:8623jQuery.extend.ajax @ jquery-2.1.1.js:...
by RakeshMalik
Wed Jun 22, 2016 1:19 am
Forum: Issues
Topic: Invoking an update service with Javascript
Replies: 13
Views: 1511
 
Jump to post

Invoking an update service with Javascript

It turns out that the rest app wasn't refreshing with updated code, so it was hiding a problem. So this code: updateHuntQuestions.execute({ body: { where : {' id' : huntId. id}, operations : {$set: {'Questions': questions} } }, success : function(){console.log('hunt updated successfully');}, error :...
by RakeshMalik
Sat Jun 18, 2016 6:14 am
Forum: Issues
Topic: Invoking an update service with Javascript
Replies: 13
Views: 1511
 
Jump to post

Invoking an update service with Javascript

I updated my code using what's listed in that topic, but it's not working. I'm getting a success result, but the update isn't happening. updateHuntQuestions.execute({ body: { where : {'_id' : huntId}, operations : {$set: {'Questions': questions} } }, success : function(){console.log('hunt updated su...
by RakeshMalik
Mon May 23, 2016 8:53 pm
Forum: Issues
Topic: Invoking an update service with Javascript
Replies: 13
Views: 1511
 
Jump to post

Invoking an update service with Javascript

I'm trying to call an update service to add a value to an existing DB entry. I have the ID, and I generated an update service, and imported it into the pages data services. I'm trying to call it this code: updateHuntQuestions.execute({ data: { '_id' : huntId, 'colName': { 'Questions':questions } }, ...
by RakeshMalik
Thu Feb 18, 2016 12:10 am
Forum: Issues
Topic: create service bug has crippled my app
Replies: 20
Views: 6062
 
Jump to post

create service bug has crippled my app

Why isn't there an example showing the syntax of this in a logical place like where you describe mapping request parameters? It's been a while since I did it, so I don't remember what the parameter looks like (I remember it was pretty simple, but my guess isn't working)... and it's nowhere logical, ...
by RakeshMalik
Thu Feb 04, 2016 10:52 pm
Forum: Issues
Topic: Conditional mappings when looping over list items when invoking services?
Replies: 3
Views: 526
 
Jump to post

Conditional mappings when looping over list items when invoking services?

I'll see if I can do it via storage vars... that might enable me to do what I'm trying to do, unless in the mean time you give me a better suggestion. :)

Go to advanced search