Seascape for Notes‎ > ‎4. FAQ‎ > ‎

How to host the Web Archive in SharePoint

In addition to hosting your Web Archive on a web server or in a shared network folder, you can also host the archive in SharePoint. 

In order to do so, the HTML and JSON file extensions in your archive will need to be changed to ASPX and JS extensions respectively. 

Once the file extensions have been changed, you can upload the archive to SharePoint and share the URL to the index.aspx file with the end-users. 

Change the file extensions

To change the file extensions automatically, you can use a built-in agent in your Seascape database. 

Open the Actions menu, and click Admin > Upload Web Viewer to SharePoint:

Next, select the root folder of the archive that you wish to update and click Open:

The agent will now start updating the file extensions in your archive (if needed, you can view the agent's progress using the Java Debug console in Notes). 

After the agent is finished, open your archive folder and verify that the extensions have been updated correctly:

Upload your archive to SharePoint

You can now upload the Web Archive to a SharePoint library, and share the URL to the index.aspx file with your users.

Note: You can't use the SharePoint upload utility to upload web viewer to the Sharepoint.

1. Drag & drop

If archive is not big you can upload it by simply dragging & dropping the entire root folder or the archive into SharePoint document library.

2. OneDrive sync

If you are working with huge archives it's recommended to use OneDrive for business to sync root folder of your archive with the SharePoint document library.

Create a new document library and click Sync button:
Sync document library with OneDrive
Your browser will request permission to open OneDrive, confirm that is okay. If you are not logged in with your business account you will need to enter your credentials. 
OneDrive will create a new subfolder folder in %userprofile%\<Company Name> with the name of document library and will open it in Windows Explorer.
Move or copy entire root folder of your archive to this folder and it will sync automatically with your SharePoint document library.

Synced folder

Open your archive in SharePoint

When the users open the archive index.aspx file in their browser they will see the same archive interface as then the archive is opened from a web browser or a local workstation, and will be able to navigate the document views normally. 

Important:  In order for the aspx files to open in the web browser (as opposed to downloading as a normal file) the person who uploads the archive to SharePoint must have at least the “Design” permission or “Add and Customize Pages” site permission assigned. 

This permission is required only for the user who is uploading the archiveall other users will be able to view the aspx files in their web browser regardless of their respective permission level.