When PORTAL is embedded within an iframe on an external site (external site here in pink) certain links (red) seem hardcoded to open at the top level of the browser (i.e the link target is “_top”) rather than within the iframe. In other words doing anything with a case takes the user away from the enclosing site and takes him or her to an address at microsoftcrmportals.com, which we don’t want.
Have you tried writing a JS to manipulate the links within the subgrid?
Our Marketing person has done it on the page template not on the grid in the portal per se. How do we do this? What area should we be looking at?
Refer the below blog on writing scripts on entity list. You need to follow the similar concept and the change the link for all the rows.
Business Applications communities