Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Found the problem :)
pageId = new KeyValuePair<string, object>(pageId.Key, pageReference.ID);
should have been
pageId = new KeyValuePair<string, object>(pageId.Key, pageReference.ID.ToString());
Database was not expecting an int, its always the little things that get you..
Hello, Iam trying to overwrite input values on a submission on the formssubmitting event. This is my code:
This code works and replaces the value of the in this case "pageID" input field that i have in my form. When i export the submission forms from episerver edit i get a list that represents the new value correctly. But in the "Forms submissions" tab in episerver edit in a form the view is empty.
If i remove the code that adds a new keypair value and post my form again the view is full again and the forms where i changed the "pageID" are also there with the new value.
I need a better way to go about this because i think iam missing something, thanks!