Jump to content

javascript webplayer api openDocument is not loading / displaying document

T Ham

Recommended Posts


I have working code which is embedding an analysis document in a webpage using api 7.14.

However I can't embed two documents (same application) it will only ever open /display the document occuring first in the code.

eg. the code below only displays the 'filter' page in the 'sp-filter' div.

function onReadyCallback(response, newApp)


app = newApp;

if(response.status === "OK")


filter = app.openDocument("sp-filter", 'filter');

vis = app.openDocument("sp-container", 'vispage');


}However the document seems to be present in the application.






falseAnyone know what is going on here


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...