SOLVED

Customize the Edit popup when 2 or more lines are selected

Copper Contributor

Hi Team,

I customized the Edit popup with PowerApps to create a new item or edit an existing one. But when 2 or more items are selected, I still have the default popup. Do you know how to make sure to have the same customized popup ? I added pictures of both popup.

Many thanks for you help.

 

JeanTristan_2-1707734961071.pngJeanTristan_0-1707734847111.png

 

3 Replies

@jtsables I don' think you will be able to edit more than 1 items at a time using Power Apps customized SharePoint list form - limitation of Power Apps customized list forms.

 

So, it is better to hide the Edit button from top command bar using JSON view formatting when more than 1 items are selected in list view. Use this JSON: 

 

{
  "commandBarProps": {
    "commands": [
      {
        "key": "edit",
        "selectionModes": [
          "MultiSelection"
        ],
        "hide": true
      }
    ]
  }
}

 

Output

ganeshsanap_0-1707747261829.pngSteps to apply JSON view formatting at: Get started with SharePoint JSON view formatting 


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.

@ganeshsanap 

Thank you very much for your answer. Interesting to note they didn't link all edition options together.

Your solution looks be the best then. The only thing with this method is you still have the edit option with a right click on the 2 lines selected. 

Best regards

best response confirmed by jtsables (Copper Contributor)
Solution

@jtsables 

 

Yes correct. Unfortunately, currently there is no SharePoint out of the box way available to hide the Edit option on right click of the list item, not even possible with the JSON formatting.


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.

1 best response

Accepted Solutions
best response confirmed by jtsables (Copper Contributor)
Solution

@jtsables 

 

Yes correct. Unfortunately, currently there is no SharePoint out of the box way available to hide the Edit option on right click of the list item, not even possible with the JSON formatting.


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.

View solution in original post