Workflow Soluiton

 View Only
  • 1.  How to modify DOCTYPE in workflow form.

    Posted Sep 01, 2014 05:11 AM

    The default Doctype generated by workflow both in 7.1 and 7.5 in forms or display content web pages is:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    But now I have content that I want to display that is not working in IE with that DOCTYPE.

    It do work with doctypes:

    <!DOCTYPE HTML>

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

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

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    and even if I add en url (It do not even have to be vallid...) to the standard DOCTYPE the page works e.g :

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://this.is/an/invallid/url.dtd">

    How do I modify the DOCTYPE on pages that is generated by workflow?



  • 2.  RE: How to modify DOCTYPE in workflow form.

    Posted Sep 03, 2014 11:20 AM

    I think there's a forms component that will allow you to inject HTML of your choosing... I'll investigate this and see if I can get it working.

    EDIT: Think it's called IncludeHtml



  • 3.  RE: How to modify DOCTYPE in workflow form.

    Posted Sep 04, 2014 01:27 AM

    The problem is not that I cant add the html content that I want but that IE don't display it correctly as the DOCTYPE tag is wrong.

    The DOCTYPE tag is a tag that is absolutly first in an HTML docuemnt even before the <html> tag.
    I can change it using javascript but that will not help as IE do not rerender the page.



  • 4.  RE: How to modify DOCTYPE in workflow form.

    Posted Sep 17, 2014 02:41 PM

    I haven't found yet how to change it by default but after publishing your workflow you can edit form.aspx to change the doctype.



  • 5.  RE: How to modify DOCTYPE in workflow form.

    Posted Oct 01, 2014 07:29 AM

    Hi,
    Bumped into the same issue just recently with upgrade from 7.1.x Workflow to latest 7.5 SP1 (7.5.6153.0).

    Have created few custom Web frontends with Workflow and now when publishing updated projects again I find the all Form.aspx pages are updated with
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">.

    Otherwise comparing the "older" versions off Form.aspx pages there are no other differences. IE11, Firefox, Chrome (latest and greatest) require the Quirks - mode for our web portals to render correctly.

    IIS header fix, forcing IE5 Document mode (fine for IE11) obvioisly does not affect Firefox,Chrome.. so just by removing that new DOCTYPE line from code, renders pages in Quirks - mode for FF and Chrome as well.

    Really wondering where Workflow gets that and appends to published page??
     



  • 6.  RE: How to modify DOCTYPE in workflow form.

    Posted Nov 13, 2014 01:55 PM

    any update on this post? i am wondering the same as well.  Trying to run our pages with current gen CSS (html5)



  • 7.  RE: How to modify DOCTYPE in workflow form.

    Posted Nov 13, 2014 02:05 PM

    Symantec posted a fix but you need to call them

     

    http://www.symantec.com/business/support/index?page=content&id=TECH218478



  • 8.  RE: How to modify DOCTYPE in workflow form.

    Posted Nov 13, 2014 02:46 PM

    Thank  you contacted Symantec for the fix as well.  When I removed the doctype, obviously the format of the page was changed (unusable),



  • 9.  RE: How to modify DOCTYPE in workflow form.

    Posted Nov 13, 2014 03:08 PM

    If you are using a recent browser like IE11 you need to enable compatiblity mode in IE from my experience.  Older browsers display fine.