0 Replies Latest reply on Jul 10, 2013 12:27 AM by patrick@appfusions.com

    Purposful Places - Calendar tiles JSON data

    patrick@appfusions.com

      I have trying to push JSON data to a purposeful places calendar tile, but is having some trouble to get Jive to accept the data.  I have tried cut & pasting the sample provided in the documentation (as shown below) but is still getting a 400 error.

       

      Can anyone see what I am doing wrong?

       

      var dataToPush = {
           data: {
                "title": "Upcoming Events",
                "events": [
                     {
                          "title": "event title",
                          "location": "location",
                          "start": "2013-04-12T07:00:00.000Z",
                          "description": "description",
                          "action": {
                               "text": "Check it out",
                               "url": "http://www.google.com"
                          }
                     }
                ],
                "action": {
                     "text": "All Events",
                     "url": "http://www.google.com"
                }
           }
      }; 
      
      
      jive.tiles.pushData(tile, dataToPush);