Forum Discussion
IgoDo
Feb 17, 2021Copper Contributor
Edit File Properties direct link
Hi all, I have a simple Flow creating a file in a document library on SharePoint Online (modern experience). I'd like now to return a link to the file's properties for the user to update - ideal...
emersonbruce
Copper Contributor
ganeshsanap how do you get this to open in a panel popup instead of loading a new full page?
ganeshsanap
Jul 07, 2023MVP
emersonbruce Unfortunately, I don't think you will be able to open the properties pane using hyperlink / URL.
Please consider giving a Like if my post helped you in any way.
- emersonbruceAug 15, 2023Copper ContributorI actually found a decent solution using customRowAction of editProps. Unfortunately i realized it opens in the Edit All mode rather than dynamic field edit form view so the user color formatting is not maintained. Microsoft is still slow to meet user needs for formatting the forms and color coding is heavily favored by our users - we used to use Javascript/jquery on old forms heavily for grouping (which yes you can do somewhat without breaking functionality), background colors, field colors and it is disappointing to show "modern" sharepoint that is missing some of their most requested features. We do not want to use "power apps" because it is exactly the same as Infopath in that as soon as you use it, maintenance is required forever after. MS should be working on more out of the box standard formatting features (background on groups in form formatting for example would make my users sooooooo happy).
However here is open in panel example for future reference:
{
"$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": "Edit"
},
"style": {
"padding-right": "6px"
}
},
{
"elmType": "span",
"txtContent": "Edit"
}
]
}