Issue
The Target field in Content Item for External Contents does not work in Service Portal. There are two options for the Target field. a) Within Catalog b) New Window/Tab.
For both options, the external content opens in a new tab.
Steps to Reproduce
- Create a new Content item.
- Select 'External Content' in Content Type.
- In the Target Select 'Within Catalog'. Select the desired Catalog item and the Category. Write the External content link in the URL field.
- Go to the Service Portal and open the selected Category.
- On clicking the Content, it opens in a new Tab. Even after selecting the Target as 'Within Catalog' the External Content opens in a new tab.
Cause
This is expected behavior, as 'Within Catalog' displays the content within the catalog iframe window and as iFrames are not supported in Service Portal, this behavior doesn't work in Service Portal.
Related Links
- This behavior works fine in Native UI.
- Define a content item