Forum Discussion

Vincent Perron's avatar
Vincent Perron
Copper Contributor
Sep 21, 2018

Bug with the link generated by One NOte and Planner (maybe others)

When I paste a OneNote URL into a Task Link it says that the URL is invalid. Same problem with a link to another Task. Very annoying bug

  • Eric Smith's avatar
    Eric Smith
    Copper Contributor

    Same problem. Thanks for starting the conversation

     

    Very limiting since Planner doesn't have any other way to add attachments except through links.

    • Hiten Mistry's avatar
      Hiten Mistry
      Copper Contributor

      I have this problem too.

      Slightly annoying as previously linking to OneNote pages which have the ampersand sign worked fine.

      I have upvoted the bug. Hopefully it gets resolved soon as we are trying to use the MS suite, but things like this create quite an annoyance.

  • SanthoshB1's avatar
    SanthoshB1
    Bronze Contributor

    Vincent Perron, this is the validation issue with Microsoft latest update. I have tried adding the same OneNote / Planner task link via Graph API and it linked to the task successfully. 

     

    Joanna Parkhurst, can you please help to get this fixed. This limits the planner usage in many ways. 

    • Vincent Perron's avatar
      Vincent Perron
      Copper Contributor

      These are the exact steps:

      - right click on a One Note page and Select "Copy Link"

      - Open a Task and Click "Add Attachment"

      - Select "Add Link"

      - Paste the previously copied link

      - Error Message : "Please enter a valid url"

      • jcgonzalezmartin's avatar
        jcgonzalezmartin
        MVP
        Have you tried to use the link you can get in ODFB in the Share section? I have just used the link generated for one of my OneNotes in a Planner Task with no problems
    • José Rosario's avatar
      José Rosario
      Brass 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é Rosario's avatar
        José Rosario
        Brass 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!

         

Resources