cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Open Nintex Form in Edit Mode directly from a List

Jump to solution

Hello, I am wondering if anyone knows the JSON to apply to the Title column to change the open behaviour of a Nintex form to open in edit mode.  The client does not want to click the Ellipse > Edit etc.  They want to click the link in the library to present the form in edit mode directly.  

I tried the following, but unfortunately, the code is invalid for some reason. Wondering if anyone has any ideas on why this JSON is incorrect or know of a better way to improve the user experience.  Thank you.

 

"elmType":"a",
"txtContent":"[$Title]",
"attributes":{
"target":"_blank",
"class":"sp-field-quickAction",
"href":{
"operator":"+",
"operands":[
"/sites/sitename/Lists/listname/EditForm.aspx?ID=","[$ID]"
]
}}

Labels: (1)
0 Kudos
Reply
2 Replies
Highlighted
Nintex Employee
Nintex Employee

Re: Open Nintex Form in Edit Mode directly from a List

Jump to solution

How about a nice button to click?

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
  "elmType": "button",
  "txtContent": "@currentField",
  "customRowAction": {
    "action": "editProps"
  }
}

 

View solution in original post

Reply
Highlighted
Nintex Newbie

Re: Open Nintex Form in Edit Mode directly from a List

Jump to solution
Thanks Simon, I ended up finding something on Github as well.

{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "editProps"
},
"attributes": {
"class": "ms-fontColor-themePrimary ms-fontColor-themeDark--hover",
"title": "Edit Item"
},
"style": {
"border": "none",
"background-color": "transparent",
"cursor": "pointer"
},
"children": [
{
"elmType": "span",
"attributes": {
"iconName": "Edit",
"class": "ms-font-xxl"
}
}
]
}
0 Kudos
Reply