我公司最近开始从SharePoint 2010迁移到SharePoint Online。我发现我的JSL脚本现在不再能够打开文件或将文件保存到新的SPO站点。任何人都有正确的更新语法。
示例1(SP 2010):此方法有效。
TablePath4 = "\\sharepoint.amr.ith.company.com@ssl\sites\rpt\documents\JMP_tables\"; //set variable TablePath path location
Table4 = TablePath4 || "RPT Tester Mapping.jmp";//create a variable for the RPT Tester Mapping JMP file
Table4Name = "RPT Tester Mapping.jmp";// Create the varible for the name of the RPT Tester Mapping JMP table
dt = Open( Table4 );//Open Table4
示例2(SP 2010);这工作
Lot = :Lot_Oper[1];
dt << Save( "\\sharepoint.amr.ith.company.com@ssl\sites\rpt\documents\results\" || Lot || ".csv" ); //save table as HP_Data for Q&R Master data file;