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
@@ -1,8 +1,9 @@
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 NonComplianceDocLibraryService : INonComplianceDocLibraryService
{
@@ -45,7 +46,7 @@ internal class NonComplianceDocLibraryService : INonComplianceDocLibraryService
ctx.ExecuteQuery();
string[] fieldName = { "Sorgente", "Rifermento", "Nominativo", "Data Rilevazione", "Commessa", "Parte", "Portal" };
string[] fieldName = { "Sorgente", "Rifermento", "Nominativo", "Data Rilevazione", "Commessa", "Parte", "Portal", "Stato" };
foreach (var fn in fieldName)
{
@@ -71,7 +72,7 @@ internal class NonComplianceDocLibraryService : INonComplianceDocLibraryService
viewCreation.Title = libName;
viewCreation.ViewTypeKind = ViewType.None;
viewCreation.ColumnWidth = "350";
viewCreation.ViewFields = new string[] { "Type", "Name", "Sorgente", "Rifermento", "Nominativo", "Data Rilevazione", "Commessa", "Parte", "Portal" };
viewCreation.ViewFields = Fields.NonComplianceView;
var view = views.Add(viewCreation);