Support Topics Documentation Slack YouTube Blog

Using smart text in push notification template


(zeev mindali) #1

I hage a template that using smart text.
it’s takes data from related database in user table.
the information exists, but I getting null in the push


(Mark Piller) #2

Please attach the following screenshots:

  1. Listing of device registrations (from the Data screen) showing that devices have relationship to the objects from the Users table. This would be in the user column.
  2. The WHAT screen of your push template
  3. The WHO screen of your push template.

Regards,
Mark


(zeev mindali) #4

start to figure it out:
sometimes I getting
Server reported an error: javax.persistence.RollbackException: Error while committing the transaction

and sometimes the registration is fine.
tried to google the error with no success


(zeev mindali) #5

closing this thread for a new thread


(Mark Piller) #6

So the value arriving as null is no longer an issue?


(zeev mindali) #7

no, I figure it out, since I registering in view controller and not in Appdelegate
I getting token from apns
but getting
Server reported an error: javax.persistence.RollbackException: Error while committing the transaction

in time to time