Forum Discussion
Bug with the link generated by One NOte and Planner (maybe others)
- José RosarioSep 24, 2018Brass Contributor
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.
- José RosarioSep 24, 2018Brass Contributor
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.