Service update, import changes from web_portal

This commit is contained in:
Claudio Boggian
2023-06-21 10:38:57 +02:00
parent 39fa4dedf3
commit bb99cef33c
101 changed files with 4266 additions and 3044 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
using console_spo_utils.Constants;
using console_spo_utils.Interfaces.Services;
using library_spo_utils.Constants;
using library_spo_utils.Interfaces.Services;
using Microsoft.Extensions.Logging;
using Microsoft.SharePoint.Client;
namespace console_spo_utils.Services;
namespace library_spo_utils.Services;
internal class SubSiteService : ISubSiteService
{
@@ -106,7 +106,7 @@ internal class SubSiteService : ISubSiteService
{
foreach (var fieldName in Fields.SubSiteProject)
{
var fields = siteField.Fields.GetByTitle(fieldName);
var fields = siteField.Fields.GetByInternalNameOrTitle(fieldName);
list.Fields.Add(fields);
}
ctx.ExecuteQuery();