Setup Document Management

Prerequisites

Note! In order to be able to run any Document Management features, the extension Omnia.DocumentManagement needs to be installed.

Set up the Document Type term set

  1. Go to the SharePoint Admin Center.
  2. Click on term store in the left-hand navigation.
  3. Make sure to add the Working Languages that you would like to support in the Document Management System. Note! This is a global setting. It will affect all services dependent on the term store.
../../_images/termstore-workinglanguages.png
  1. Copy the Unique Identifier of the Term Store to Notepad for later use.
  2. Create a new term set group for Document Management. (Recommended if you want to isolate all term sets that are explicitly part of the Document Management Solution).
../../_images/termstore-documenttype.png
  1. Create a new term set in the group for Document Types.
../../_images/termstore-documenttype2.png
  1. Copy the Unique Identifier of the Term Set to Notepad for later use.
../../_images/termstore-uniqueid.png
  1. Go to Omnia Admin > System > Extensions (Note! If no publishing site collection has been set up yet, you can access Omnia Admin through the App Catalog.)
  2. Click on Omnia.DocumentManagement and fill in the properties Term Store Id and Document Types Term Set Id and click on Save.

Activate Omnia Document Management Core Tenant Feature

  1. Go to Omnia Admin.
  2. Activate the tenant feature “Omnia Document Management Core”.

Configure the Title Search Property

  1. Go to SharePoint Admin Center > search.
  2. Click on Manage Search Schema.
  3. Filter on “refinablestring50”.
../../_images/manprop-refinablestring50.png
  1. Edit the managed property and map the following crawled properties.
../../_images/manprop-crawledprops.png
  1. Go to Omnia Admin.
  2. Go to Document Management > Search Properties.
  3. Add a new Search Property for Title.
../../_images/manprop-mappingomnia.png
  1. Click on the radio button “Title Property” and save.
../../_images/manprop-settitledefault.png

Set up the Archive

  1. Go to the SharePoint Admin Center.
  2. Create a new site collection for the archive.
../../_images/dm-archive.png
  1. Browse to the welcome page of the newly created site collection and copy the site url for later use.
  2. Go to Omnia Admin (from this site collection).
  3. Activate the site collection feature “Omnia Core Master Page”.
  4. Activate the site collection feature “Omnia Document Management Archive Site”.
  5. (Note! If you are using the Omnia Modern Header make sure to activate the site feature “Omnia Legacy Support Site Feature”.)
  6. Go to Omnia Admin > System > Extensions.
  7. Click on Omnia.DocumentManagement and fill in the property Archived Site Url.
../../_images/dm-archivesiteurl.png
  1. Go to Site Contents.
  2. Click on ODM Archived. (If the document library is set to show the modern experience, please make sure to click on “Return to classic SharePoint”.)
  3. Click on “PAGE” in the ribbon and “Make Homepage”.
../../_images/dm-ribbon.png

Built-in Search Properties

  1. Go to Omnia Admin > Document Management > Document Templates.
  2. Upload a blank Word document as a new Document Template.
  3. Add a new temporary Document Type.
../../_images/dm-documenttype-general.png ../../_images/dm-documenttype-publish.png ../../_images/dm-documenttype-review.png
  1. Create a new team site and go to the welcome page of the new site.
  2. Go to Omnia Admin > Features.
  3. Activate the site collection feature “Omnia Document Management Authoring Infrastructure”.
  4. Activate the site feature “Omnia Document Management Authoring Site”.
  5. (Note! If you are using the Omnia Modern Header make sure to activate the site feature “Omnia Legacy Support Site Feature”.)
  6. Create a new controlled document based on the Temp Document Type and Blank Word Template and publish it.
  7. When the draft has been published, create a new draft of the document and then publish a second edition. (The reason for this is that we want a copy to end up in the archive.)
  8. Now is a good time to grab a cup of coffee before you continue, because the search engine needs to crawl the document and it may take about 15 minutes.
  9. Go to SharePoint Admin Center > Search > Manage Search Schema and map crawled properties to managed properties. (Any existing out of the box mappings on the crawled properties can be removed if not explicitly stated in the instruction below).
  10. Filter on “odmdocid”.
../../_images/dm-manprop-docid.png
  1. Edit ows_ODMDocId and add a mapping to RefinableString51.
  2. Edit ows_ODMDocIdNumber and add a mapping to RefinableInt30.
  3. Filter on “ows_ODMEdition”.
  4. Edit ows_ODMEdition and add a mapping to RefinableInt31.
  5. Filter on “ODMDocumentType”.
  6. Edit ows_ODMDocumentType and add a mapping to RefinableString52.
  7. Edit ows_taxid_ODMDocumentType and add a mapping to RefinableString60.
  8. Edit ows_ODMDocumentTypeId and add a mapping to RefinableInt32.
  9. Filter on “ows_q_DATE_ODMPublished”.
  10. Edit ows_q_DATE_ODMPublished and add a mapping to RefinableDate10.
  11. Filter on “approved”.
  12. Edit ows_q_DATE_ODMApproved and add a mapping to RefinableDate11.
  13. Edit ows_ODMApprovedBy and add a mapping to RefinableString54.
  14. Edit ows_q_USER_ODMApprovedBy and add a mapping to RefinableString59.
  15. Filter on “ows_q_DATE_ODMReviewDate”.
  16. Edit ows_q_DATE_ODMReviewDate and add a mapping to RefinableDate12.
  17. Filter on “ows_q_DATE_ODMPublishedFrom”.
  18. Edit ows_q_DATE_ODMPublishedFrom and add a mapping to RefinableDate13.
  19. Filter on “ows_q_DATE_ODMPublishedTo”.
  20. Edit ows_q_DATE_ODMPublishedTo and add a mapping to RefinableDate14.
  21. Filter on “ows_ODMContentLanguage”.
  22. Edit ows_ODMContentLanguage and add a mapping to RefinableString55.
  23. Filter on “ows_SiteName”.
  24. Edit ows_SiteName and add a mapping to RefinableString56. (Note! Do not remove the managed property “Site Title”.)
  25. Filter on “ows_SPSiteUrl”.
  26. Edit ows_SPSiteUrl and add a mapping to RefinableString57. (Note! Do not remove the managed property “SPSiteUrl”.)
  27. Go to Omnia Admin > Document Management > Search Properties.
  28. Add a Search Property for Document Id.
../../_images/dm-omniaprops-docid.png
  1. Add a search property for Edition.
../../_images/dm-omniaprops-edition.png
  1. Add a search property for Document Type.
../../_images/dm-omniaprops-doctype.png
  1. Add a Search Property for Published.
../../_images/dm-omniaprops-published.png
  1. Add a Search Property for Approved.
../../_images/dm-omniaprops-approved.png
  1. Add a Search Property for Approved By.
../../_images/dm-omniaprops-approvedby.png
  1. Add a Search Property for Published From.
../../_images/dm-omniaprops-publishedfrom.png
  1. Add a Search Property for Published To.
../../_images/dm-omniaprops-publishedto.png
  1. Add a Search Property for Review Date.
../../_images/dm-omniaprops-reviewdate.png
  1. Add a Search Property for Language.
../../_images/dm-omniaprops-language.png
  1. Add a Search Property for Team Site.
../../_images/dm-omniaprops-teamsite.png
  1. Go to Document Management > Settings.
  2. Set the “Review Date Property Name” setting to “RefinableDate12”.