Solved

Open Nintex Form in Edit Mode directly from a List

  • 14 November 2019
  • 3 replies
  • 183 views

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

icon

Best answer by SimonMuntz 14 November 2019, 04:41

View original

3 replies

Userlevel 6
Badge +22

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

 

Badge +6
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"
}
}
]
}
Badge +2

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? 


 

Reply