Forum Discussion

DJanssen24's avatar
DJanssen24
Copper Contributor
Oct 30, 2023
Solved

How to edit existing Sharepoint Document Library with SPFx

Dear all,   I'm currently researching how I can edit my existing Sharepoint Document library with SPFx, because I need to hide certain elements in my view that cannot be done the normal way. I also...
  • ganeshsanap's avatar
    ganeshsanap
    Oct 30, 2023

    DJanssen24 

     

    You can definitely add more than 2 buttons or more than 2 nested if conditions in JSON formatting expressions. 

     

    For example, I have used more than 200 nested if conditions here: SharePoint Online: Display Country Flags using JSON Formatting – multiple selections 

     

    Also, you can show/hide buttons in JSON formatting based on existing column values with the help of display CSS property.

     

    For customizing list/library forms, you can either use Power Apps (low code solution) or using SPFx form customizer (coding experience required).


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources