Service update, import changes from web_portal
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user