[Wish]_Ability to insert HTML <HEAD> and <!DOCTYPE> tags in a certain screen

[Wish]_Ability to insert HTML <HEAD> and <!DOCTYPE> tags in a certain screen

I'd like to have a SS mechanism to insert these HTML tags to apply to a screen. Currently there is no "built-to-change" to do this in our platform. This could be something like the "Extended Properties" where a dropdown list would be with some common tags and a placeholder for it's value with an expression editor. Of course, maybe a reserved space for <!DOCTYPE> should be in order since it has different semantics from the <HEAD> section.
This could also be present on flow level, where this would be applied to all screens within, or even on eSpace level.
Votes: 2

This is a must for linking external scripts / css files.

Paulo Ramos
Hello Nuno,

I understand the need to place content in the <head> part of <html>, but just to clear things up, what kind of tags are you planning on placing there. I suppose the most important ones are meta tags... Which ones are more important? (keywords, description, ...)

About the <!DOCTYPE>, are you aware that you actually have two options for this? If you go to the eSpace advanced options you can choose between standard and quirks mode. Check out the help file at http://www.outsystems.com/help/servicestudio/7.0/default.htm#Getting_Started/eSpace_Properties.htm

Hi Rodrigo,

About the <!doctype> tag: I am aware of this possibility. I had one case, though, where, for being able to correctly display a javascript menu provided by a customer, I was required to specifcally use

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

For the <head> tag I was thinking mainly of meta tags, yes. Don't have a priority list, though.

Vote ++

Vote ++
Hi Nuno,

I dont know if this is what you want, but in outsystems the way that I do to change the <!DOCTYPE> tag in the html is by javascript.
On your onload javascript function in the body you can put for the specific screen this:

document.body.parentNode.parentNode.firstChild.nodeValue = "DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""; 
It will change the tag you want.

It passed already a lot of time since your post but I hope it helps.

Best regards,
       João Ferreira