SaaS CMS has officially launched! Learn more now.

Form submissions 'Export as' programmatically

KF
KF
Vote:
 

Is it possible to trigger the function that editors can do in forms?

#230087
Oct 29, 2020 14:48
Vote:
 

Can you explain a bit more about what you are trying to accomplish?

Maybe also review the documentation for Forms Service API to see if it helps your situation:

https://world.episerver.com/documentation/developer-guides/forms/using-forms-serviceapi/ 

#230094
Oct 29, 2020 17:50
KF
Vote:
 


Hi Chris, 

Thank for your response.

There is a button 'Export as' that allow editors to export submissions.
I wonder if I can call that function with code. 



#230132
Oct 30, 2020 7:16
Vote:
 

It is unfortunately a service that you can use by code - it's a controller that does that export. I guess it make senses to have a service for doing the export. I will file a bug to AddOns team and see if they agree

#230139
Oct 30, 2020 13:14
* 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.