Configure a SharePoint Uploader activity
- Add a SharePoint Uploader activity to the map. See Add an activity.
- On the Extended Properties page of the SharePoint Uploader activity, click the Configuration tab.
- Consume the SharePoint Site to retrieve the location of the SharePoint server and the TotalAgility Web Service URL.
- To specify the location of the source document to add to the SharePoint site, use either of the following methods:
-
In the
Target Document URL box,
enter the SharePoint location URL to upload the document or provide a static
value.
The Target Document URL specified should be in the following format: <relativepath>/<documentname to be uploaded>
The <relativepath> includes the document library along with any folders within. For example, if the file resides in a document library with URL as http://SharepointSitelocation/Shared Documents/filename.ext, the target document URL will be "Shared Documents/filename.ext".
-
Specify the document
Content Type using a
dynamic value or a static value.
Note The content type you specify must match a content type that is already defined for the Document Library in SharePoint. Otherwise, TotalAgility ignores the specified content type and uses the default content type defined for the library.
-
To automatically add the uploaded document to the SharePoint
Record Center, click
Yes for
Declare as Record.
Once you declare that a document is a record, TotalAgility adds the document to the SharePoint record center.
Note The Declare as Record option is only available for a local SharePoint site. -
To automatically retrieve the return value identifier of this item
from SharePoint when the activity is completed, consume the variable in the
Return Value Unique
Identifier box.
Note The Return Value Unique Identifier is the unique SharePoint ID of the uploaded document. The ID is automatically updated with the variable value when the SharePoint Uploader activity is completed.
-
Click
Save.
Note If TotalAgility finds insufficient privileges, incorrect parameter values, or a mismatch between the selected location and the TotalAgility Web service, the item is not uploaded and the job is suspended. Error details appear in the event Log.