Lynxwork SharePoint OSLC Server - Installation and Usage Guide
The Lynxwork SharePoint OSLC Server is provided as a standard Web Application Archive (.war) file. It can be deployed in any compatible servlet container, such as Apache Tomcat or Eclipse Jetty. It can also be packaged and executed within a Docker container, or using Azure Web Apps.
This guide describes how to deploy the application in a Docker container. Instructions can be provided if other deployment alternatives are desired.
The software distribution includes the following files:
| File | Purpose |
|---|---|
sharepoint.war |
The deployable web application archive |
lynxwork.lic |
The required license file |
docker-compose-template.yml and Dockerfile |
Docker-based deployment |
Preparations
Before starting, make sure you have:
{connector_base_url}— The base URL that points to the location where the SharePoint OSLC Server will be deployed.- For example,
https://sharepoint-connector.my-organisation.com/ - Ensure the HTTPS protocol is used with a trusted certificate.
- For example,
- A Microsoft account that has at least the Cloud Application Administrator role.
- A Microsoft SharePoint Site, with a designated folder to which files will be linked to.
- A server running Docker Engine. See Docker Engine installation instructions
Setup secure access to SharePoint
The SharePoint Connector communicates with the Microsoft services to access the information in Microsoft 365. Communication is securely protected by the Microsoft identity platform, which ensures that the Connector is authorized to call Microsoft services.
- Register an application that represents SharePoint Connector in the Microsoft Entra admin center, by following these instructions. Notes:
- Under Configure platform settings, you are given a number of alternatives.
- Select the Web platform.
- As a Redirect URI, enter the URL
{connector_base_url}/oslc/oauth2/callback
- Under Add credentials, you are provided with 3 Options
- Adopt Option 2: Add a client secret.
- As explained in the instructions, make a record of the secret’s value, since it is never displayed again once you leave the page. We refer to this value as
{client_secret}
- Under Configure platform settings, you are given a number of alternatives.
- Select the created Application. In case you lost track:
- Go to the Microsoft Entra admin center
- Browse to Identity > Applications > App registrations
- Select the newly created Application.
- Select Overview, and make a record of the following parameters:
- Display name - We refer to this value as
{client_name} - Application (client) ID - We refer to this value as
{client_id} - Directory (tenant) ID - We refer to this value as
{tenant_id}
- Display name - We refer to this value as
- Grant the SharePoint Connector the minimal set of privileges it needs. The application relies on “delegated access”, where the Connector calls Microsoft services on behalf of a signed-in user.
- Select API permissions > Add a permission > Microsoft Graph > Delegated permissions
- Select:
Files.Read.All
References:
- https://learn.microsoft.com/en-us/graph/auth/auth-concepts
- https://learn.microsoft.com/en-us/graph/auth-register-app-v2
- https://learn.microsoft.com/en-us/graph/permissions-overview
SharePoint Folder Configuration
The SharePoint Connector is configured to work towards a single folder under a specific SharePoint Site of your organisation. Projects in consumer applications are then typically configured to connect to one or more sub-folders of this top folder.
Assume for example that the site of interest is available under the URL https://mycompany.sharepoint.com/sites/myCompanySite. Under this site, you wish to connect the SharePoint Connector to the folder with the relative path /General/some/path/shared-documents.
The following 3 parameters are necessary to configure the Connector with:
{site_domain_name}— in this example, this will be equivalent tomycompany.sharepoint.com{site_relative_path}— in this example, this will be equivalent tomyCompanySite{relative_path}— in this example, this will be equivalent to/General/some/path/shared-documents
Deploy within a Docker container
- Install Docker Engine from the Docker website.
- Create a deployment directory of your choice (e.g.
/opt/sharepointconnectoron Linux, orC:\sharepointconnectoron Windows) and copy the provided files into it:sharepoint.war- Dockerfile
docker-compose-template.yml
- Rename
docker-compose-template.ymltodocker-compose.ymlin that deployment directory. - Copy the license file into a suitable location. For example, copy it alongside
docker-compose.ymlmaking the setup self-contained. Update the corresponding volume mapping indocker-compose.yml:/opt/sharepointconnector/lynxwork.lic:/var/lib/jetty/lynxwork.lic - Create an oauth subfolder in a suitable location. For example, alongside
docker-compose.yml. Update the corresponding volume mapping indocker-compose.yml:/opt/sharepointconnector/oauth:/var/lib/jetty/oauth - Edit
docker-compose.ymland replace all remaining values enclosed in{}with the appropriate configuration values for your environment. - Run the Connector from the deployment directory: docker compose up -d
- You should now be able to access the application at
{connector_base_url}.
Configuring Consumer Applications
The SharePoint OSLC Server implements the OSLC standard. Connecting to the server from an engineering application is typically done following OSLC’s discovery capabilities. Consult the manual of the consumer application for further configuration details.
- To configure PTC CodeBeamer, refer to its Client Guide.
- To configure Siemens Polarion, apply Polarion 2512 and Polarion’s Linked Data applications overview.
Usage Guide
To create traceability links to SharePoint Documents, consult your consumer application’s manual for details.
- To connect from PTC CodeBeamer, refer to its Client Guide, section “Using the DPT Client”.
- To connect from Siemens Polarion, apply Polarion 2512 and Polarion’s Add Linked Data Items to Work Items instructions.