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...
sonali_gupta
Jun 28, 2019Copper Contributor
Anybody found a solution to this issue yet?
David1972 wrote:
Same thing happening to my list.. I made a BIG deal to the whole department about how much better it would be converting our task-list to modern and now we have this issue.
Honestly I have to question MS on this.. converting sites over to modern is fraught with so many issues it's not worth doing - if you have an existing classic site. I've been trying to sell modern to the entire department and now I look foolish.
Very disappointing... hire some UX and UI people please
David1972 wrote:
Same thing happening to my list.. I made a BIG deal to the whole department about how much better it would be converting our task-list to modern and now we have this issue.
Honestly I have to question MS on this.. converting sites over to modern is fraught with so many issues it's not worth doing - if you have an existing classic site. I've been trying to sell modern to the entire department and now I look foolish.
Very disappointing... hire some UX and UI people please
David1972
Jul 04, 2019Brass Contributor
sonali_gupta if you do format column on your title column then add this code below - it will add a clickable link to the title that will go through to the task description.. I also added an EDIT column and formatted that as a link that goes through to an edit view of the task. It's not perfect but it's a workaround until it gets fixed (if it does get fixed).
Sorry there is no code block here so this is going to look awful...
{
"elmType": "a",
"txtContent": "@currentField",
"attributes": {
"target": "_blank",
"href": {
"operator": "+",
"operands": [
"https://[YOURSITEURL]/Lists/[LISTNAME]/DispForm.aspx?ID=",
"[$ID]"
]
}
},
"style": {
"font-weight": "bold"
}
}
You can also add in an EDIT column that is a link like this:
{
"elmType": "a",
"txtContent": "EDIT",
"attributes": {
"target": "_blank",
"href": {
"operator": "+",
"operands": [
"https://[YOURSITEURL]/Lists/[LISTNAME]/EditForm.aspx?ID=",
"[$ID]"
]
}
},
"style": {
"text-decoration": "underline",
"align": "center"
}
}
- joanna009Jul 13, 2019Copper ContributorDavid1972 Please can you explain where do I paste this code? Thank you. I tried to add the first bit to the 'task name' column in the description and jason formation however it didn't work.
Thank you so much- David1972Jul 14, 2019Brass Contributor
joanna009 You have to go into the list settings and then the column settings and paste it into the Column formatting... if it's not working you did something wrong - check if it's actually working as a link first and check there is an ID being passed over.. You need to ensure the link is pointing to the list correctly and that it's picking up an ID.
Also I seen other solutions where they use $ID instead of [$ID] (without the square brackets) I tried both and it worked for me with the brackets but it may vary - so test that too.
- sonali_guptaJul 12, 2019Copper Contributor
David1972 Thanks a lot :)