Forum Discussion
Bug with the link generated by One NOte and Planner (maybe others)
I add the link as an attachment to the Planner task. For example, if I go to another Planner board and obtain the link to it and then paste it as an attachment to the other task in the other board, I get the stated error. I've also narrowed down the problem to the use of the ampersand symbol in a URL. That's why it complains. Remove the ampersand and the Planner task attachment link screen likes it, but obviously now the URL won't work.
I found a weird solution that worked for me. For example, I start with,
tasks.office.com/company.com/en-US/Home/PlanViews/XXXXXXX?Type=PlanLink&Channel=Link&CreatedTime=TIME
Obviously, the "https://" prefix is already provided by Planner. I substituted my private info. But it complains when I give it the above, saying, "Please enter a valid url", leaving the Save button disabled. When I switch it to this:
tasks.office.com/company.com/en-US/Home/PlanViews/XXXXXXX?Type=PlanLink+Channel=Link+CreatedTime=TIME
....now the Planner error goes away and the Save button becomes enabled. If I click the link in the saved Planner task now, it opens the right board up and the URL I see in the address bar ends up being:
https://tasks.office.com/company.com/EN-US/Home/Planner#/plantaskboard?groupId=guid&planId=XXXXXXX
Notice the ampersands are put back in place and everything works!
- José RosarioSep 25, 2018Brass Contributor
Note that the workaround where I switch an ampersand for a plus sign does not render every URL valid. Although Planner will allow them to save and this worked for links to other Planner boards, some other manipulated URLs to other sites fail.
- Vincent PerronSep 25, 2018Copper Contributor
It works for the links to Tasks. But not for the link to OnePages. I hope they will fix that bug soon...
- José RosarioSep 25, 2018Brass Contributor
Someone else has reported the bug at https://planner.uservoice.com/forums/330525-microsoft-planner-feedback-forum/suggestions/35508088--bug-url-with-are-not-correct-url-needs-a-fi. I suggest we all vote it up.