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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -