Try our conversational search powered by Generative AI!

Forms submissions export failing, CMS 12

Vote:
 

Hi, 

After upgrading to cms 12, its no longer possible for us to export form submissions. The export options are all 'undefined', and if clicked all of them makes a txt file that will fail to download. 

Any ideas what could be wrong? We have very little custom config for forms except some custom elements.

#291764
Nov 16, 2022 11:58
Vote:
 

Did you run the migration tool? These are all stored in the DDS which has strongly type references in the database to classes, I've seen in some other areas classes move in CMS 12 and the migration tool updates these in the DDS

#291775
Edited, Nov 16, 2022 15:53
Vote:
 

Do you mean the upgrade assitant or the DXP project migration? I've run both. And submissions are stored just fine, just can't export them. So most of the DDS should be fine at least?

I guess next step is to get Foundation up and check if it's working there.

Update: it does work in Foundation of course, so as usual its my fault :/ 

#291827
Edited, Nov 17, 2022 7:58
Vote:
 

This was actually due to new JSON conventions in dotnet core i think. At least Forms worked fine after we removed Newtonsoft and UseMemberCasing() from Startup

services.AddControllersWithViews()
        .AddNewtonsoftJson(o => o.UseMemberCasing());

Then we needed to more explicitly tell the JsonSerializer to use PascalCase a few places in our code and we were good

#292518
Edited, Dec 01, 2022 12:32
Dip - Jul 24, 2023 18:57
Hi, facing the same issue, I can see data coming but not displaying in the menu, do you know exactly where you did the PascalCase change to get it displayed
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.