Forum Discussion
Troy Rowlands
May 18, 2018Copper Contributor
Unable to open task item in new experience *_000
I have a standard SharePoint task list. While in the classic experience I do not have an issue opening a task item from the linked Task name column, however when in Modern mode, the site tries to dow...
isotop94
Oct 02, 2020Brass Contributor
It seems that I have somehow managed to "fix" this.
First you need to rightclick any element in the list and click "Open". The list item will open under a url like "https://<url of your sharepoint site>/Lists/<name of your list>/Post.aspx?List=<id of your list>&ID=<id of your list item>" ...
Copy the italic part of the url and merge the infos into this json formatting to the first operand :
{
"elmType": "a",
"txtContent": "@currentField",
"attributes": {
"target": "_blank",
"href": {
"operator": "+",
"operands": [
"https://<url of your sharepoint site>/Lists/<name of your list>/Post.aspx?List=<id of your list>&ID=",
"[$ID]"
]
}
},
"style": {
"text-decoration": "underline",
"align": "center"
}
}
Now go back to your list and click the down arrow of your title column and go to "Column settings" > "Format this column". Switch to advanced mode and paste that json formatting.
This worked for me. It now shows the correct title and a click opens the item.
David1972
Oct 05, 2020Brass Contributor