Height of iFrame shrinks automatically in a par iView

Hello all,
Requirement is,
On selection of month from dropdown list display the corresponding html file by generating url dynamically.
For this we tried using both, isolatedHtmlContainer HTMLB control and iFrame html tag. The URL is generated properly, even the contents are displayed accurately.
Now when we create an iView based on this par file, preview seems to be ok. But when we add this iView to a page, height of iFrame shrinks to default one, even though we specified it as "100%".
Can anyone help me out with this....... or any other way to achieve the same result.....
Thanks in advance,
Amol.

Hi Amol,
You got two options:
1. use Isolation Mode = EMBEDDED and under category "Appearence - Size" change the following: "Height Scale = Pixels", "Height Type = Fixed" and adjust the property "Fixed Height (Pixels)" to your desired size.
2. use Isolation Mode = ISOLATED (URL) and change the property "Height Type" to Automatic.
Please award points if you find this answer helpful.
Regards,
Amit.

Similar Messages

  • PAR Iview resizing problem....

    Hello Gurus,
    I have the following problem. I've develop a PAR Iview and i want to resize it on runtime. I've write on my PAR app. a javascript code, but the system shows me a javascript's error when i launch it on my portal, after open the error it says "EPCM Undefined" on this line:
    EPCM.subscribeEvent('urn:com.sapportals.portal:browser', 'load', initFooter);
    In my profile i've set EPCFLevel = 2, but my question is: do i have to reference or include a external jar or lib to my PAR??? witch one???. For General culture...a general info about my iview is: The type of my PAR (Iview) is: AbstractPortalComponent and it has a different namespace (com.<company>.portal.addon.footer) than the namespace i want to subscribe the event.... Please Help!!!!!, i dont know why this error happens...and how can i solve it...what am i missing here within my source code????....
    Regards,
    Mariana

    Hi Rajat,
    Thanx for answer me... now i have a question...why with the standard PAR Iviews that doesnt happens???... because that doesnt happens with all the iviews...happens only with mine's. I know that header Iviews (masthead) use the EPCM object, and it is working just fine, that is why I'm asking if there is an external library, jar, etc., that i have to include in my PAR in order to make it work. is This the only solution in my case???
    I will wait for your answer,
    Best regards,
    Mariana

  • PAR iView: Only one instance need to be opened by a user in a portal sessio

    Hi All,
      Please  let us know how to enforce only one instance of PAR iView is opened at a given time for a user.
    Regards,
    Gangadharayya.
    For Eg: let us say We have created PAR iview <b>A</b>. Once user <b>U</b> logs in to portal and opens A by clcking on iView link(Let us say that it opens in New Window).
            If U clicks once again on A iView link now , it is opening in one more new window.
           How to stop this scenario i.e. when user tries to open A once again, it should clsoe previous window or SOMETHING LIKE THAT

    Hi,
    How do you link to IView ? If you link with html like
    <a href="http://www.sap.com" target="_blank">SAP</a>
    try to use a target parameter
    <a href="http://www.sap.com" target="sap">SAP</a>
    If you link in this way,
    First time user clicks link,
    It opens new window
    If user clicks the link second time it just refreshes previous opened window.
    Regards
    Abdul.

  • Linking help from Masthead area par IView.

    Hi All,
    I hv to link the Help option provided in masteadhead area to a par IView which I created in JSPDynpages. This IView is stored in Portal_Content/MyFolder
    However, I am confused how to link this help option from masthead area. My requirement is, when we click on Help option it should open this par IView in a new window instead of pop-up window.
    Please, help me in this regards. Any other ideas also welcome. Appreciate your time and valuable inputs.
    Best Regards,
    Ravindra.

    Hi Ravindra,
    You can do that easily .
    Refer to this blog for masthead address.
    MastHead Change & Portal Desktop
    In the masthead iview open the property there you can define the link to the Help Content.(look for help link property)
    Change the value there.
    Sample:-
    http://portal.acme.com/irj/index.html?navigationtarget=roles://portal_content/acme/roles/com.acme.role.public/com.acme.workset.public/topics/politics/com.acme.page.health.
    Short(ening) Portal URLs
    Refer to this also
    http://help.sap.com/saphelp_nw70/helpdata/en/38/5dc53e5ae84d3be10000000a11405a/frameset.htm
    Thanx
    Pankaj

  • Embed wordpress with iframe that automatically adjusts height

    I have been on the search for an iframe code like the one shown in the embedding tumblr jam session but I need one that will adjust the height of the iframe according to the content of the page! its for embedding a wordpress blog into my muse blog section!
    anyone please!
    I built this site with muse, and I'm currently working on the mobile and tablet versions!
    http://rigandkeel.com

    Try this: (Fluid iFrame)
    http://www.dyn-web.com/tutorials/iframes/fluid/
    From here:
    http://www.dyn-web.com/tutorials/iframes/
    Nick.

  • Variable height for iframe on different domain

    Our company is developing an internal website. we are using
    extensis portoflio to manage a showcase area and moveable type for
    a blog area. On the pages where the portfolio content will be
    pulled in we are using an iframe (this content lives on the same
    server as the webpage), I am able to get the height of the iframe
    for this page to resize depending on the content, in Firefox only
    in Explorer it cuts some of the iframe off. Can anyone help with
    this first.
    Secondly and almost more IMPORTANTLY is the blog. I cannot
    get the height of the iframe to resize depdening on the content as
    it is on another server. I have tried every method out
    there!!!!!!!!!!!! Am at my wits end. The external server seems to
    be the issue, it's not even external it's just another server in
    our domain--**UGH**
    Please help!

    > Secondly and almost more IMPORTANTLY is the blog. I
    cannot get the height
    > of
    > the iframe to resize depdening on the content as it is
    on another server.
    > I
    > have tried every method out there!!!!!!!!!!!! Am at my
    wits end. The
    > external
    > server seems to be the issue, it's not even external
    it's just another
    > server
    > in our domain--**UGH**
    Iframes aren't a good idea. Is there anyway you can move the
    site to the
    same server as the blog?
    -Darrel

  • How to increase height of IFRAME without refreshing its contents.

    Hi,
    I want to increase height of an IFRAME inserted in HTML,
    presently i am doing this by specifying
    var frameSrc = myFrame.src;
    myFrame.height = newHeight;
    myFrame.src = frameSrc;
    but as this refreshes the IFRAME i can see the time lag in the loading of page specified as src of IFRAME.
    Is there any better way to resize the IFRAME without reloading its contents.
    Thanks in advance.

    Why don't you add width and height where you had IFRAME tag?
    <iframe id="hiddenFrame" name="hiddenFrame" src="/myWeb/blank.html" style="width: 100; height: 300; visibility: hidden"></iframe>

  • Is it possible to refer to paragraph 90 for example in para 110 and for this to automatically change to para 96 if para 90 becomes para96 because of document changes

    Is it possible to refer to paragraph 90, for example in para 110 of a long document and for this wording to automatically change to refer to this paragraph as para 96, if para 90 becomes para 96 because of document changes ?

    What I would like to know refers to whether there is a way for a reference to a particular paragraph number in a document can be automatically updated if that paragraph number changes becasue of other alterations to the document e.g can a reference to paragraph 90, in para 110 be automatically updated to refer to this paragraph as para 96, if para 90 becomes para 96 because of document changes ?

  • Iframes and automatic resizing to fit content displayed.

    Hi
    Is it possible to display an iframe on your page with content inside that resizes and then have the iframe resize with it so you dont have to use scroll bars or make the page size really big.?

    If the iframe page is hosted on your domain, yes, there is a jQuery plugin for this. 
    http://github.com/house9/jquery-iframe-auto-height
    If the iframe page is hosted externally, it won't work.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • How to change pdf page in an iframe content automatically

    I open a pdf in my web page with <iframe> and the pdf-option for example #page=2 equals week number 2 of a year.
    How could I change the viewable page as a function of the actual week number of a year (#1 - 52)
    At the moment my html code looks like:
    <div id="tr-inside_anw2">  
        <iframe class="org_pdf_anw"
        src="attendance.pdf#page=2"></iframe>
    </div>
    Is there a way to use a variable for the week number? or is it better to use a javascript "function dayofweek_iframe()"
    which changes the whole iframe content?
    Is there somebody, who know a solution with code? Thanks

    Thanks, it worked on my Mac apps. But the problem is that the new numeration is not recognized by my PDF Reader on iPad (goodnotes), so numeration starts from 1...

  • Web browser window shrinks automatically

    I'm using 6.0.2 and today my web browser keeps shrinking as if I were clicking on the restore down button. I don't have to be working in the browser - just sitting reading the screen and WHACK! - it shrinks to a smaller window. This is driving me nuts.

    Do a malware check with some malware scan programs. You need to scan with all programs because each program detects different malware. Make sure that you update each program to get the latest version of the database before doing a scan.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and Searches are redirected to another site

  • Temporary Tablespace not shrinking automatically after restarting the DB.

    I had a Database with 2GB tempfile. It gave me an error that it's unable to extend the temporary segment. I added a new tempfile of 500MB. Within a few min the new file was filled. In process of shrinking the temporary files, I shutdown the DB, and restarted it. But the Tempfiles were still filled to the max. I still don't understand why? Then I attached a new tempfile of 1GB to the Temp Tablespace, but it didn't use the new tempfile. I repeated the restart process again but still the output was same.
    1. Both datafiles were filled to the max
    2. It didn't use the new (3rd) attached tempfile.
    Finally I've created a new tablespace with new Tempfiles, and it's working now. But I'm still confused. Please suggest me with the possibilities. How can i shrink the Temporary Tablespace/Tempfiles.
    Thanks & Regards
    Vikas Verma
    Manager (IT) / Sr. DBA
    Hero Cycle Group,
    India

    It all depends from what you understand by shrinking:
    If you would like to shrink tempfile for tablespace I would suggest using following procedure:
    Find out to which size you can shrink tempfile
    select extent_size,current_users,total_extents,used_extents,free_extents
    from v$sort_segment
    where tablespace_name='TEMP';
    alter database tempfile 'XXXX' resize YYM;
    YY is the size which can be found by above query.
    But Ithink you are more interested in following procedure:
    create new
    make this new one the default temporary tablespace for the database
    drop old
    ps. Yoogesh ask you about DB version
    you can find bd version by:
    select *
    from v$version
    select *
    from product_component_version
    Best Regards
    Krystian Zieja / mob

  • Par Iview

    Hi
    I import one ParProject zip to NWDS n Wher can i change for    
    Costamized for myself.
    this is first time i used Par files
    i dont know nothing about implementing par files so send me any details for implementing par files.
    thanks & Regards
    Narayana Kodavati

    To know more about .par files see: http://help.sap.com/saphelp_nw2004s/helpdata/en/bb/1bb8428e05c86ae10000000a155106/frameset.htm
    To learn how to create .par files from scratch see: http://help.sap.com/saphelp_nw2004s/helpdata/en/44/46b9d670e20597e10000000a155369/frameset.htm
    Now tell me which par file you imported and what exactly you want to customize in it. Perhaps then I could help you in customizing it.
    P.S. Please reward points for helpful answers.

  • Web dynpro to fire an event automatically via url in iview

    Hi expert,
    I create an iview, and would like to via the application parameter: 'auto = true' to fire an event in htmlb (bsp java) application.
    I have already successful calling the service in my wdDoInit() method.
    but next step is how to fire the event automatically in init method ? any code snippets will be appriciated.
    Ben.J.

    Hi,
    I have 2 main DCs bound. Now from DC2 I have to read the Context of DC1 (which is bounded to another application).
    To bind your context from DC1 to DC2
    Copy the context that you want to expose from the component controller to interface controller of DC1.
    Once this is done you will be able to see the context in DC2.
    Based on your requirement you can set the Input type property of the context node.
    Regards
    Ayyapparaj

  • Automate the assignment of iviews, pages, workset to role....

    Hello Gurus,
    We are using EP 7.0. Is there any tool available in EP 7.0 that will automate the assignment of different content objects, like assignments of iviews, pages and workset to role.
    We want to assign large no. of iviews, pages,worksets etc. to diffrenent roles. Is there anything available that will help us to automate the assignment, rather than manually assign the objects to the role as it will be a huge task and time consuming.
    Any help will be highly appreciated.
    Regards
    Deb
    [Points guranteed for helpful answers]

    Hi Deb,
    as far as I know there is no standard tool for mass assignment of content objects to portal roles. But you can easily develop your own solution. The folloowing sections of the SAP Library should be helpful:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/43863b2e641193e10000000a155369/frameset.htm">How PCD Lookups are Performed</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/726396278212d0e10000000a422035/frameset.htm">Working with Semantic Objects</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/703fd42043053ce10000000a1553f6/frameset.htm">Delta Links</a>
    Best regards,
    Martin

Maybe you are looking for