I've been working through the example code in the WorkSite Web Application Integration Toolkit to get the Enhanced Browse Dialog working.
I've got so far - the box pops up as expected, you can select a document as expected. However, when I click OK to hit to callback function, I get a javascript error message:
Line: 213
Character: 2
Code: 0
Error Message: Permission denied
URL: http://edinwsweb01/Worksite/scripts/BrowseDlgEx.aspx?multiSelect=0&title=Attach&callback=getDocs&contentType=8192
I assumed this was due to invoking the dialog box from a different server and the cross site scripting stuff coming into play. So, I tried the same HTML page on the WorkSite Web server and got the following:
Line: 219
Character: 2
Code: 0
Error Message: Object doesn't support this property or method
URL: http:///Worksite/scripts/BrowseDlgEx.aspx?multiSelect=0&title=Attach&callback=getDocs&contentType=8192
Can anyone suggest any reason why this won't work?
I'd really like to invoke the Enhanced Browse Dialog from a server other than the WorkSite Web server so that I can integrate it into our web app.
The code I've used to invoke the EBD is that described in the Application Integration Toolkit documentation with only the server and path amended to fit.
Thanks
Steve