0

Can we use content editor or script editor webpart for all list views. I don't find any option to apply single content editor to all list views.

Is there any possibility

  • You can add the script in master page, so it will run on all pages. – P S Feb 5 at 15:29
  • okay, so i have only option to edit master – Rakesh Sadhula Feb 7 at 3:50
0

The answer is technically, one at a time. There isn't really a way to do that. As PS commented, you could add a content editor to the master page, but that's not going to run on just views of a particular list, it will run on all pages of the site including all views for all lists on the site. That's probably not a great solution if what you're trying to achieve is add something to all views of a particular list.

0

There is no way to apply a content/script editor web part for all lists views.

If you want to apply the same code for all list views, you can add a condition to classify if the current page is a view page or not, then If it is a view page, add your code into the area. you can have a try.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.