on 06-28-2005 6:15 PM
Hello,
I have a question about domain relaxing in URL iViews. In the examples I have seen, the EPCF only removes the server name. My problem is that I need it to go further. The examples I have seen are like this:
Portal Server = portal.company.com
Content Server = content.company.com
The domain can then be set to "company.com" for both of these windows thus allowing cross frame scripting. My question is about the following scenario:
Portal Server = portal.fm.company.com
Content Server = content.cn.company.com
When the domain is relaxed by the portal, it only removes the server so you end up with "fm.company.com" for the portal which can then not communicate with the content server since it is "cn.company.com". It is easy to set the content server domain to "company.com" but how do I set the portal server so that it goes to "company.com"? I have seen references to Maximum Relaxing in BSP with the sap-domainRelax parameter but have not seen how this can be accomplished with a URL iView in the portal. Is this a configuration setting somewhere? Any help on this would be greatly appreciated. Thanks...
Mike
Anyone happen to have an idea on this? Thanks...
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike,
Which EPCF code were u using for domain relaxing.
I have got one JavaScript which can be put into HTMLs. This JavaScript has been given by SAP only for domain relaxing.
<i><SCRIPT>
function relaxDomain(input)
{
if (input.search(/^
d+
.
d+
.
d+
.
d+$/) >=0 )
{
return input;
}
var lnDotPos = input.indexOf(".");
return (lnDotPos >= 0) ? input.substr( lnDotPos + 1 ) : input;
}
var result = relaxDomain(document.domain);
if(result != document.domain)
{
document.domain = result;
}
alert(document.domain);
</SCRIPT></i>
Let me know if this solves our problem.
Regards
Gaurav Gandhi
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.