Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #40 from SharePoint/dev
Browse files Browse the repository at this point in the history
Refresh from DEV branch
  • Loading branch information
PaoloPia committed Oct 24, 2017
2 parents 9f1313e + 1a892fc commit 1b3d34f
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 29 deletions.
2 changes: 1 addition & 1 deletion Documentation/Customization.md
Expand Up @@ -20,7 +20,7 @@ In the following screenshot you can see the _"GDPR"_ Term Group, together with i
![The UI of the Tasks client-side web part](./Figures/Fig18-Term-Store-Management.png)

## Workflows Customization
In order to customize the workflow processes, you can create a Classic Team Site, apply the PnP provisioning templates that define the solution (files [GDPR-Activity-Hub-Information-Architecture-Full.xml](../Scripts/GDPR-Activity-Hub-Information-Architecture-Full.xml) and [GDPR-Activity-Hub-Workflows.xml](./Scripts/GDPR-Activity-Hub-Workflows.xml)) by using the following syntax:
In order to customize the workflow processes, you can create a Classic Team Site, apply the PnP provisioning templates that define the solution (files [GDPR-Activity-Hub-Information-Architecture-Full.xml](../Scripts/GDPR-Activity-Hub-Information-Architecture-Full.xml) and [GDPR-Activity-Hub-Workflows.xml](../Scripts/GDPR-Activity-Hub-Workflows.xml)) by using the following syntax:

```PowerShell
# Connect to the target site
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Documentation/Setup-Guide.md
@@ -1,6 +1,6 @@
# GDPR Activity Hub - Setup Guide Using a Shared CDN
In order to setup the GDPR Activity Hub, you have to accomplish few steps. Some of these steps are automatic, some of them are manual.
Please follow carefully the following guidance in order to succeed with the project installation.
In order to setup the GDPR Activity Hub, you have to follow a few steps. Some of these steps are automatic and some are manual.
Please follow carefully the guidance below in order to succeed with the project installation.

Before digging into the installation steps, you should consider the main requirements of the solution:
* You need to have a valid Microsoft Office 365 E3 subscription
Expand Down
2 changes: 2 additions & 0 deletions GDPRStarterKit/gulpfile.js
Expand Up @@ -3,4 +3,6 @@
const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');

require('./gulpfile-update-manifest.js');

build.initialize(gulp);
Expand Up @@ -146,6 +146,7 @@ export default class GdprInsertEvent extends React.Component<IGdprInsertEventPro
<SPPeoplePicker
context={ this.props.context }
label={ strings.EventAssignedToFieldLabel }
required={ true }
onChanged={ this._onChangedEventAssignedTo }
placeholder={ strings.EventAssignedToFieldPlaceholder }
/>
Expand Down
28 changes: 10 additions & 18 deletions README.md
Expand Up @@ -4,38 +4,30 @@ This is the repository for the GDPR Activity Hub project.
![The UI of the Home Page of GDPR Activity Hub](./Documentation/Figures/Fig11-Home-Page.png)

The GDPR Activity Hub is an open source project that you can consider as a starter kit for building a management hub for EU GDPR
(European Global Data Protection Regulation). The goal of this project is to give to customers and partners something to start with
(European Global Data Protection Regulation). The goal of this project is to give customers and partners something to start with
and to play with in order to keep track of all the fundamental events, requests, tasks and activities required to be compliant with
the GDPR.

Moreover, one fundamental goal of this project is to show how to use the latest Microsoft technologies (like the SharePoint Framework,
Office UI Fabric, Office 365 Developer Patterns and Practices, etc.) to easily build real-life solutions.
Furthermore, one fundamental goal of this project is to show how to use the latest Microsoft technologies (like the SharePoint Framework, Office UI Fabric, Office 365 Developer Patterns and Practices, etc.) to easily build real-life solutions.

## Main Components
The solution targets Microsoft Office 365 and it is founded on Microsoft SharePoint Online.
In fact, the main components of the solution are a SharePoint Online Modern Site (i.e. an Office 365 Group Site), some custom developed
SharePoint Framework client-side web parts, few sample workflows built using Workflow Manager for SharePoint Online, and a Power BI
The main components of the solution are a SharePoint Online Modern Site (i.e. an Office 365 Group Site), some custom developed
SharePoint Framework client-side web parts, a few sample workflows built using Workflow Manager for SharePoint Online, and a Power BI
dashboard. Moreover, there are some PowerShell script files that you can use to speed up the setup process of the solution in your own Office 365 tenants.

## User Guide
Please, refer to the [User Guide](./Documentation/User-Guide.md) document to understand what you can do with the GDPR Activity Hub.

## Target Audience
The target audience for this project are Microsoft Partners and customers with an internal IT development team, which can install and customize
the sample solution based on the real customer's needs. If you are an end-user company, you should ask to a Microsoft Partner for support to customize, install, and use this solution.
The target audience for this project are Microsoft Partners and customers with an internal IT development team, which can install and customize the sample solution based on the real customer's needs. If you are an end-user company, you should ask a Microsoft Partner for support to customize, install, and use this solution.

## Setup
In order to setup the solution, you can follow the instructions provided in the [Setup Guide](./Documentation/Setup-Guide.md) document.

## Architecture
Out of the box, the solution uses SharePoint Online to host the UI components, as well as to store data about events, requests, tasks and
activities required by GDPR. However, you should keep in mind that SharePoint is not a replacement for a relational DBMS. Thus, you can
use or consider to use this solution for small or eventually medium business, but you cannot use the solution "as is" for big enterprises or
companies with many thousands of items to keep track of.
Nevertheless, the architecture of the solution has been defined with a clear decoupling between the UI and the data persistence storage, so that
you can eventually customize the solution (because it is an open source project) and replace the SharePoint Online persistence layer with a
DBMS based storage system. The same approach can be used to connect the Power BI dashboard with a DBMS instead of using SharePoint Online as the
main data source.
Out of the box, the solution uses SharePoint Online to host the UI components, as well as to store data about events, requests, tasks and activities required by GDPR. However, you should keep in mind that SharePoint is not a replacement for a relational DBMS. Thus, you can use or consider to use this solution for small or eventually medium businesses, but you cannot use the solution "as is" for big enterprises or companies with many thousands of items to keep track of.
Nevertheless, the architecture of the solution has been defined with a clear decoupling between the UI and the data persistence storage, so that you can eventually customize the solution (because it is an open source project) and replace the SharePoint Online persistence layer with a DBMS based storage system. The same approach can be used to connect the Power BI dashboard with a DBMS instead of using SharePoint Online as the main data source.

## Resources

Expand All @@ -44,12 +36,12 @@ main data source.
* [Power BI](https://powerbi.microsoft.com/en-us/)

## Disclaimer
This GDPR Activity Hub is intended to assist organizations with their GDPR compliance progress. This GDPR Activity Hub should not be relied upon to determine how GDPR applies to an organization or an organization’s compliance with GDPR. This GDPR Activity Hub does not constitute legal advice, nor does it provide any certifications or guarantees regarding GDPR compliance. Instead, we hope the GDPR Activity Hub identifies steps that organizations can implement to simplify their GDPR compliance efforts. The application of GDPR is highly fact-specific. We encourage all organizations using this GDPR Activity Hub to work with a legally qualified professional to discuss GDPR, how it applies specifically to their organization, and how best to ensure compliance.
This GDPR Activity Hub is intended to assist organizations with their GDPR compliance progress. This GDPR Activity Hub should not be relied upon to determine how GDPR applies to an organization or an organization’s compliance with GDPR. This GDPR Activity Hub does not constitute legal advice, nor does it provide any certifications or guarantees regarding GDPR compliance. Instead, we hope the GDPR Activity Hub identifies steps that organizations can implement to simplify their GDPR compliance efforts. The application of GDPR is highly fact-specific. We encourage all organizations using this GDPR Activity Hub to work with a legally qualified professional to discuss GDPR, how it applies specifically to their organization, and how best to ensure compliance.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS GDPR Activity Hub. Microsoft disclaims any conditions, express or implied, or other terms that use of the Microsoft products or services will ensure the organization’s compliance with the GDPR. This GDPR Activity Hub is provided “as-is.” Information and recommendations expressed in this GDPR Activity Hub may change without notice.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS GDPR Activity Hub. Microsoft disclaims any conditions, express or implied, or other terms that use of the Microsoft products or services will ensure the organization’s compliance with the GDPR. This GDPR Activity Hub is provided “as-is.” Information and recommendations expressed in this GDPR Activity Hub may change without notice.

This GDPR Activity Hub does not provide the user with any legal rights to any intellectual property in any Microsoft product or service. Organizations may use this GDPR Activity Hub for internal, reference purposes only.

© 2017 Microsoft. All rights reserved.
© 2017 Microsoft. All rights reserved.

![](https://telemetry.sharepointpnp.com/sp-dev-gdpr-activity-hub/readme)
11 changes: 3 additions & 8 deletions Scripts/Provision-GDPRActivityHub.ps1
Expand Up @@ -113,6 +113,7 @@ try
Push-Location ..\GDPRStarterKit

$cdnSiteAssetsFullUrl = "https://publiccdn.sharepointonline.com/" + $spoTenantName + "/sites/" + $CDNSiteName + "/" + $CDNLibraryName + "/GDPRActivityHub"
& npm install --save
& gulp update-manifest --cdnpath "$cdnSiteAssetsFullUrl"
& gulp clean
& gulp bundle --ship
Expand All @@ -128,16 +129,10 @@ try
$context.Load($packageFolder)
Execute-PnPQuery

$cdnSiteAssetsUploadUrl = $CDNLibraryName + "/GDPRActivityHub"
foreach ($file in (dir ..\GDPRStarterKit\temp\deploy -File))
{
$fileStream = New-Object IO.FileStream($file.FullName, [System.IO.FileMode]::Open)
$fileCreationInfo = New-Object Microsoft.SharePoint.Client.FileCreationInformation
$fileCreationInfo.Overwrite = $true
$fileCreationInfo.ContentStream = $fileStream
$fileCreationInfo.URL = $file
$upload = $packageFolder.Files.Add($fileCreationInfo)
$context.Load($upload)
Execute-PnPQuery
$uploadedFile = Add-PnPFile -Path $file.FullName -Folder $cdnSiteAssetsUploadUrl
}

# Configure the CDN at the tenant level
Expand Down

0 comments on commit 1b3d34f

Please sign in to comment.