sharepoint 365 Creating wiki links using javascript RRS feed

  • Question

  • hi

    is there away to Creating wiki links using JavaScript?

    Html = [[linkname]]  - clicking this will then open the page if it exists or ask to create a page that does not exist

    what I require with the javascript is to have a variable which holds the filename

    then for javascript to output the wiki link so it will open the page if exists or create the page if it does not

    Thursday, December 7, 2017 12:01 AM

All replies

  • You can use external library like linkifyjs , mostly you will have to parse the text and convert into a <a> link html.

    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

    Sunday, January 21, 2018 10:32 PM