Skip to content

Commit 09a2b7d

Browse files
authored
Edit pass on 4 Solution guidance sections (SharePoint#1788)
* Edit pass * Updated TOC and overview page and titles * Updated Note text * Edit pass * Edit pass * Fixes * Edit pass * Edit pass * Edit pass * Updated home page and descriptions; fixes * Fixes * Fixed bookmark * Fixes * Composite business apps initial edit * Edit pass * Edit pass * Edit pass * Fixes * Edit pass * Fixes * Updated links * Updated loc link * Edit pass * Edit pass * Edit pass * Edit pass * Final fixes * Fixes
1 parent e8d69da commit 09a2b7d

File tree

46 files changed

+1836
-1681
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1836
-1681
lines changed

docs/general-development/create-a-sharepoint-workflow-app-using-visual-studio-2012.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ Now that we have our SharePoint Server set up and our basic workflow created, we
404404
Note the name of the **Outcome** variable: _outcome_0_ (or similar). We use this variable to check the outcome of the task - that is, whether the approver has approved or rejected the document.
405405

406406
> [!NOTE]
407-
> The **Outcome** out-argument returns an **Int32** value corresponding to the index of the outcome - that is, **0** for "Approved" and **1** for "Rejected". These integers are the default values provided in the out-of-box SharePoint site column named "Task Outcome."
407+
> The **Outcome** out-argument returns an **Int32** value corresponding to the index of the outcome - that is, **0** for "Approved" and **1** for "Rejected". These integers are the default values provided in the out-of-the-box SharePoint site column named "Task Outcome."
408408
8. Now, in order for the workflow to check the outcome of the task, we need to add another **If** activity and place it following the **SingleTask** activity, but inside the **Then** area, as shown in Figure 17. Setting the **If** condition to " `outcome_0 == 0`" tells us whether the document was approved.
409409

410410
**Figure 17. Adding the IF activity to check the task status.**

docs/general-development/working-with-web-services-in-sharepoint-workflows-using-sharepoint-designer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ One of the more significant changes to the workflow architecture is that now all
2222
For those customers who have created workflows using SharePoint Designer in the past, this is nothing new. Workflows authored using SharePoint Designer have always been fully declarative. This change does benefit customers who create workflows using SharePoint Designer 2013, however, because SharePoint Designer 2013 workflows now support calling and consuming web services.
2323
## Why are web services important for SharePoint workflows
2424

25-
Let's start by understanding scenarios in which using web services makes sense. In the days of SharePoint 2007 or SharePoint 2010, writing custom code was common when using Visual Studio to author workflows because that was the best way to perform calculations or implement custom business logic. Any time you encountered a situation in which the out-of-box actions and activities didn't meet your needs, you could fall back on custom code in a managed assembly.
25+
Let's start by understanding scenarios in which using web services makes sense. In the days of SharePoint 2007 or SharePoint 2010, writing custom code was common when using Visual Studio to author workflows because that was the best way to perform calculations or implement custom business logic. Any time you encountered a situation in which the out-of-the-box actions and activities didn't meet your needs, you could fall back on custom code in a managed assembly.
2626

2727

2828

docs/scenario-guidance/Branding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Cascading style sheet (CSS) plays a large role in SharePoint branding. To succes
202202

203203
- [CSS injection pattern](https://dev.office.com/patterns-and-practices-detail/1852)
204204
- [AlternateCssUrl & SiteLogoUrl properties in web object](https://dev.office.com/patterns-and-practices-detail/1849)
205-
- [Making out of the box Seattle master responsive](https://dev.office.com/patterns-and-practices-detail/5823)
205+
- [Making out-of-the-box Seattle master responsive](https://dev.office.com/patterns-and-practices-detail/5823)
206206

207207
## Script Embedding and DOM manipulation
208208

docs/scenario-guidance/Transformation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ When you deactivate your existing sandbox solution from your sites, any assets o
116116

117117
_**Applies to:** Office 365 and SharePoint Server_
118118

119-
Client-side rendering or JSLink is a concept introduced with SharePoint 2013. With the help of this concept, you can customize the look and feel of SharePoint Out of the box VIEW/ADD/EDIT FORM.
119+
Client-side rendering or JSLink is a concept introduced with SharePoint 2013. With the help of this concept, you can customize the look and feel of SharePoint out-of-the-box VIEW/ADD/EDIT FORM.
120120

121121
JSLink is a JavaScript file which will override the default view of your list with the help of logically defined in your custom JSLink file. You can include the JSLink JavaScript file under the Miscellaneous section of your list view web part.
122122

docs/solution-guidance/Autotagging-sample-app-for-SharePoint.md

Lines changed: 67 additions & 61 deletions
Large diffs are not rendered by default.

docs/solution-guidance/Bulk-upload-documents-sample-app-for-SharePoint.md

Lines changed: 22 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,49 @@
11
---
2-
title: Bulk upload documents sample add-in for SharePoint
3-
ms.date: 11/03/2017
2+
title: Bulk upload documents sample SharePoint Add-in
3+
description: As part of your Enterprise Content Management (ECM) strategy, you can bulk upload documents to document libraries, including OneDrive for Business.
4+
ms.date: 5/2/2018
45
---
5-
# Bulk upload documents sample add-in for SharePoint
66

7-
As part of your Enterprise Content Management (ECM) strategy, you can bulk upload documents to document libraries, including OneDrive for Business.
8-
9-
_**Applies to:** Office 365 | SharePoint 2013 | SharePoint Online_
7+
# Bulk upload documents sample SharePoint Add-in
108

119
> [!NOTE]
1210
> The sample uploads one file to a document library. To upload multiple files, you'll need to extend the sample.
1311
14-
This add-in uses a console application to upload files by using REST API calls. Configuration settings are specified in an XML and a CSV file. Use this solution if you want to:
12+
The Core.BulkDocumentUploader sample add-in uses a console application to upload files by using REST API calls. Configuration settings are specified in an XML and a CSV file.
1513

16-
- Upload files to SharePoint Online.
17-
14+
Use this solution if you want to:
15+
16+
- Upload files to SharePoint Online.
1817
- Migrate to Office 365 and use a custom migration tool to move your files.
1918

2019
## Before you begin
21-
<a name="sectionSection0"> </a>
2220

23-
To get started, download the [Core.BulkDocumentUploader](https://github.com/SharePoint/PnP/tree/master/Samples/Core.BulkDocumentUploader) sample add-in from the [Office 365 Developer patterns and practices](https://github.com/SharePoint/PnP/tree/dev) project on GitHub.
21+
To get started, download the [Core.BulkDocumentUploader](https://github.com/SharePoint/PnP/tree/master/Samples/Core.BulkDocumentUploader) sample add-in from the Office 365 Developer Patterns and Practices project on GitHub.
2422

25-
Before you run the code sample, do the following:
23+
> [!NOTE]
24+
> The code in this article is provided as-is, without warranty of any kind, either express or implied, including any implied warranties of fitness for a particular purpose, merchantability, or non-infringement.
2625
26+
Before you run the code sample, do the following:
2727

2828
1. Edit the OneDriveUploader.xml file with the following information:
2929

3030
- The ___location where you want to save your text and CSV log files.
31-
3231
- The file path to your CSV mapping file (for example, C:\PnP\Samples\Core.BulkDocumentUploader\Input\SharePointSites.csv).
33-
3432
- The ___location of the company policy files to upload (for example, C:\PnP\Samples\Core.BulkDocumentUploader\Input\OneDriveFiles).
35-
3633
- Your SharePoint Online credentials.
37-
3834
- The document action to perform (either upload or delete).
39-
4035
- The new file name to apply to the file after the file is uploaded to the document library (for example, COMPANY POLICY DOCUMENT.xlsx).
4136

4237
2. In the SharePointSites.csv mapping file, list the document library URL to upload files to, and the name of the company policy file to upload.
4338

44-
3. Add the file path of the OneDriveUploader.xml file as a command-line argument. To do this, open the Core.BulkDocumentUploader project properties in Solution Explorer, and then choose **Properties** > **Debug**, as shown in Figure 1.
45-
46-
**Figure 1. Setting OneDriveUploader.xml as a command-line argument in the project properties**
39+
3. Add the file path of the OneDriveUploader.xml file as a command-line argument. To do this, open the Core.BulkDocumentUploader project properties in Solution Explorer, and then choose **Properties** > **Debug**.
4740

4841
![Screenshot of the Core.BulkDocumentUploader properties pane with Debug highlighted.](media/f1d950b4-82be-4800-9ccc-07fa2c739fad.png)
4942

5043

51-
## Using the Core.BulkDocumentUploader sample app
52-
<a name="sectionSection1"> </a>
44+
## Using the Core.BulkDocumentUploader sample add-in
5345

54-
From the **Main** method in Program.cs, the **RecurseActions** method calls the **Run** method in OneDriveMapper.cs. The **Run** method gets the ___location of the file to upload from SharePointSites.csv, and then calls the **IterateCollection** method.
55-
56-
> [!NOTE]
57-
> The code in this article is provided as-is, without warranty of any kind, either express or implied, including any implied warranties of fitness for a particular purpose, merchantability, or non-infringement.
46+
From the **Main** method in Program.cs, the **RecurseActions** method calls the **Run** method in OneDriveMapper.cs. The **Run** method gets the ___location of the file to upload from SharePointSites.csv, and then calls the **IterateCollection** method.
5847

5948
```csharp
6049
public override void Run(BaseAction parentAction, DateTime CurrentTime, LogHelper logger)
@@ -71,18 +60,20 @@ public override void Run(BaseAction parentAction, DateTime CurrentTime, LogHelpe
7160

7261
```
7362

63+
<br/>
64+
7465
The SharePointSite.csv file lists a file to upload and the document library to upload that file to. The **IterateCollection** method then does the following to upload the file to the document library:
7566

7667
1. Gets the file to upload.
7768

7869
2. Ensures that the user has permissions to add items.
7970

80-
3. Creates the **HttpWebRequest** object with the authentication cookie, the REST string request to upload the document, and the HTTP request action method.
71+
3. Creates the **HttpWebRequest** object with the authentication cookie, the REST string request to upload the document, and the HTTP request action method.
8172

8273
4. Performs the file upload.
8374

8475
> [!NOTE]
85-
> The file name is overwritten with the value of **FileUploadName** specified in OneDriveUploader.xml.
76+
> The file name is overwritten with the value of **FileUploadName** specified in OneDriveUploader.xml.
8677
8778
```csharp
8879
public override void IterateCollection(Collection<string> entries, LogHelper logger)
@@ -212,8 +203,6 @@ public override void IterateCollection(Collection<string> entries, LogHelper log
212203
```
213204

214205
## See also
215-
<a name="bk_addresources"> </a>
216-
217-
- [Enterprise Content Management solutions for SharePoint 2013 and SharePoint Online](Enterprise-Content-Management-solutions-for-SharePoint-2013-and-SharePoint-Online.md)
218-
- [Core.LargeFileUpload sample](https://github.com/SharePoint/PnP/tree/master/Samples/Core.LargeFileUpload)
219-
206+
207+
- [Core.LargeFileUpload sample](https://github.com/SharePoint/PnP/tree/master/Samples/Core.LargeFileUpload)
208+
- [Enterprise Content Management solutions for SharePoint](enterprise-content-management-solutions-for-sharepoint.md)

docs/solution-guidance/Bulk-user-profile-update-api-for-sharepoint-online.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Many enterprises need to replicate custom attributes to the SharePoint user prof
2020
2. A standardized set of attributes are replicated from Azure Active Directory to the SharePoint Online User Profile Store within Office 365. Unlke on-premises SharePoint, these attributes cannot be customized.
2121
3. A custom synchronization tool taking advantage of the new bulk update APIs. This tool uploads a JSON file to the Office 365 tenant and queues the import process. This tool can be implemented using managed code (.NET) or as a PowerShell script using the new CSOM APIs.
2222
4. A Line of Business (LOB) system, or any external system, which is the source of the information in the JSON file. This could also be a combination of data from Active Directory and any external system. Notice that from an API perspective, the LOB system could even be an on-premises SharePoint 2013 or 2016 farm.
23-
5. An out of the box server side timer job running in SharePoint online which checks for queued import requests and will perform the actual import operation based on the API calls and the information within the provided JSON file.
24-
6. Extended user profile information is available within user profiles and can be used for any out of the box or custom functionality in SharePoint online.
23+
5. An out-of-the-box server side timer job running in SharePoint online which checks for queued import requests and will perform the actual import operation based on the API calls and the information within the provided JSON file.
24+
6. Extended user profile information is available within user profiles and can be used for any out-of-the-box or custom functionality in SharePoint online.
2525

2626
> [!NOTE]
2727
> The import only works for user profile properties which have **not** been set to be editable by end users. This is to prevent the user profile import process from overriding any information which an end user has already updated. Additionally, the import only allows custom properties that are not active directory core properties. These must be synchronized to Azure Active Directory. For the list of these core directory properties, see the table listed in the FAQ section below.

0 commit comments

Comments
 (0)