How to include the existing HTML page that I already have.

How to include the existing HTML page that I already have.

  

I would like to add HTML page to the site and not to include any of the script or css files which are included because of my workflow theme.

I have a situation where htmltopdf component(wkhtmltopdf) is not rendering my header file in all my PDF content pages because of the heaviness of my header page - it is taking ages to load and I would like to trim the unnecssary css and js files and keep it very thin.


Note: I don't want to include HTML page inside an IFrame.

Solution

I realised that we could circumvent the above situation by adding the HTML file to the resources section and access it and the only downfall is that we can't apply security settings(permissions) directly. However, we can validate credentials via rest web service call if required.

Solution