Skip to main content
Nintex Community Menu Bar
Answer

Open Nintex Form in Edit Mode directly from a List

  • November 13, 2019
  • 3 replies
  • 253 views

Forum|alt.badge.img+6

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]"
]
}}

Best answer by SimonMuntz

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"
  }
}

 

3 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • Answer
  • November 14, 2019

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"
  }
}

 


Forum|alt.badge.img+6
  • Author
  • Rookie
  • December 16, 2019
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"
}
}
]
}

Forum|alt.badge.img+2
  • Rookie
  • October 6, 2021

Hi Brice235i,

 

this Json only opens the properties in the info panel but doesn't open the nintex form.

Do you have meanwhile another solution for opening the nintex form?