Answered by:
Ms Crm 2013 Remove http

Question
-
Hi All
Above window contain full server url .
I want to remove http:// from open popup window.
I have written javascript on ribbon button click that open window.
I used window.open(s,'_blank', 'toolbar=yes, scrollbars=yes, resizable=yes, top=200, left=400, width=400, height=400') ;
how can I format url from window..
Thanks
- Edited by Suresh Sorde Wednesday, October 8, 2014 10:54 AM
Wednesday, October 8, 2014 10:50 AM
Answers
-
Hello Suresh,
Seems that you are building custom extension for your CRM so I suggest you to fill title tag of your aspx page like:
<head runat="server"> <title>/test-crm/ISV/main.aspx</title>
Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blog- Marked as answer by Suresh Sorde Wednesday, October 8, 2014 12:36 PM
Wednesday, October 8, 2014 12:11 PMModerator
All replies
-
Hello Suresh,
Why would you want to remove "http://" from the link? can you please elaborate what you are trying to do? is it because you are trying to change to "https://"? Please elaborate.
If this is the case please use JavaScript replace function to replace the string from the variable "s" in
window.open(s,'_blank', 'toolbar=yes, scrollbars=yes, resizable=yes, top=200, left=400, width=400, height=400') ;
Regards,
Jithesh.K
Wednesday, October 8, 2014 11:39 AM -
Hi Jithesh,
I just want to show /test-crm/ISV/main.aspx.. instead of http://abc:5555/test-crm/ISV/main.aspx when popup form open.
I tried by using replace, but its not working.
- Edited by Suresh Sorde Wednesday, October 8, 2014 12:08 PM
Wednesday, October 8, 2014 12:06 PM -
Hello Suresh,
Seems that you are building custom extension for your CRM so I suggest you to fill title tag of your aspx page like:
<head runat="server"> <title>/test-crm/ISV/main.aspx</title>
Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blog- Marked as answer by Suresh Sorde Wednesday, October 8, 2014 12:36 PM
Wednesday, October 8, 2014 12:11 PMModerator