question

CodyDobbs-6151 avatar image
0 Votes"
CodyDobbs-6151 asked ·

Share point Content Editor is not applying to all items

Hello,

I am new to share point, and the only knowledge I have with the app is you tube and searching for troubleshooting my issues. I have created a script within the the content editors, and the functionality I am wanting is happening, but only to the first page of my list (the first 30 items). how can I get this content editor script to apply on all items, along with any future items to be added. any help on this would be greatly appreciated.

Below is the script that I have written into the source of of my content editor (in case the issue lies within):

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" type="text/javascript"></script><script>

$(document).ready(function(){

$Text = $("td .ms-vb2:contains('Completed')").filter(function() {

return $(this).text() == "Completed";})

$Text.parent().css("background-color", "#00FF66");

$Text = $("td .ms-vb2:contains('Received')");

$Text.parent().css("background-color", "#FFFF66");

$Text = $("td .ms-vb2:contains('In Progress')");

$Text.parent().css("background-color", "#3388EE");

$Text = $("td .ms-vb2:contains('Canceled')");

$Text.parent().css("background-color", "#FF0000");

}); </script>​​​​<br/>​<br/>​​<br/>​<br/>​<br/>​<br/>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" type="text/javascript"></script>

<script>

$(document).ready(function(){

$Text = $("td .ms-vb2:contains('Completed')").filter(function() {

return $(this).text() == "Completed";})

$Text.parent().css("background-color", "#00FF66");

$Text = $("td .ms-vb2:contains('Received')");

$Text.parent().css("background-color", "#FFFF66");

$Text = $("td .ms-vb2:contains('In Progress')");

$Text.parent().css("background-color", "#3388EE");

$Text = $("td .ms-vb2:contains('Canceled')");

$Text.parent().css("background-color", "#FF0000");

}); </script>​​​​<br/>​<br/>​​<br/>​<br/>​<br/>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" type="text/javascript"></script>

<script>

$(document).ready(function(){

$Text = $("td .ms-vb2:contains('Completed')").filter(function() {

return $(this).text() == "Completed";})

$Text.parent().css("background-color", "#00FF66");

$Text = $("td .ms-vb2:contains('Received')");

$Text.parent().css("background-color", "#FFFF66");

$Text = $("td .ms-vb2:contains('In Progress')");

$Text.parent().css("background-color", "#3388EE");

$Text = $("td .ms-vb2:contains('Canceled')");

$Text.parent().css("background-color", "#FF0000");

}); </script>​​​​<br/>​<br/>​​<br/>​<br/>​<br/> ​<br/>

not-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

Sharepoint is not currently supported here on QnA. I'd try asking for help in dedicated forums here.

https://techcommunity.microsoft.com/t5/sharepoint/ct-p/SharePoint


https://social.technet.microsoft.com/Forums/sharepoint/en-US/home?category=sharepoint

--please don't forget to Accept as answer if the reply is helpful--


Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management


Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.







·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.