cancel
Showing results for 
Search instead for 
Did you mean: 

iViews not being displayed with AUTOMATIC height

Former Member
0 Kudos

Hello guys,

I created some iViews and changed their property Height Type to AUTOMATIC. It worked fine, since all iView frames were adjusted to the size of the content. However, some days later, the same iViews started to be displayed with a FIXED height. If I check the same property Height Type, they still as before (AUTOMATIC). Could you please help me?

This is such a small issue, but is driving me crazy!

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Fernando,

What kind of iViews did you create? Are you rendering them by bypassing the server?

Pete

Former Member
0 Kudos

Hello Peter,

The iViews are URL iViews pointing to static HTML pages within WebAS folder structure (for prototyping purposes).

Thanks

Fernando

Former Member
0 Kudos

Automatic Height doesn't work with URL iViews. You need to set the height and width of these iviews to certain size.

Former Member
0 Kudos

Actually, Automatic height with URL iViews works as long as the domain is the same as the portal's. You need to do some domain relaxing for this to work, like this :

	<script type="text/javascript">
		var x=document.domain.indexOf('.')+1;
		if (x>0) document.domain=document.domain.substring(x);
	</script>

Hope this helps.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

We are facing exactly the same problem, however our HTML pages are placed in KM of the Enterprise Portal. And for those we create URL iViews.

We've tried to put the suggested code in the HTML, but it didn't worked, when loading the page the code is read but it doesn't adjust the height of the iView.

Is there something else we can do to achieve the desired result?

Thanks,

Ana