question

AdderClemons-9768 avatar image
0 Votes"
AdderClemons-9768 asked AmosWu-MSFT answered

JSLink script not working for other users.

Environment: Sharepoint 2013, using a Sharepoint list
Have a simple JSLink script that applies coloring to a specific list field (RAG Status) depending on its value:

Script is added to the JSLink property of the List WebPart.
This script works fine when I view the page, but when others view, it doesn't render at all, as if it can't read the .js file.

Is there a permissions setting that I may have missed that would prevent the .js from rendering?



sharepoint-dev
5 |1600 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

AmosWu-MSFT avatar image
0 Votes"
AmosWu-MSFT answered
  1. Check whether the js file is successfully imported in the developer tools.

  2. If it is not in the developer tools, check whether the user has at least design permission for this js file.

As a workaround, you could add a script editor web part into the list AllItems page and insert the code into it directly.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 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.