office365 - Unable to add site column with jslink on SharePoint online with CSOM -
i'm facing weird issue today, have sharepoint provider hosted add-in used work last year , half.
in spph add-in use jslink on fields. when try add new site column jslink property specified unknown error back.
if try create field , update jslink value, same issue.
tried updating csom latest version too.
facing same issue? idea on subject?
help!
web.fields.addfieldasxml("<field type=\"note\" name=\"myfield\" staticname=\"myfieldsn\" displayname=\"my field\" " + "required=\"false\" hidden=\"false\" readonly=\"false\" unlimitedlengthindocumentlibrary=\"true\" " + "showindisplayform=\"true\" showineditform=\"false\" showinlistsettings=\"true\" showinnewform=\"false\" " + "showinversionhistory=\"true\" showinviewforms=\"true\" showinfiledlg=\"false\" " + "group=\"attribute\" jslink=\"sp.js|~sitecollection/siteassets/attributeonline/scripts/jquery-2.1.4.min.js|~sitecollection/siteassets/attributeonline/scripts/jslink.js \" />", false, addfieldoptions.defaultvalue); _context.load(field); _context.executequery();
related question : presaveaction not working in sharepoint office 365 (2016)
as stated in documentation here jslink not yet supported in new experience. in order support customization you'd have disable it.
Comments
Post a Comment