ListView - Row Action Button as a List Action (Command Bar button)
AnsweredGreetings,
I am curious if it is possible, (via JSON formatting?), to add Row Action button, to a ListView, which has the same action as a List Action from the Command Bar. The List Action in question duplicates the selected list item (New List Item) & then refreshes the page.
(Note: This is only a need due to the default experience using an iPad.)
Conceptual mockup:
-----------------------------------------------
Also, just a note to developers since I've previously discussed unique/odd behaviors on iPads...
On an iPad when you click the orange Row Action 'Edit Item' button, it opens both the Edit & Display forms. The Display form is on top of the Edit form. This is not experienced on a PC.
If useful, the JSON behind the orange edit button:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "span",
"style": {
"min-width": "250px"
},
"children": [
{
"elmType": "button",
"txtContent": "Edit Item",
"style": {
"border": "none",
"background-color": "#ca5010",
"border-color": "#ca5010",
"height": "60px",
"color": "#ffffff",
"cursor": "pointer",
"width": "73px",
"font-size": "16px",
"font-weight": 500
},
"customRowAction": {
"action": "editProps"
}
}
]
}
-
Hi Taylor
It's not directly possible. But there is a workaround to open by custom row action a display form containing these actions on form buttons or directly executed as Form Load Actions.
Means from a user flow: User press the custom row action formatting (like your "Clone Report" button), then the form is opened and Actions are executed (or manually pressed by user).
You can export&import the Actions just from your List Actions buttons to your Form Buttons or Form Load Actions.0
Please sign in to leave a comment.
Comments
1 comment