在SharePoint 2010中,我想将内容从站点页面插入到其他站点页面上的列中,因此这些页面有一个公共列。将其视为HTML站点上的包含页面。

我知道如何通过插入Web部件来使用列表等来执行此操作,但我无法弄清楚如何插入网站页面的内容。页面查看器Web部件包括所有页眉和导航,因此不是我正在寻找的。我只想将一个页面的内容插入另一页面。

我不需要大量修改库中的每个页面,或(必然)在一个列中使用此内容创建自定义模板。我只想知道是否有可能以及如何在特定页面上进行操作。我目前正在使用SharePoint Foundation,计划升级。请随时建议这样做的更好方法。

有帮助吗?

解决方案 2

Some additional searching led to the answer to this question. To embed one SharePoint page into another, do the following:

  1. Create your shared content page
  2. On the page where you want to insert the shared content, add a column by Editing the page and then clicking Text Layout.
  3. Go to Insert on the Ribbon and click Site Pages.
  4. Edit the Site Pages web part (which is list of all pages at this point).
  5. Under Toolbar Type (on List Views) choose 'No Toolbar.'
  6. Under Appearance, change the Chrome to 'None.'
  7. Click Edit Current View and check Wiki Content. Uncheck all other columns.
  8. Under Filter, change the Column drop down to Wiki Content and change contains to some unique text in your page.
  9. Under Tablular view, uncheck the box to 'Allow individual item checkboxes.'
  10. Under style, choose 'Newsletter, no lines'.

That should be it!

Also, you're probably better off going to to the Site Pages itself and creating a custom view with the above parameters. Then it's easier to drop into various pages without having to make all changes every time.

I like the fact that with this method, you can update your shared page and it updates everywhere. Good stuff.

其他提示

This might not be exactly what you're looking for, but it's a bit closer:

Try appending ?IsDlg=1 to the URL (or &IsDlg=1 if the URL already has a query string) when using the Page Viewer web part. You'll end up with a horisontal bar along the top but that might be ok for your requirements.

许可以下: CC-BY-SA归因
scroll top