How can we help you today?

How to Embed Custom X Content Using ShortPoint Code Design Element

Using the ShortPoint X Design Element will successfully integrate an X profile feed to your SharePoint sites. However, X has other display options you may want to take advantage of.


Here is an example of an X Embedded Post added to a SharePoint page:


sample X embedded post


We will discuss how you can get embed codes for these X display options and insert them into your intranet pages using the ShortPoint Code Design Element. There are two parts to the process.


TABLE OF CONTENTS


Prerequisites


Part 1: Prepare X embed code

Here are the steps you need to follow to create and retrieve an X embed code.

Step 1: Go to the X publishing site

  • There are two ways to open the X publishing site. [1] You can open the X publishing site on your browser and enter your X URL, or [2] Open the More ellipsis on an X post and hit embed post.

Step 2: Select a display option

  • In the publishing site, you can choose to enter an X URL on the What would you like to embed field and then see the available display options or scroll down to see all the available display options.
  • Select the display option you want to present on your site.
  • (Optional) Click on the set customization options link to configure other settings of your X content.


X publishing site


Note:
Some X display options may require the user to be logged in to X in the same browser to view the content. In these cases, users might see a ‘Nothing to see here - yet' error message if they are not logged in. This is a current limitation set by X.

Step 3: Copy the embed code

  • Once you are satisfied with how your X content looks, you can click the Copy code button. A pop-up window will confirm that you have successfully copied the embed code and you can proceed to the next step. 


copy X embed code


Part 2: Add custom X content to your SharePoint page

Now that you have an X embed code, let us insert it into your SharePoint page. Follow the steps below:

Step 1: Insert the Code Design Element

  • Edit the SharePoint page where you want to embed your X content.


edit sharepoint page


  • Select the ShortPoint web part and enter edit mode by clicking the pencil icon.


edit shortpoint web part

  • The Code Design Element is currently only available in Grid Mode. Hit Switch to Grid Mode in the Action Toolbar.

switch to grid mode

  • In the space where you want to add your X content, click the plus icon. This will open the Page Builder window.


add code design element

  • Scroll down or search for the Code Design Element and select it. It will be inserted and its settings window will appear.


select code tile


Step 2: Add the copied embed code

  • Paste the copied embed code into the HTML field.
  • You can view how the widget will look like in the Preview section.


insert HTML embed code

  • Scroll down and disable Sandbox Mode.


disable Sandbox mode

  • Hit Insert to apply your changes.


Step 3: Save and publish your page

  • You can click the Preview icon on the Action Toolbar to check how the added X content displays on the page.
  • Click Save to ensure your edits are retained.
  • Hit Republish when you are ready for your users to see your updates.


That is all it takes to present custom X content on your SharePoint page.


Related articles:






Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 74 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more