I tried to find "Edit page" option but could not find it.
Is it possible to add some .js
file into a specific view?
I tried to find "Edit page" option but could not find it.
Is it possible to add some .js
file into a specific view?
It looks like you are using the Modern Experience
for your document library that does not allow javascript customization and CSS branding/theming.
You can vote for this request "Allow Javascript customization and CSS branding/theming in the new Document Library Experience" at UserVoice
The workaround
To can find Edit Page
option and add a JS/ CSS customization you should switch back to Classic Experience
as the following:
Choose Classic experience
option.
This option sets the experience to classic, which is the previous, older experience for document libraries.
For more details check Switch the default experience for lists or document libraries from new or classic