Skip to main content


 

Symptoms

 


When using K2 4.6.9 or newer version against SharePoint 2010 environment there is certain issues with K2 SmartForms running inside of SharePoint web parts.
 

 

Diagnoses

 


Starting from version 4.6.9 K2 SmartForms don't support Internet Explore 8 as well as IE8 Compatibility mode and this is covered by the following official K2 KB article:

 

 

 

Known issues when running Forms or the Forms Viewer web part in Internet Explorer 8 or IE8 Compatibility mode (KB001696)

 

 

 

If you still using SharePoint 2010 you have dependency on IE8, as integration with SharePoint 2010 requires even later Internet Explorer versions to run in IE8 compatibility mode. To support this scenario Forms.LegacyBrowserSupport application setting is available. When this setting is enabled the Unsupported Browser message that would normally block the user will not be displayed, as older, deprecated JavaScript libraries are delivered to the browser instead of the newer and faster libraries which are not supported by IE8.

 

At the same time it is documented/noted in the same KB that: "Certain SmartForm controls have a dependency on the newer libraries. This resolution may result in errors or issues with Forms if the Forms.LegacyBrowserSupport is enabled - some browser APIs and features may not be available.

 

The controls in Control Pack 4.6.9 are an example of controls dependent on the newer libraries." With regards to this specific issue it is confirmed that an event 'When the View executed List item click' does not work on the Share Point 2010 web page when K2 SF is used as a web part with Forms.LegacyBrowserSupport option set to enabled and this is one of the cases where we missing some required browser APIs/features available only in newer version of IE.

 

 

 

Workarounds:

 

- Use double-click instead of one-click

 

- Disable Forms.LegacyBrowserSupport, in this cape you will have to cope with warning instead of form, but it will contain a link to open form in a new tab where it will work correctly

 

- Split your share point sites so that one which hosts K2 smartforms has default document mode set higher then IE8, keep K2 for SP2010 web parts on a separate site with default document mode (IE8), which is required for these web parts to work correctly (in particular K2 Worklist web part)

 

- The worklist web part for sharepoint 2010 only works in IE 8 or below. The worklist web part is one of the older web parts so it was not designed to work with later versions of IE. The workaround for this issue was to create a blank form in K2 Designer, add the worklist control to this form, and then use the K2 Form Viewer web part to display the worklist form on a sharepoint site. The K2 Form Viewer web part does function in IE 11 and the worklist control provides similar if not the same functionality that the web part does

 

- Upgrage to SP2013, there we have new app parts (e.g. Worklist App Part) which works in newest versions of IE. See related K2 communtiy KB:

 

K2 Worklist Web part
 

 

Resolution

This error is expected behavior due to compatibility limitations between K2 SmartForms 4.6.9 or newer and IE8 browser which is not supported from K2 SmartForms starting from SF 4.6.9. See possible workarounds above.

 

 



 
Be the first to reply!

Reply