95 views

Description

If you create a content_block_iframe record and set the URL to point to the $pwd_change UI Page provided as part of the Password Reset plugin, when you display the content block on a content page, the iFrame height is initially too short and the page is cut off.

If you do anything to change the browser window size, it will immediately resize and display the entire content page.

Steps to Reproduce

 

  1. Navigate to Content Management > Specialty Content > iFrames and click New.

  2. Create a new content_block_iframe record with the following values:

    • Name: Password Change
    • Sizing: Expand to fit content (internal content only)
    • URL: /$pwd_change.do?sysparm_url=pwd_change.
  3. Click Submit to save the content_block_iframe.

  4. Navigate to Content Management > Pages and click New.

  5. Create a new content_page record with the following values:

    • Name: Test
    • URL suffix: pwd
    • Title: Test
  6. Right-click on the header and choose Save.

  7. Click the Edit Page related link.

  8. Click the Add Content link, and add Content Blocks > Password Change to the content_page.

    Note that in the Preview pane, you can already see the block is being cut off.

  9. Click the Add here button to put it at the top of the content_page spanning the page.

  10. Click the Preview link at the top of the page.

    Note that the content is cut off.

  11. Click the right browser border and drag slightly to re-size.

    Note that the iFrame resizes to display the whole content.

 

Workaround

On the content_block_iframe, specify fixed sizing values instead of Expand to fit.


Related Problem: PRB944282

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-09-13 09:46:39
Published:2017-06-28