We have our custom tab inside a website of third party(vendor). Our custom tab contains list of items. When clicked on a particular item, we need to open a page of parent website having the details of that item. Both parent application and our application are Angular applications.
We are using iframe to show the parent application page. But, since our application domain is different from parent application domain, we are getting error DOMException: Blocked a frame with origin "https://ourCustomTab.cloudfront.net" from accessing a cross-origin frame.
We are using frame.contentWindow.location.href= https://parentApp.com/items
to open parent application page. Please suggest if I can use some other alternate to open parent app page, something like we have routing within an application. If iframe is the only solution to do that then how can we achive it?