Page 1 of 1

how do i send a push when a new entry in a collection is created

Posted: Sat Aug 09, 2014 7:05 am
by Shawn Johnson

I am looking for a way to send a push notification when a new entry in the collection is detected.


how do i send a push when a new entry in a collection is created

Posted: Sat Aug 09, 2014 11:37 am
by Alena Prykhodko

Hello Shawn,

There is no such build-in feature, we'll check what is the best workaround and will update. This will take some time.


how do i send a push when a new entry in a collection is created

Posted: Mon Aug 11, 2014 4:56 am
by Alena Prykhodko

Hello,

You will need to use custom server code script:

1 Create collection record;
2 Generate Push.

http://devcenter.appery.io/documentat...
http://devcenter.appery.io/documentat...
http://devcenter.appery.io/documentat...


how do i send a push when a new entry in a collection is created

Posted: Mon Aug 11, 2014 2:28 pm
by Shawn Johnson

Thank you,

do you have any insight on a method to determine if a new record has been added to a collection?

-Shawn


how do i send a push when a new entry in a collection is created

Posted: Mon Aug 11, 2014 9:57 pm
by Yurii Orishchuk

Hi Shawn,

Unfortunatly there is now such method or event.

So there is detailed plan for Alenas suggestion:

1 Create Server code script. See details: http://devcenter.appery.io/documentat...

2 In this server code you need implement:

2.1 Create item in DB. See details: See details here: http://devcenter.appery.io/documentat...

2.2 Send push you need. See details: See details here: http://devcenter.appery.io/documentat...

3 Then you need invoke this server code instead of "create" service.

That's all.

Regards.