Skip to main content
Nintex Community Menu Bar
Solved

Open Nintex Form in Edit Mode directly from a List

  • Nov 13, 2019 11:56 PM UTC
  • 3 replies
  • 298 views
  • Translate All

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 Simon Muntz

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 original

3 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Answer
  • Nov 14, 2019 3:41 AM UTC

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

 

Translate

Forum|alt.badge.img+6
  • Author
  • Rookie
  • Dec 16, 2019 2:45 AM UTC
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"
}
}
]
}
Translate

Forum|alt.badge.img+2
  • Rookie
  • Oct 6, 2021 7:08 AM UTC

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? 

 

Translate