Update

Definition

https://portal.xpertdoc.com/odata4/v6/ContentLibraryFolders(:contentLibraryFolderId)

Parameters

contentLibraryFolderId: String

Examples

{
	"@odata.context": "https://portal.xpertdoc.com/odata4/v6/$metadata#ContentLibraryFolders/$entity",
	"ContentLibraryFolderId": "00000000-0000-0000-0000-000000000000",
	"ContentLibraryId": "00000000-0000-0000-0000-000000000000",
	"ContentMetadataFormId": null,
	"ParentContentLibraryFolderId": null,
	"LinkedContentLibraryFolderId": null,
	"FolderType": "Folder",
	"Name": "New_Name",
	"Metadata": null,
	"SequenceNumber": 0,
	"CreatedByUserProfileId": "00000000-0000-0000-0000-000000000000",
	"CreatedDate": "2016-01-01T00:00:00.0000000Z",
	"ModifiedByUserProfileId": "00000000-0000-0000-0000-000000000000",
	"ModifiedDate": "2016-01-01T00:00:00.0000000Z",
	"Timestamp": "AAAAAAAEqfA="
}
var contentLibraryFolder = portalContext.ContentLibraryFolders.Where(clf => clf.contentLibraryFolderId == Guid.Parse("00000000-0000-0000-0000-000000000000")).FirstOrDefault();

contentLibraryFolder.Name = "New Name";
contentLibraryFolder.ValueToChange = value;
	
portalContext.UpdateObject(contentLibraryFolder);
portalContext.SaveChanges();