Skip to main content


 

Symptoms


Deployed smart forms within SharePoint 2013 sites using the K2 FormViewer web part. This web part does not accept connections from other web parts on a SharePoint page. What is the best method for passing a SharePoint URL query string parameter down to a K2 SmartForm hosted within a web part? Found solutions that appear to be designed for SP 2010 but not SP 2013. JavaScript solutions seem to have issues due to security constraints and cross site scripting settings (SharePoint sub domain is different than the SmartForms sub domain but both share the same suffix).
 

Diagnoses


n/a
 

Resolution

The K2 Form is hosted within a iframe element on the sharepoint page, therefore you can use javascript to pass parameter between iframes. Please take a look at the following articles:
http://help.k2.com/kb001351
http://www.codeproject.com/Questions/698098/How-to-pass-value-dynamically-in-iframe




 
Be the first to reply!

Reply