JSON Form Buttons(View/Edit) in Sharepoint Libary/List View

Hey Guys,

this might not belong here, but i figured somone had the same problem.

what im trying to to is, adding two JSON Buttons, via Format Colum, to my Document Libary.

I manged to create a Edit Button, wich will open the Edit Form Panel.

{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "editProps"
},
"attributes": {
"class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
},
"style": {
"border": "none",
"background-color": "transparent",
"cursor": "pointer"
},
"children": [
{
"elmType": "span",
"attributes": {
"iconName": "PageHeaderEdit"
}
}
]
}

This is makes uses the Sharepoint integrated customRowAction functionality.
But i can't use this to open the Form in View Mode or open a Specific Form in the Forms Panel.

My Question:
Is it possible to create a Button/Link in my Sharepoint Libary that opens the Plumsail View Form Panel of said dokument.

Best wishes,
Nico

Edit Button:
Sharepoint1

Clicking the File Properties(Eigenschaften in German) will open the View Form:

Hello @nI3o,

Please have a look at this Microsoft community posts:

Maybe you will find useful hints in them.

Hello @Margo,

I need this same or similar functionality on one of our SharePoint 2019 on-premise list views. I tried to visit the two links that you suggested, but neither are still published. Do you have other suggestions for resources? I can only find documentation for SPO.

Thanks, Rhonda

Hello @rhonda,

Please find the example in this post:

And for SharePoint 2019, the code is basically the same. But you need to download JSON schema for SharePoint 2019.
See the example of the JSON for SharePoint 2019 in the post here: