SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a small button on a site which when i press should start a QuickLinksDialog and fill in some of the fields there.

Everything goes good and well except the fields (like: title and url) still stay empty.

Any idea how can i work this out?

Here is the js function for this:

        var args = new Array();
        args[0] = title;
        args[1] = path;
        args[2] = "";
        var features = 'resizable=no,status=no,scrollbars=no,menubar=no,directories=no,location=no,width=850,height=600';
        var redirectUrl = Sanco_GetBaseUrl() + '_layouts/QuickLinksDialog.aspx?Title=' + title + '&URL=' + path;
        if (browseris.ie55up)
            features = 'resizable: no; status: no; scroll: no; help: no; center: yes; dialogWidth: 850px; dialogHeight: 600px;';

        commonShowModalDialog(redirectUrl, features, null, args);

Any idea?

BTW also tried like that:

   var options = {
        title: "Add to My Links",
        showClose: true,
        allowMaximize: false,
        autoSize: true,
        url: siteURL + '/_layouts/QuickLinksDialog.aspx?Title=' + Title + '&URL=' + URL + '&Source=' + siteURL
share|improve this question

I'm not sure what the QuickLinksDialog is but for my custom modals I always use Eric Martin's Simple Modal script. It's quick, easy, and fairly flexible with good documentation.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.