Outputting a form as XML?

  • 8 December 2017
  • 1 reply
  • 6 views

Userlevel 3
Badge +16

Hi all,

 

Just something i'll be looking at on the horizon is outputting a form request in XML format so that it can be used by other systems to be imported, anyone done this?

So once a form is submitted and processed via a K2 Studio Workflow (or even within K2 Designer), can you output relevant fields to an XML file?

 

I've never touched XML, so just wondering if this is at least possible

 

Thanks,


1 reply

Userlevel 5
Badge +18

I assume you are just referring to the data/data structure that was submitted; and not also the XML of the form (as likely only the SmartForms/Blackpearl engine will be able to intepret the Form/UI aspect).


 


If just the data (SmartBox, SQL, Sharepoint List/Library backends); SmartObject services can return the XML/JSON structure of these data via REST/WCF endpoints:


http://help.k2.com/onlinehelp/k2blackpearl/DevRef/4.7/default.htm#SmartObjectWCFServices.htm


 


In K2 Five, it also support Odata:


http://help.k2.com/onlinehelp/k2five/userguide/5.0/default.htm#K2_Management_Site/Integration/SmartObjectODataService.htm?Highlight=odata


 


 

Reply