public static void GetWebPartProperties_UsingCSV() { string SharePointOnline_OR_OnPremise = "OP"; string UserName = "******"; string Password = "******"; string Domain = "MGMT7"; string outPutDir = @"E:\v-suamso\FTC-CAMSimulation\TransformationTool\TestingResults\GetWebPartPropertiesByCSV\Current"; string usageFilePath = @"E:\v-suamso\FTC-CAMSimulation\TransformationTool\TestingResults\GetWebPartPropertiesByCSV\WebParts_Usage.csv"; string sourceWebPartTitle = "Featured Links Web Part"; WebPartTransformationHelper webPartTransformationHelper = new WebPartTransformationHelper(); webPartTransformationHelper.GetWebPartProperties_UsingCSV(sourceWebPartTitle, usageFilePath, outPutDir, SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { WebPartTransformationHelper webPartTransformationHelper = new WebPartTransformationHelper(); webPartTransformationHelper.GetWebPartProperties_UsingCSV(InputFolder, SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { WebPartTransformationHelper webPartTransformationHelper = new WebPartTransformationHelper(); webPartTransformationHelper.GetWebPartProperties_UsingCSV(InputFolder, SharePointOnline_OR_OnPremise, UserName, Password, Domain); }
protected override void ProcessRecord() { WebPartTransformationHelper webPartTransformationHelper = new WebPartTransformationHelper(); webPartTransformationHelper.GetWebPartProperties_UsingCSV(SourceWebPartType, WebPartUsageFilePath, OutPutDirectory, SharePointOnline_OR_OnPremise, UserName, Password, Domain, "CSVUpdates"); }