November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
PageData remoteFormPage = this.GetPage(new PageReference(114));
StartPageForm.InnerProperty = remoteFormPage.Property["MainXForm"];
This correctly outputs the poll from the sample site - I haven't looked at getting the form to submit correctly from any page yet.
Ultimately, I need to display the most recent poll created by the admin user, filtered by category based on the current user. I was thinking of doing this via a dedicated folder containing pages, each with a simple poll, and then filtering based on date (most recently created) and category.
Any feedback on this idea would be appreciated.
/\dam
PageData remoteFormPage = GetPage((PageReference)CurrentPage["RemoteFormProperty"]); PropertyForm form = (PropertyXForm)remoteFormPage.Property["Form"]; StartPageForm.InnerProperty = form;
...but I keep getting a "System.NullReferenceException: Object reference not set to an instance of an object." error on the "StartPageForm.InnerProperty = form" line. I have also tried :
PropertyXForm form = (PropertyXForm)remoteFormPage.Property["MainXForm"];
...with the same results. If anybody could suggest where I am going wrong it would be appreciated. /\dam