Home

Seeking additional advice about the Embed web part

%3CLINGO-SUB%20id%3D%22lingo-sub-321404%22%20slang%3D%22en-US%22%3ESeeking%20additional%20advice%20about%20the%20Embed%20web%20part%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321404%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20having%20a%20couple%20of%20issues%20using%20the%20Embed%20web%20part%20(SharePoint%20Online%20-%20Modern%20environment%20using%20Communication%20template)%20and%20was%20hoping%20one%20of%20the%20gurus%20would%20be%20able%20to%20give%20me%20some%20guidance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20read%20through%20the%20support%20article%20%3CA%20title%3D%22Microsoft%20support%20article%22%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fadd-content-to-your-page-using-the-embed-web-part-721f3b2f-437f-45ef-ac4e-df29dba74de8%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAdd%20content%20to%20your%20page%20using%20the%20Embed%20web%20part%3C%2FA%3E%2C%20and%20I%20have%20confirmed%20I%20have%20everything%20set%20up%20as%20per%20those%20instructions.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFollowing%20is%20my%20scenario%3A%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20two%20different%20'versions'%20of%20the%20source%20website%20that%20I%20wish%20to%20display%20on%20the%20one%20page.%20I%26nbsp%3Bused%20two%20embed%20web%20parts%20to%20do%20the%20job.%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20src%20URL%2C%20I've%20been%20advised%20to%20use%20an%20'audience%20type%20code'%20to%20get%20the%20different%20versions%20of%20the%20site.%26nbsp%3B%20That%20is%20code%20would%20be%26nbsp%3B%20src%3D%22%3CA%20href%3D%22https%3A%2F%2Fsitename.com%2F%3FAudienceTypeCode%3DINT%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsitename.com%2F%3FAudienceTypeCode%3DINT%3C%2FA%3E%22.%20The%20other%20'audience%20type'%20for%20the%20second%20version%20(and%20second%20web%20part%20embed%20code%20is%20EXT).%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20struck%20two%20problems.%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EOn%20save%2C%20in%20'read'%20mode%20both%20web%20parts%20are%20displaying%20the%20same%20version%20of%20the%20page.%26nbsp%3B%20%26nbsp%3BWhen%20I%20go%20back%20into%20edit%2C%20web%20part%20settings%20has%20the%20correct%20audience%20type%20in%20each%20separate%20web%20part.%20It%20would%20seem%20that%20the%20source%20of%20the%20first%20web%20part%20is%20simply%20overriding%20the%20second.%3C%2FLI%3E%3CLI%3EIn%20'read%20mode'%20the%20iframe%20content%20in%20the%20second%20web%20part%20is%20not%20displaying%20as%20per%20the%20width%20and%20height%20information%20in%20the%20embed%20code.%26nbsp%3B%20Rather%2C%20a%20very%20small%20box%20with%20both%20a%20horizontal%20and%20vertical%20scroll%20bar%20appears.%26nbsp%3B%20This%20is%20not%20at%20all%20useable%20for%20end%20users.%26nbsp%3B%3CBR%20%2F%3ENote%20that%20the%20embed%20code%20for%20both%20web%20parts%20have%26nbsp%3Bscrolling%3D%22yes%22%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3BCan%20anyone%20suggest%20a%20solution%3F%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20is%20the%20simple%20answer%20that%20you%20cannot%20have%20two%20embed%20web%20parts%20pointing%20to%20the%20same%20source%20site%20on%20the%20one%20page%20where%20'audience%20type'%20instructions%20in%20the%20URL%20are%20the%20only%26nbsp%3Bdifference.%26nbsp%3B%3C%2FP%3E%3CP%3ESecond%20question%20would%20be%2C%26nbsp%3Bif%20each%20'version'%20had%20proper%20unique%20addresses%20if%20this%20would%20still%20happen%20and%20it%20is%20just%20not%20possible%20to%20have%20two%20embed%20web%20parts%20pointing%20to%20the%20same%20source%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-321404%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Jenny Bruce
Contributor

I'm having a couple of issues using the Embed web part (SharePoint Online - Modern environment using Communication template) and was hoping one of the gurus would be able to give me some guidance.

 

I've read through the support article Add content to your page using the Embed web part, and I have confirmed I have everything set up as per those instructions. 

 

Following is my scenario: 

I have two different 'versions' of the source website that I wish to display on the one page. I used two embed web parts to do the job. 

In the src URL, I've been advised to use an 'audience type code' to get the different versions of the site.  That is code would be  src="https://sitename.com/?AudienceTypeCode=INT". The other 'audience type' for the second version (and second web part embed code is EXT).  

 

I've struck two problems. 

  1. On save, in 'read' mode both web parts are displaying the same version of the page.   When I go back into edit, web part settings has the correct audience type in each separate web part. It would seem that the source of the first web part is simply overriding the second.
  2. In 'read mode' the iframe content in the second web part is not displaying as per the width and height information in the embed code.  Rather, a very small box with both a horizontal and vertical scroll bar appears.  This is not at all useable for end users. 
    Note that the embed code for both web parts have scrolling="yes"

 Can anyone suggest a solution? 

Or is the simple answer that you cannot have two embed web parts pointing to the same source site on the one page where 'audience type' instructions in the URL are the only difference. 

Second question would be, if each 'version' had proper unique addresses if this would still happen and it is just not possible to have two embed web parts pointing to the same source site.

 

 

Related Conversations