Force Nintex form to open in new browser tab (Modern UI) with JSON

  • 30 July 2019
  • 4 replies
  • 232 views

Badge +6

Hi, my client requests the task list in the New Experience.

Problem - you can't right click and open in new tab like in the classic UI.  We also have the unfortunate SharePoint issue where the task items are not opened by downloaded on click ID_.000.  I've implemented the suggested workaround which works for regular Tasklists with standard content type, but for a tasklist with nintex form, the form isn't opening.... However if I right click > open, it does open in a new tab.  Don't know why it isn't opening on click.  Anyone come across this issue?  thanks

 

{
"elmType": "a",
"txtContent": "@currentField",
"attributes": {
"target": "_blank",
"href": {
"operator": "+",
"operands": [
"https://site/sites/mysite/Lists/Tasks/active.aspx?ID=",
"[$ID]"
]
}
},
"style": {
"padding": "10px",
"font-weight": "bold"
}
}


4 replies

Badge +6
the workaround being to format the title column with JSON...
Badge +6
Hi, I figured it out! Noticed the obscure nintex form url.... added the ID in there and all good.

"https://xxxxxx-45ed06b7e68388.sharepoint.com/sites/Site/FormsApp/NFLaunch.aspx?SPAppWebUrl=https://xxxxx45ed06b7e68388.sharepoint.com/sites/site/FormsApp&SPHostUrl=https://xxxxx.com/sites/Site/CTIS&remoteAppUrl=https://formso365.nintex.com&ctype=0x0108003365C4474CAE8C42BCE396314E88E51F00EC744AD16B86432F8DDA7FC18595632900F2E36FBF209941439BB26742344565A9006EA233DEB51B4C39A0D135BD1849A64900E2B40588AB988644BDD697EED2B8AD33&wtg=/sites/Site/CTIS/Lists/Tasks/Nintex%20Task%20Outcomes%201470282d-5e81-4f97-a08e-d88d255c59fc&mode=1&callertype=Task&List=719f12af-89f0-411b-a668-e49346363e74&ID=21&Source=https://xxxxxx.com/sites/Site/Lists/Tasks/active.aspx?ID=",
"[id]",
"&ContentTypeId=0x0108003365C4474CAE8C42BCE396314E88E51F00EC744AD16B86432F8DDA7FC18595632900F2E36FBF209941439BB26742344565A9006EA233DEB51B4C39A0D135BD1849A64900E2B40588AB988644BDD697EED2B8AD33&RootFolder=/sites/Site/Lists/Tasks"
Badge +17

@Brice235i this is definitely a unique one. I'm glad you figured it out. Can you scope exactly what the use case was and then what the solution was that you implemented. It helps others that may stumble across this in the future.


 


Cheers

Badge +6

Sure.  The New Experience UI for a SharePoint custom list does not allow for Right Click > Open in new Tab.  Click to open a form and it opens in the current window.  Users requested the form opens in a new tab. The JSON column form does just that.  


There is a problem with SharePoint task lists in the modern view too.  Instead of opening, the item downloads.  More information here.  
https://techcommunity.microsoft.com/t5/SharePoint/Unable-to-open-task-item-in-new-experience-000/td-p/195116

Reply