Using Active Cast to display a poll
Hi,
I'm trying to use Active Cast to display a poll on various pages on our website and allow for anonymous voting.I have the poll set up to allow for anonymous voiting, and I also changed the default permissions so "Allow user to make REST API calls with read access" is set to grant ("Allow user to make REST API calls with modify access" is still set to deny, though). Also, for the poll, at one point I had security by cookie set, but have sinced changed that to security by IP.
After some early struggles, I am able to display a sample poll on a test page using the Active Cast code, but I'm not able to vote, either when logged in or when not.
when I click the submit button, the page makes a call to our forum, but nothing updates in the poll. I looked at the headers, here's the call:
http://forum.crucial.com//t5/activecast/serverproxy#0:init:id=XhrIframeProxy3&client=http%3A%2F%2Fcrudevnet.micron.com%2Fjs%2Fxip_client.html&callback=dojox.io.proxy.xip.fragmentReceived
this gets an HTTP 200 OK response.
any suggestions?
thanks!
Hi grizfan,
You need to set the "Allow user to make REST API calls with modify access" permission to "Grant" to allow users to make any rest call that will modify the application, such as voting on a poll.
That should do the trick. :)