# Notes doclinks

In order to keep the Notes document links working on SharePoint a web part must be installed and added to the SharePoint site.

### Installing the web part

Web part can be installed by a SharePoint administrator, using the following procedure:

* Open “SharePoint admin center” by using the following link (make sure to replace \<your\_sharepoint\_tenant\_name> with your tenant name): https\://\<your\_sharepoint\_tenant\_name>-admin.sharepoint.com/\_layouts/15/online/AdminHome.aspx
* Click on “More features” and open “Apps”

<div align="center"><figure><img src="/files/EenlaET0uwcIRGajaeLk" alt=""><figcaption></figcaption></figure></div>

<figure><img src="/files/nkD38c5Uq9UFSLriH3aS" alt=""><figcaption></figcaption></figure>

* Next, download the [swing-doclinks-webpart.sppkg](https://www.swingsoftware.com/dl/ssc/swing-doclinks-webpart.sppkg) file and upload it to SharePoint using the "Upload" button:

<figure><img src="/files/6QKmfSkWShOgBtSbV2a7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note: In case previous version has already been installed, you will be prompted to replace it with newly uploaded version:
{% endhint %}

<figure><img src="/files/sedJRIiboIPFTS54VzLu" alt=""><figcaption></figcaption></figure>

* After successful upload, you will be prompted to enable the app; we suggest to use "Only enable this app" option, as it will allow you to add it only to the sites where it is actually needed.

<figure><img src="/files/UKSzA8Qo4vFzCpuYm2Bi" alt=""><figcaption></figcaption></figure>

* After it’s been enabled, the web part will be shown in the apps list:

<figure><img src="/files/9UBNcEi23cSyr10N7ubp" alt=""><figcaption></figcaption></figure>

### Adding the web part to a site

* Navigate to you site, go to “Settings” and select “Add an app”

<figure><img src="/files/E45mEdq65hQZrr5Uscrh" alt=""><figcaption></figcaption></figure>

* The web part is now available in the "Apps you can add" section and you can add it using the Add button:

<figure><img src="/files/nKEZyQ3OrhpWOLMPUs6N" alt=""><figcaption></figcaption></figure>

### Creating a page with web part <a href="#creating-a-page-with-web-part" id="creating-a-page-with-web-part"></a>

As a first step, you should check if “doclinks.aspx” is already available in a document library that you are using to upload exported documents and delete it.

If “doclinks.aspx” is not available, you need to create it by using “Web Part Page” content type. It should be available under the “New” button in your document library. If it is not there, you need to add it first.

#### Add “Web part page” as a content type <a href="#add-web-part-page-as-a-content-type" id="add-web-part-page-as-a-content-type"></a>

* Open your document library, go to Settings and then “Library settings”. Click “More library settings”.<br>

<figure><img src="/files/A5sn3dL1VUozQuRZYpuT" alt=""><figcaption></figcaption></figure>

* Under “General Settings”, select “Advanced settings”

<figure><img src="/files/GVkLO2KqigW81mwy7MZP" alt=""><figcaption></figcaption></figure>

* Under “Content Types”, set “Allow management of content types” to “Yes” and click OK on the bottom of the page to save your settings. You will be returned to the Advanced library settings page.

<figure><img src="/files/yBJKlKKUuJX6d2JUCuCC" alt=""><figcaption></figcaption></figure>

* On the Advanced library settings page, go to the “Content Types” section and click “Add from existing content types” link.

<figure><img src="/files/egtySJbN1ImJLoPInlcG" alt=""><figcaption></figcaption></figure>

* Select “Web Part Page” and click “Add >”. Web Part Page will be added to a list of available site content types. Click OK to confirm your changes.

<figure><img src="/files/SsNkheYbrpkhmSVCitaD" alt=""><figcaption></figcaption></figure>

* You can now navigate to your document library and under the “New” button, “Web Part Page” will be available.

<figure><img src="/files/lGgc5mLCvyYvW5Y7QscB" alt=""><figcaption></figcaption></figure>

### Create a web part page <a href="#creating-a-page-with-web-part" id="creating-a-page-with-web-part"></a>

* Navigate to your document library, click the “New” button and select “Web Part Page”.
* As an alternative, you can navigate to your site, go to “Pages” and create a new “Web Part Page”.

<figure><img src="/files/g003ogIwNyeYpmoZC4Rh" alt=""><figcaption></figcaption></figure>

* This will open a new Web Part Page screen, where you need to set the page name to a “doclinks” and choose a document library that you are using to upload exported documents (this option is available only if you used an alternative way of creating Web Part Page from site Pages). We suggest setting a layout template to “Full Page, Vertical”, although this is not a requirement.

<figure><img src="/files/CljHpDg1BWmxMU9g8vu4" alt=""><figcaption></figcaption></figure>

* Finally, you should add the web part to a page. It will be available under the “Advanced” category.

<figure><img src="/files/zhU21DhcHXqtVwfCiwpa" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Z9ulMR06g1cnOSNKH4Eq" alt=""><figcaption></figcaption></figure>

* Once done, you can stop editing the page and make sure the doclinks.aspx page is available in your document library.

<figure><img src="/files/aIZa91xdeExzS1emNJIB" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swingsoftware.com/seascape-for-notes/archiving-with-seascape/creating-a-sharepoint-archive/notes-doclinks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
