Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Opening a long URL on click of button in CRM Web UI

$
0
0

Hi Experts,

 

I am facing an issue while opening a long URL (length greater than 255 char) on the click of a button in CRM Web UI.

 

I have declared an attribute zv_url type string and populated the variable in event handler.

 

Thereafter I have written below logic in .htm:

 

<script type="text/javascript" language="javascript">
window.open("<%=controller->zv_url%>").focus();
</script>

 

But the logic is not opening my URL, it is just opening a web window 'res://ieframe.dll/http_400.htm' with error page HTTP 400 Bad Request.

 

If I try to modify the variable zv_url in debugging with a short url say 'http://www.google.com', it works correcly but due to the length of url, the logic is opening error page.

 

Can you please help me out with this issue?

 

Thanks in advance,

Nitin Karamchandani.


Viewing all articles
Browse latest Browse all 4552

Trending Articles