Forums

Forums / General Discussions / Is it possible to create a page on the TPC and embed it on the customer's website?

Is it possible to create a page on the TPC and embed it on the customer's website?

4 posts, 0 answered
  1. Madson Almeida
    Madson Almeida avatar
    4 posts
    Registered:
    19 Mar 2021
    02 Jul
    Link to this post
    Is it possible to create a page on the TPC and embed it on the customer's website?
  2. Omar S
    Omar S avatar
    34 posts
    Registered:
    04 Jul 2019
    05 Jul in reply to Madson Almeida
    Link to this post
    Hello Madson, 
    Could you elaborate what you mean by embedding a page on a website?
  3. Madson Almeida
    Madson Almeida avatar
    4 posts
    Registered:
    19 Mar 2021
    06 Jul in reply to Omar S
    Link to this post
    We need to create a page in TPC, and put that page in a div on a website, is this possible?
  4. Omar S
    Omar S avatar
    34 posts
    Registered:
    04 Jul 2019
    06 Jul in reply to Madson Almeida
    Link to this post
    Hello Madson

    I wasn't able to find any documentation on this, but i can walk you through this. The following approach uses an iframe to embed the resource. The only caveat with this approach is that if you're using Azure SSO, you're going to run into potential 401 issues. 

    In order to configure embedded resources, you would also need to have the Web security module. You can access it by going to Administration > Settings. In the Basic Settings view, select "Web security" from the side navigation. 

    Once the Web security page displays, click edit on the option "Control of embeding your content". A popup will render. Under "Domains where your content can be embedded, type:
    'self'
    nameofexternalsite.com

    On the external site, you will have to enable the inner site on the Content Security Policy. If the external site is a sitefinity site, then you will have to go to that site's Web security and select Trust sources. Under "Forms, frames, child sources, connect sources, plugins", enter the inner site's url in the Frames section.

    Once you have all this configured, then you will want to add an iframe on the page that points to the TPC page. 

    Last modified on 06 Jul 2021 19:07 by Omar S
4 posts, 0 answered