Doküman Yönetimi'ndeki Bir Nesnenin Adını Kodla Değiştirmek
Aşağıdaki kodlar kullanılarak Doküman Yönetimi'ndeki bir dosyanın veya klasörün adı değiştirilebilir.
Gerekli Kütüphaneler
using System;
using System.Collections.Generic;
using Bimser.CSP.FormControls.Common;
using Bimser.CSP.FormControls.Controls;
using Bimser.CSP.FormControls.Events;
using Bimser.Synergy.Entities.Shared.Business.Objects;
using Bimser.Synergy.ServiceAPI;
using Bimser.Synergy.ServiceAPI.Models.Authentication;
using Bimser.Synergy.ServiceAPI.Models.Form;
using Newtonsoft.Json;
using Bimser.Synergy.Entities.DocumentManagement.Business.DTOs.Requests;
using Bimser.Synergy.Entities.DocumentManagement.Business.DTOs.Responses;
using Bimser.Framework.Web.Models;
using System.Linq;
Gerekli Kodlar
public GetDMObjectResponse GetDMObjectInfo(string path)
{
    WrapResponse<GetDMObjectsResponse> dmObject = ServiceApi.DocumentManagement.GetDMObjectsFromPath(
        new GetDMObjectsFromPathRequest(path)).Result;
    GetDMObjectResponse dMObjectResponse = dmObject.Result.Items.First();
    return dMObjectResponse;
}
void Button1_OnClick(object sender, MouseEventArgs e)
{
    GetDMObjectResponse dmObject = GetDMObjectInfo("İsmi Değiştirilecek Dosyanın Path Bilgisi");//dosya adı ve (varsa) uzantısı ile birlikte
    ServiceApi.DocumentManagement.RenameObject(
        new RenameObjectRequest(dmObject.SecretKey,dmObject.DecryptedObjectSecret)
        {
            NameML = new Dictionary<string, string>{
                {"tr-TR","yeniIsim.png"},//örnek olarak (varsa) bu şekilde dosya uzantısı da verilmelidir.
                {"en-US","newName.png"}
            }
        }
    );
    
}