Как мне встроить одну страницу сайта SharePoint в другую?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/44757

  •  09-12-2019
  •  | 
  •  

Вопрос

в SharePoint 2010, я хотел бы вставить контент с страницы сайта в столбцу на других страницах сайта, поэтому эти страницы имеют общий столбец.Подумайте об этом, как An Ancly Page на сайт HTML.

Я знаю, как сделать это со списками и т. Д., Установив веб-часть, но я не могу понять, как вставить содержимое страницы сайта.Веб-роль Viewer страницы включает в себя все заголовки и навигацию, так что это не то, что я ищу.Я просто хочу вставить содержимое одной страницы в другой.

Мне не нужно массировать модифицировать каждую страницу в библиотеке, или (обязательно) создать пользовательский шаблон с этим контентом в одном столбце.Я просто хотел бы знать, возможно ли это и как сделать это на определенные страницы.В настоящее время я использую 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 с атрибуция
Не связан с sharepoint.stackexchange
scroll top