Skip to Content

First step – figure out the root iView object path

  1. Find the iView in the Portal content catalog, and open the context menue.
  2. Choose the “Trace Delta Links” option

/wp-content/uploads/2015/05/1_708586.png

You’ll get a tree showing you the hierarchy of the delta links.

  3. Copy the URL of the top-most iView (see in the picture below), and keep is aside.Now you have the path to the root iView which you’re going to change.


/wp-content/uploads/2015/05/2_708597.png




Step 2: Add the “DefaultDocumentMode” property to the root iView

  1. Open the PCD inspector tool
  2. Click on the “URL” button (see picture below)/wp-content/uploads/2015/05/3_708598.png
  3. Add the URL of the root iView which you’ve saved from the first step, and click “Browse Into” (see picture below)/wp-content/uploads/2015/05/4_708605.png
  4. Open the property editor of the iView

/wp-content/uploads/2015/05/5_708611.png

  5. Click on switch to PCM

/wp-content/uploads/2015/05/6_708612.png

  6. Click on “Create new property” button

/wp-content/uploads/2015/05/7_708613.png

  7. Add property : “DefaultDocumentMode” with value “Quirks” and click on “create” button

/wp-content/uploads/2015/05/8_708617.png

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Abhijeet Kulkarni

    This is quite detailed. I’ll surely explore. However, my question is, can this be used to fix the issue where the page document mode is EmulateIE7 or likes, but the individual iViews are on edge? I highly doubt.

    (0) 
    1. Maya Amit Post author

      Hi Abhijeet,

      Your doubts are correct. This will not affect a single iView if it’s running inside a framework page, bcause the iView resides inside a wider markup and the framework page markeup determines the document mode for what is running inside of it.

      There is a solution in Portal for such cases of condrudictions between the needs of the framework page and an iView: you set the “Launch in new window” property of the iView to “Open in new headerless window (standard mode)” – this will cause the iView to be opened in a new window with a headerless framrwork page which supports standard mode.

      You can read more about rendering issues and solutions in an extended blog that I wrote about the subject.

      Best Regards,

      Maya

      (0) 
      1. Abhijeet Kulkarni

        Hi Maya,

        Thanks for the clarification. I’ve benefitted immensely from that earlier blog post. I somehow got hold of it, through social media or SCN newsletter I’m not sure, but its PDF is on the desktop as ready reckoner. 🙂

        (0) 
  2. Sascha Rissel

    Hi Maya,

    many thanks for this blog post!

    Do you know with which values this property DefaultDocumentMode is intended to be configured with?

    I read about “Quirks”, but how can I distinguish between HTML5 and HTML4 Transitional DocType?

    Kind regards,

    Sascha.

    (0) 

Leave a Reply