This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 13, 2015, 5:28 PM
9 Posts

Detect iframe using Json-RPC communication

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.3
  • Role:
  • Tags: JSON-RPC
  • Replies: 0

I´m try implementing this funcionality:

The xpage can be open from Sharepoint Portal or directly from application option interface. The problem is that portal Sharepoint the xpages opens in a Iframe and must be redimensioned. To redimension the xpages I´m using a css that executes the redimension. The application knows if it opens in iframe, it executes javascript code in onclientload event of xpage. The communication between client and server side is using remote services with argument the information it´s a iframe or no. It works but executes after hrefs resource computation property of xpage. The question is there how change execution sequence? Or is there anyway to implement this funcionality?

Thanks a lot!

Marcus


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal