Skip to Content
Former Member
Jul 04, 2014 at 10:14 AM

HTML5 DOCTYPE in custom WPC web form



we are implementing a custom WPC web form along following SAP documentation:

The new web form incorporates JS-Scripts from an open source project (

However, this JS-Application requires a HTML5 DOCTYPE, which needs to bedefined in the root of an HTML document. At runtime of the web form the HTML5 DOCTYPE is missing and the JS-Application is not properly running.

I found following SAP note "1713259 - PRT support for HTML5 doctype" which focuses on this topic. It mentions two possible options:

- Enable HTML5 DOCTYPE for entire portal environment,

- ... or enable HTML5 DOCTYPE only for custom portal applications.

However we only want to enable HTML5 DOCTYPE for the WPC component runtime.

Is there any option to enable this via configuration in WPC... or any other ideas?

Best regards