Hot answers tagged


The mistake you are doing is you are using List's UserCustomActions, but here your ScriptLink is the part of SPWeb or SPSite. So you code need to be like UserCustomAction Scriptaction1 = clientContext.Web.UserCustomActions.Add(); instead of UserCustomAction Scriptaction1 = collUCA.Add(); Refer this

Only top voted, non community-wiki answers of a minimum length are eligible