You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/general-development/create-a-sharepoint-workflow-app-using-visual-studio-2012.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -404,7 +404,7 @@ Now that we have our SharePoint Server set up and our basic workflow created, we
404
404
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.
405
405
406
406
> [!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."
408
408
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.
409
409
410
410
**Figure 17. Adding the IF activity to check the task status.**
Copy file name to clipboardExpand all lines: docs/general-development/working-with-web-services-in-sharepoint-workflows-using-sharepoint-designer.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ One of the more significant changes to the workflow architecture is that now all
22
22
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.
23
23
## Why are web services important for SharePoint workflows
24
24
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.
Copy file name to clipboardExpand all lines: docs/scenario-guidance/Transformation.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ When you deactivate your existing sandbox solution from your sites, any assets o
116
116
117
117
_**Applies to:** Office 365 and SharePoint Server_
118
118
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 thebox 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.
120
120
121
121
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.
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
4
5
---
5
-
# Bulk upload documents sample add-in for SharePoint
6
6
7
-
As part of your Enterprise Content Management (ECM) strategy, you can bulk upload documents to document libraries, including OneDrive for Business.
> The sample uploads one file to a document library. To upload multiple files, you'll need to extend the sample.
13
11
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.
15
13
16
-
- Upload files to SharePoint Online.
17
-
14
+
Use this solution if you want to:
15
+
16
+
- Upload files to SharePoint Online.
18
17
- Migrate to Office 365 and use a custom migration tool to move your files.
19
18
20
19
## Before you begin
21
-
<aname="sectionSection0"> </a>
22
20
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.
24
22
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.
26
25
26
+
Before you run the code sample, do the following:
27
27
28
28
1. Edit the OneDriveUploader.xml file with the following information:
29
29
30
30
- The ___location where you want to save your text and CSV log files.
31
-
32
31
- The file path to your CSV mapping file (for example, C:\PnP\Samples\Core.BulkDocumentUploader\Input\SharePointSites.csv).
33
-
34
32
- The ___location of the company policy files to upload (for example, C:\PnP\Samples\Core.BulkDocumentUploader\Input\OneDriveFiles).
35
-
36
33
- Your SharePoint Online credentials.
37
-
38
34
- The document action to perform (either upload or delete).
39
-
40
35
- The new file name to apply to the file after the file is uploaded to the document library (for example, COMPANY POLICY DOCUMENT.xlsx).
41
36
42
37
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.
43
38
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**.
47
40
48
41

49
42
50
43
51
-
## Using the Core.BulkDocumentUploader sample app
52
-
<aname="sectionSection1"> </a>
44
+
## Using the Core.BulkDocumentUploader sample add-in
53
45
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.
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:
75
66
76
67
1. Gets the file to upload.
77
68
78
69
2. Ensures that the user has permissions to add items.
79
70
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.
81
72
82
73
4. Performs the file upload.
83
74
84
75
> [!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.
-[Enterprise Content Management solutions for SharePoint 2013 and SharePoint Online](Enterprise-Content-Management-solutions-for-SharePoint-2013-and-SharePoint-Online.md)
Copy file name to clipboardExpand all lines: docs/solution-guidance/Bulk-user-profile-update-api-for-sharepoint-online.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ Many enterprises need to replicate custom attributes to the SharePoint user prof
20
20
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.
21
21
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.
22
22
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 thebox 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 thebox 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.
25
25
26
26
> [!NOTE]
27
27
> 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