checkinout: Check-in and Check-out Files

Description Usage Arguments Value See Also

Description

Check out the file first to prevent other users from changing it. Then, check it back in after you've made your changes.

Usage

1
2
3
4
5
spcheckout(file, directory, site, site_collection)

spundocheckout(file, directory, site, site_collection)

spcheckin(comment, file, directory, site, site_collection)

Arguments

file

a name of a file on sharepoint.

directory

a directory name.

site

a SharePoint site name, e.g. '/ExpertGroups/WGNSSK'.

site_collection

a SharePoint site collection, will almost exclusively be 'https://community.ices.dk', so these functions should work for other SharePoint sites outside ICES.

comment

the checkin comment

Value

invisibly returns the response from the SharePoint server

See Also

spfile.create To upload a file.


ices-tools-prod/icesSharePoint documentation built on June 27, 2021, 5:16 p.m.