I have created a library programmatically within a content type my URL is :
/sites/test/_layouts/15/start.aspx#/1235/Forms/AllItems.aspx
I would like to update this URL and change the
12345
by something else on my C# code (a string value that i get somewhere else).
something like :
/sites/test/_layouts/15/start.aspx#/TEST/Forms/AllItems.aspx
I success to change the Title of the library easily but not the URL.
SPList lst = web.Lists[oldVal];
lst.Title = properties.AfterProperties["CorporateName"].ToString();
lst.Update();
I searched and read many way to do it within Sharepoint Designer, but i didn't find the perfect solution to do it on Visual Studio.