0

I'm getting an error when trying to show a wiki library page using SP.UI.ModalDialog.showModalDialog. Other URLs work fine but not wiki library pages.

SP.UI.ModalDialog.showModalDialog({"url" : "http://site/wikitest"});

error

Any idea on how to fix?

4
  • Did you try looking up what the error is in the error logs? May 27, 2015 at 17:09
  • where you placing the JS code?
    – Waqas Sarwar MVP
    May 27, 2015 at 18:53
  • @WaqasSarwarMCSE Well for test I'm just using the developer console in IE. If I try SP.UI.ModalDialog.showModalDialog({"url" : "http://site/[**anything else, like a list**]"}); it works but with a wiki library page it does not. May 27, 2015 at 22:04
  • @DylanCristy: I don't have access to the SP farm. I was hoping it is a known issue or something? May 27, 2015 at 22:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.