Questions tagged [parse-cloud-code]

This code runs in the Parse Cloud rather than running on a mobile device. For complex apps, sometimes developers just need a bit of logic that isn't running on a mobile device. Cloud Code makes this possible.

The Parse Platform's vision is to let developers build any mobile app without dealing with servers. For complex apps, sometimes developers just need a bit of logic that isn't running on a mobile device. Cloud Code makes this possible.

Cloud Code is easy to use because it's built on the same JavaScript SDK that powers thousands of apps. The only difference is that this code runs in on a Parse Server rather than running on a mobile device. When developers update their Cloud Code, it becomes available to all mobile environments instantly. They don't have to wait for a new release of their application. This lets developers change app behavior on the fly and add new features faster.

1120 questions
0
votes
1 answer

Error While Updating parse.com Parse Object

We wrote the parse cloud function to update the object . Until today morning it was working fine. Now our cloud code is not working . can you please check this ? Below is our code to update the object which is throwing error var point = new query();…
venkatesh
  • 164
  • 1
  • 13
0
votes
1 answer

How to create progressive jpg on parse

I have a fairly large class on parse, with about 10,000(each of about 5mb, then generated smaller ones of about 300kb and 30kb) images and growing rapidly. I need to generate progressive jpegs for each image. Is there a way i could do this on parse…
nairobi
  • 1,383
  • 1
  • 9
  • 11
0
votes
1 answer

How to pass Parse.com Cloud Code parameters correctly?

I am calling a cloud code function with Parse js Parse.Cloud.run('enterproductwithid', { "token": token, "objId": objectIdOfCurrentProd, "username": currentUser1.username } And my cloud code function is:…
0
votes
0 answers

Parse Javascript how to constrain query: "not contained in result of other query's key"

I have User class and Follow class. User is the standard Parse User class. My Follow class contains the follower and followed columns, both pointers to User instances. I am trying to return a list of Users which are not followed by my user. I know I…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
0
votes
1 answer

Parse's javascript CloudCode's string manipulation for httprequest adding extra backslash

I have simple javascript in parse's cloud code to collect list of email addresses which I add to my httprequest in cloudcode to send to mandrill. However, the http request seem to have extra backslashes(\) causing mandrill to reject the request.…
0
votes
0 answers

any idea why the below parse cloud code parallel promises do not run?

Am trying to match urls depending on the id given that i dont know if the id given is an object id / title / shorturl code. var promises = []; var id = request.params.id; //short url queryShortUrl = new…
nairobi
  • 1,383
  • 1
  • 9
  • 11
0
votes
2 answers

Parse Cloud Code Stripe Module Charges.Create Not Working and Now Deploy Not Working

I am using the Stripe Parse Cloud Code Module to try and charge a card that I collected the information from in my iOS app. I am using the guide from the parse website: http://parse.com/docs/cloud_modules_guide#stripe Here is my version in…
0
votes
0 answers

How to download older versions of Parse CLI?

I'm having a compatibility issue with the current Parse CLI (v1.4.2) and I'm trying to find a copy of an older version such as 1.4.1. I know, from inspecting the install script that the initial curl command accesses, that the current version is…
Ben Wheeler
  • 6,788
  • 2
  • 45
  • 55
0
votes
1 answer

Error message from Cloud-Code, using parse.com

I'm developing a new App where I request users to sign up via the phone number, so that I can store it in Parse.com's database. I am doing it to use the same phone numbers to send push notifications. I have been trying to accomplish this by using…
Timo Cengiz
  • 3,367
  • 4
  • 23
  • 45
0
votes
1 answer

parse.com Cloud Code: some in list of objects not saved

new to parse in the last couple of days, and was wondering if anyone might know what my problem is. I'm trying to create a background job that retrieves a list of strings from an external server, then loops through that list, saving objects…
0
votes
1 answer

Unable to send Push notification to Installation via Parse CloudCode

I'm attempting to send a push notification to a specific user's installation. In the user class I have a column which is a pointer to an installation instance. Here's my code: Parse.Cloud.beforeSave("Notification", function(request, response) { …
Dan
  • 345
  • 2
  • 17
0
votes
0 answers

Receive JSON string from client and directly convert it to JSON object and save on server?

I wanna speed up the process of saving (developement time) some objects on Parse and wonder if the following is possible: I have an object called TestObject with the columns: testCol1, testCol2 ... testCol9. If I wanted to save an object of this…
Whyser
  • 2,187
  • 2
  • 20
  • 40
0
votes
1 answer

Parse Deploy failed with error:TypeError: Object [object Object] has no method '_extend'

I am trying to deploy my code as I always do, nothing special: var Post = new Parse.Object.extend("Post"); When I try to deploy my JS file as I've done about 2000 times or so before, I'm getting this error: Deploy failed with error:TypeError: Object…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
0
votes
1 answer

Parse - Retrieve only items with matching ACL

Sorry if my title isn't really what I'm after, had a hard time thinking of a good one. I'm fairly (very) new to Parse and here's my (probably quite easy) question: I've got two users: "Test_user_1" and "Test_user_2". I've created an instance…
Whyser
  • 2,187
  • 2
  • 20
  • 40
0
votes
1 answer

Scheduling and configuring parse jobs for users

I'm using Twilio for my website and parse as a backend for a POC I'm working on. I have the following scenario: User signs up - I store user in parse - I send them a text at a later date depending on their profile. I am able to schedule system…
AndroidEnthusiast
  • 6,557
  • 10
  • 42
  • 56