Hi guys,
I'd really appreciate any help you're able to give me on this - I am having an issue getting dashboard hyperlinks to open in the parent window instead of their designated dashboard IFrame.
The way I've set things up is I've created a small HTML snippet and uploaded it as a web resource. It is a basic image that acts as a hyperlink to another area of the CRM. The client wants it as easy to use as possible and requested the dashboard to be designed as such.
I appended the following line to the code:
<base target="_parent" />
In an attempt to get it to open in the main browser, it worked to a degree, but instead of opening in the IFrame it just took over the entire section area of the Dashboard instead.
I then tried
<base target="_parent_parent">
Which proceeds to open it in a new tab.
Does anyone have any advice as to what I can do to get this to open not in a new window or new tab (which I am able to do easily) but the parent parent?
I'm using Chrome to test for the most part as the client uses that as their standard browser - when using Internet Explorer <base target="_parent" /> & <base target="_parent_parent"> have no effect and the hyperlink opens in the iFrame. Ideally I would like to make a workaround that is correctly interpreted by both IE and Chrome.
Here's the code snippet of the webresource as is:
<html><head><meta><meta><meta><meta><meta><meta><meta><meta></head><body style="word-wrap: break-word;">
<base target="_parent_parent">
<a href="clientscrmserver/.../main.aspx;amp;etc=2&page=CLI&pageType=EntityList&web=true">
<img src="new_contactscrmpicture" alt="Contacts Menu" width="420" height="340" border="0">
</a>
</body></html>
Any advice or workarounds would be great! Thank you!