JSLink support for document libraries in the Modern UI











up vote
3
down vote

favorite
1












do JSLink customizations work well in the modern UI for document libraries?



I saw couple of articles which says NO JS/CSS Customization in modern UI



Please advise on the same










share|improve this question


























    up vote
    3
    down vote

    favorite
    1












    do JSLink customizations work well in the modern UI for document libraries?



    I saw couple of articles which says NO JS/CSS Customization in modern UI



    Please advise on the same










    share|improve this question
























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      do JSLink customizations work well in the modern UI for document libraries?



      I saw couple of articles which says NO JS/CSS Customization in modern UI



      Please advise on the same










      share|improve this question













      do JSLink customizations work well in the modern UI for document libraries?



      I saw couple of articles which says NO JS/CSS Customization in modern UI



      Please advise on the same







      jslink modern-experience modern-document-library






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 6 hours ago









      Pradeep

      1246




      1246






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote













          In SharePoint Online modern interface list/library view, the JSLINK will not work.



          We can use the column formatting to achieve the same requirement, the following official document for your reference:



          Use column formatting to customize SharePoint






          share|improve this answer




























            up vote
            1
            down vote













            JSLink will not work, there are a few alternative options. However, you should carefully analyze your current JSLink business logic and compare available options in modern UI.

            If you have heavy javascript customizations with JSLink, most likely you won't be able to successfully port everything to modern UI.



            Here are the alternative options I was talking about:




            • Column Formatting - it only supports UI styling customizations for columns via JSON, javascript isn't allowed


            • Field Customizer - you can use javascript to change look and feel of a column inside listview.


            • ListView Command Set - extends the SharePoint command surfaces to add new actions, and provides client-side code that you can use to implement behaviours.







            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "232"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsharepoint.stackexchange.com%2fquestions%2f254071%2fjslink-support-for-document-libraries-in-the-modern-ui%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              2
              down vote













              In SharePoint Online modern interface list/library view, the JSLINK will not work.



              We can use the column formatting to achieve the same requirement, the following official document for your reference:



              Use column formatting to customize SharePoint






              share|improve this answer

























                up vote
                2
                down vote













                In SharePoint Online modern interface list/library view, the JSLINK will not work.



                We can use the column formatting to achieve the same requirement, the following official document for your reference:



                Use column formatting to customize SharePoint






                share|improve this answer























                  up vote
                  2
                  down vote










                  up vote
                  2
                  down vote









                  In SharePoint Online modern interface list/library view, the JSLINK will not work.



                  We can use the column formatting to achieve the same requirement, the following official document for your reference:



                  Use column formatting to customize SharePoint






                  share|improve this answer












                  In SharePoint Online modern interface list/library view, the JSLINK will not work.



                  We can use the column formatting to achieve the same requirement, the following official document for your reference:



                  Use column formatting to customize SharePoint







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 5 hours ago









                  Ganesh Sanap

                  1,4841623




                  1,4841623
























                      up vote
                      1
                      down vote













                      JSLink will not work, there are a few alternative options. However, you should carefully analyze your current JSLink business logic and compare available options in modern UI.

                      If you have heavy javascript customizations with JSLink, most likely you won't be able to successfully port everything to modern UI.



                      Here are the alternative options I was talking about:




                      • Column Formatting - it only supports UI styling customizations for columns via JSON, javascript isn't allowed


                      • Field Customizer - you can use javascript to change look and feel of a column inside listview.


                      • ListView Command Set - extends the SharePoint command surfaces to add new actions, and provides client-side code that you can use to implement behaviours.







                      share|improve this answer

























                        up vote
                        1
                        down vote













                        JSLink will not work, there are a few alternative options. However, you should carefully analyze your current JSLink business logic and compare available options in modern UI.

                        If you have heavy javascript customizations with JSLink, most likely you won't be able to successfully port everything to modern UI.



                        Here are the alternative options I was talking about:




                        • Column Formatting - it only supports UI styling customizations for columns via JSON, javascript isn't allowed


                        • Field Customizer - you can use javascript to change look and feel of a column inside listview.


                        • ListView Command Set - extends the SharePoint command surfaces to add new actions, and provides client-side code that you can use to implement behaviours.







                        share|improve this answer























                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          JSLink will not work, there are a few alternative options. However, you should carefully analyze your current JSLink business logic and compare available options in modern UI.

                          If you have heavy javascript customizations with JSLink, most likely you won't be able to successfully port everything to modern UI.



                          Here are the alternative options I was talking about:




                          • Column Formatting - it only supports UI styling customizations for columns via JSON, javascript isn't allowed


                          • Field Customizer - you can use javascript to change look and feel of a column inside listview.


                          • ListView Command Set - extends the SharePoint command surfaces to add new actions, and provides client-side code that you can use to implement behaviours.







                          share|improve this answer












                          JSLink will not work, there are a few alternative options. However, you should carefully analyze your current JSLink business logic and compare available options in modern UI.

                          If you have heavy javascript customizations with JSLink, most likely you won't be able to successfully port everything to modern UI.



                          Here are the alternative options I was talking about:




                          • Column Formatting - it only supports UI styling customizations for columns via JSON, javascript isn't allowed


                          • Field Customizer - you can use javascript to change look and feel of a column inside listview.


                          • ListView Command Set - extends the SharePoint command surfaces to add new actions, and provides client-side code that you can use to implement behaviours.








                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 2 hours ago









                          Sergei Sergeev

                          9,66852342




                          9,66852342






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to SharePoint Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsharepoint.stackexchange.com%2fquestions%2f254071%2fjslink-support-for-document-libraries-in-the-modern-ui%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              What visual should I use to simply compare current year value vs last year in Power BI desktop

                              Alexandru Averescu

                              Trompette piccolo