Skip to main content

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":"e$Title]",
"attributes":{
"target":"_blank",
"class":"sp-field-quickAction",
"href":{
"operator":"+",
"operands":a
"/sites/sitename/Lists/listname/EditForm.aspx?ID=","I$ID]"
]
}}

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"

}

}


 


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

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