1 Reply Latest reply on May 13, 2015 9:56 PM by jeph.yang

    IFrame and JiveX


      Does anyone know how to handle iFrames with JiveX?

      If so, how would we handle this?

        • Re: IFrame and JiveX

          Hi Scott,


          For security reasons, IFrame usage is restricted in newer versions of Jive.  It may be allowed if wrapped in "safe mode" as briefly explained by Thomas Jung during the call mentioned in the discussion here:


               Re: HTML Widgets impacting Performance


          This is also covered in a bit more detail in the JiveX documentation here:


          Managing HTML Widget Security

          To ensure security and prevent problems that can corrupt your pages and keep them from loading, any HTML widget code that calls a <script> tag will be contained in an isolated iFrame. This is known as "safe mode." If you want to include CSS or other styling in the widget, you can include it in the same location as your HTML code. Isolation of the HTML widget also means that the widget can't borrow JavaScript from the Overview page, and that visual components cannot extend beyond the perimeter of the iframe. Simple HTML, JavaScript, and CSS continue to be supported.


          In safe mode, you can still call the assets associated with the core Jive installation as follows: <script src="/resources/scripts/jquery/jquery.js"></script> <link rel="stylesheet" href="/styles/jive.css" media="all">


          Widget upload access should be limited to users you trust. Because any social group owner can upload resources to these widgets, it's possible for users to make incorrect judgments about appropriateness and security, so make sure group owners are carefully chosen.


          SOURCE:  https://docs.jivesoftware.com/cloud_ext/comm_mgr/jive.help.core/#user/UnderstandingHTMLandFormattedTextWidgets.html


          Let me know if you had any other questions on this.




          Jeph Yang