JSLink script not working for other users.

Adder Clemons 1 Reputation point
2020-12-18T19:10:52.243+00:00

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 Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,770 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amos Wu-MSFT 4,051 Reputation points
    2020-12-29T09:20:23.667+00:00
    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.

    0 comments No comments