New answers tagged


The most common way would be to create your own content type, deriving from Document and add the custom column to this new content type. That way you would not run in to this kind of clashes with other OOTB content types that already inherits from Document. This custom content type could be created and published from a Content Type Hub, making it available ...


Any C# code is need to compile first by the compiler, and as we all know the code kept in Script Editor WebPart is not compiled. The content kept in Script Editor WebPart is executed by browser hence we cannot use Script Editor WebPart for writing C# code as C# code cannot be executed by browser. Let me know your thoughts.


Script Editor only supports JavaScript code, so you cannot user C# in there.

Top 50 recent answers are included