2 Replies Latest reply: Apr 16, 2014 10:37 AM by Hallgrimur Bjornsson RSS

    iFrame in extension

    KaiPradel

      Shipping panels means we have to distribute cide which means it's less SaaSy. I am wondering if anyone has built an HTML extension that loads in an external iFrame (so it can be updated quickly) and can still communicate with jsx files?

       

      Kai

        • 1. Re: iFrame in extension
          Hallgrimur Bjornsson Adobe Employee

          Hi,

           

          What you need to do is to make an ajax request which fetches the JS code, and, if you like to dynamically load ExtendScript, then eval the extend script code in the extension. You would end up with JS code (dynamically loaded) that can call ExtendScript (dynamically loaded or not).

           

          Best regards,

          Hallgrimur

          --

          Hallgrimur Th. Bjornsson | Product Manager | Adobe | Tel: +44 (0) 1314582787

          • 2. Re: iFrame in extension
            Hallgrimur Bjornsson Adobe Employee

            By the way, please be aware of the potentially huge security implications if you go with this method.

             

            Best regards,

            Hallgrimur

            --

            Hallgrimur Th. Bjornsson | Product Manager | Adobe | Tel: +44 (0) 1314582787