on 05-17-2004 8:15 PM
I posted a question awhile ago, and would like to ask again to see if anyone can help. I am trying to do a simple iView test to verify that the EPCF is working in our environment. Here is the current script I am using and the results. I am using the Proxy object because my iview code is on a different server from the portal. The results I get when I run this iview are: EPCM null
I get the word null no matter what method I call.
<SCRIPT src="epcfproxy.js"></SCRIPT>
</HEAD>
<BODY>
<script>
var lnDotPos = document.domain.indexOf( "." );
if (lnDotPos >= 0)
document.domain = document.domain.substr( lnDotPos + 1 );
document.write ('EPCM '+EPCMPROXY.getVersion());
</script>
Any ideas? I appreciate your help!
And how's your html displayed in the browser? As the EPCMPROXY object just delegates calls to the EPCM object contained in a surrounding frame/iframe, it is vital for the EPCMPROXY to work that the surrounding frame contains such an object. You can check that by viewing the source code of the surrounding html frame, searching for EPCF comments/code. Hence, just starting the html page with the direct webserver relative URL to the html page will not work, as there is not surrounding html page containing the EPCM object. It must be some portal page the contains the html page inside an iframe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The epcfproxy.js file is in the same directory as my test html file. They are on a different web server than the portal.
I created a .NET custom iView that simply goes to my test html file. I'm not clear if it should bypass the iView server or load via the iview Server. Either way, it is not successful. The first time it loads via the iView server, it gives an error EPCMPROXY is not defined, and then if I refresh the iView it becomes null. Bypassing the iView server it is always null.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have the epcfproxy.js file stored in the indicated location? If this html is generated from portal component code, the .js file will probably not be at this location.
Regards,
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.