Questions tagged [modal-dialog]

In user interface design, a modal dialog is a child window that requires users to interact with it before they can return to operating the parent application

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Issue with converting a sp ui modal dialog to spfx dialog

I'm trying to convert a list custom action containing a modal dialog to an spfx extension to make it work on modern list. The custom action open a SP.UI.ModalDialog and call an aspx page inside to do ...
Sammy Loudiyi's user avatar
0 votes
0 answers
6 views

hide lists file when using open dialog in msword

How do we hide list of files when open up file dialog in MS Word from SharePoint site? I've snipped it using fiddler and it calls {root SharePoint site}/_vti_bin/owssvr.dll?dialogview=FileOpen&...
Ariwibawa's user avatar
  • 303
0 votes
0 answers
79 views

Modal JS not working in Chrome for Calendar CEWP

On a site page, I have a Calendar CEWP and the following JS in a script editor. The calendar events pop up in a modal in IE but they do not in Chrome. Can anyone identify why it is not working in ...
seaandtea's user avatar
0 votes
1 answer
177 views

SP.UI.ModalDialog.showWaitScreenWithNoClose TypeError: a.indexOf is not a function

I'm getting TypeError: a.indexOf is not a function when calling showWaitScreenWithNoClose(). I'm trying to wait until all necessary scripts are loaded, my code is essentially: $(document).ready(() =&...
Dylan Cristy's user avatar
  • 12.6k
0 votes
1 answer
984 views

Modern List Form to Open In a Dialog

I know in the modern experience, the form for a new list item already opens in the same window as the list. I am curious if it is possible to have it open in a dialog box like the classic list ...
BeerusDev's user avatar
  • 113
0 votes
0 answers
171 views

Where is the NewForm, DispForm, and EditForm on SP 2019?

Trying to find out where the New, Disp, and Edit form pages are on SP 2019. Migrating from 2016 to 2019 and we had some customized forms using JavaScript. The 2016 pages used CEWP to add the ...
adams-j's user avatar
  • 307
3 votes
1 answer
3k views

SharePoint Online modern layout and PopUps / Dialogs

Since SharePoint Online Modern Layout it isn't possible to have links and buttons to open a link in a popup/dialog. There is no possibility to add own code and the web part for buttons allows no ...
Christoph's user avatar
1 vote
1 answer
88 views

Sharepoint 2013-File getting downloaded before ModalDialog opens

I am trying to create a modal dialog on click of a hyperlink file column(SharePoint 2013).I am able to open the Modal dialog in an Iframe But it's happening only after the file download. I don't want ...
Aparna Sunil's user avatar
0 votes
1 answer
397 views

Why is modal popup reloading my sharepoint page?

I am pretty new to HTML/CSS and know nothing about Javascript. On my sharepoint page I want visitors to be able to click on a link and for it to open a popup with just a title and text. After doing ...
Taryn Brown's user avatar
0 votes
2 answers
106 views

SharePoint 2016 modal popup undefined error

Platform: SharePoint 2016 I am trying to use SharePoint's pop-up modal in SharePoint 2016 but it worked once and after a few minutes it stopped. I get the following error 'OpenPopUpPageWithTitle' is ...
OLA's user avatar
  • 211
2 votes
1 answer
555 views

window.frameElement.commonModalDialogClose(); works in Chrome but not in Internet Explorer

I have a site that opens a modal dialog within it when the site refreshes. To close the modal dialogue via JavaScript I wrote window.frameElement.commonModalDialogClose(); which works perfectly ...
stepbysteptomathpro's user avatar
0 votes
1 answer
38 views

I am trying to append a parameter like ID to a URL in a SP.UI.ModalDialog Popup

I seem to be hitting a wall getting this to work. I can get the ModalDialog Popup to work but I have spent many hours trying to figure out how to pass a parameter over to the dialog box. The Goal: Is ...
Chuck Farley's user avatar
  • 1,159
0 votes
0 answers
62 views

Canceling Modal Dialog, not able to open the Dialog box again

I have a modal Dialog Box confirmation and it works fine if I click Ok. However, when I click cancel (lets say a user changes their mind) and decides a couple minutes later to activate the modal, ...
adams-j's user avatar
  • 307
1 vote
2 answers
315 views

Update a list item from a custom Modal Form

I created the Modal Form where it captures the user id information and a date stamp (date()). Now I want to submit to update an item list. Below is the code. Everything is working as it should, ...
adams-j's user avatar
  • 307
0 votes
1 answer
26 views

Using Modal Pop up but it automatically refreshes page

I used the following technique to create a Modal Pop up on my SharePoint Page: https://jqueryui.com/dialog/#modal-form It works create but when the Modal dialog screen appears, it refreshes on its ...
adams-j's user avatar
  • 307
0 votes
1 answer
125 views

Create a new folder with custom content type id using custom action

I am adding a custom ribbon button which needs to create a folder with specific content type id in a document library. CommandAction="javascript:{ var options = { ...
SharePointNewbie's user avatar
1 vote
2 answers
252 views

Display template: modal dialog not working with .onclick()

I'm trying to get a SP.UI.ModalDialog to work if a user clicks on a link on a site collection. I'm implementing the code in my item display template. Unfortunately, clicking on the link does not pop ...
colonel_claypoo's user avatar
0 votes
1 answer
202 views

Disable Fabric UI JS Dialog Auto-Refresh

I am using the Fabric UI JS components on a SharePoint 2016 project (not using React or SharePoint Framework) and having issues with the dialog box buttons refreshing the page upon click. Reviewing ...
BWieland86's user avatar
0 votes
2 answers
1k views

How to pass and capture query string parameter to newform in modal dialog?

My modal dialog for newform is not capturing the query string value I'm trying to pass to it. Alert on main page confirms the qs value for XID is set correctly. var xid = GetUrlKeyValue("ID", ...
BDC604's user avatar
  • 403
3 votes
2 answers
183 views

IsDlg=1 causes no content to be displayed in dialog

We are having a problem that has apparently been an issue for a while on all of our SP 2013 sites. Any dialog marked with IsDlg=1 shows no content at all whatsoever. Meaning a thin white dialog is ...
Robert Kaucher's user avatar
2 votes
1 answer
2k views

Using TypeScript global variable with SharePoint functions

Using TypeScript and Angular, I have created a function named getTasks() that I want to fire when a modal is closed. This is the function: getTasks() { this.http.get(`https://example.com/_api/web/...
cfoster5's user avatar
  • 151
2 votes
2 answers
386 views

SP.UI.ModalDialog works only in Edit mode

I have a custom list in SharePoint 2013 with cascading drop downs for City and State fields. Due to the size of the lookup list, it takes a few seconds to fully load. During this time, it shows some ...
RnR93's user avatar
  • 77
1 vote
1 answer
253 views

Open dialog/modal from another modal (DispForm.aspx)

I have a code that opens any DispForm.aspx link into a modal dialog. The item has a link to another DispForm.aspx -- is it possible to open this on another modal? I tried inserting the following code ...
Tamras Merin's user avatar
1 vote
0 answers
115 views

Closing modal dialog, script error

Using jquery I'm opening a SharePoint page in a dialog, this works perfectly fine. Now on that page I have a button to submit a custom form and finally close the dialog again. While this works when ...
Morten K's user avatar
  • 1,219
0 votes
1 answer
570 views

Open hyperlink in modal dialog on sitepage

I'm having trouble opening hyperlinks in modal dialog on a sitepage. My list contains a column with hyperlinks. I have tried everything, but can't seem to make it work. On the actual page of the ...
D.I's user avatar
  • 15
2 votes
2 answers
2k views

100% width for image in modal dialog

I want the image in my modal dialog to be width:100%, but do not know how to do it. I'm using this code (thank you Mohamed El-Qassas): <script> function openDialog(pageUrl) { var options = { ...
Sanet Minnie's user avatar
0 votes
2 answers
297 views

Color picker dialogue box not sizing correctly

Note: I am using a custom masterpage. Problem: When I use the color picker to change some font color and select "more colors…", the modal dialogue box that comes up is too small and has scroll bars. (...
EricS's user avatar
  • 5
1 vote
0 answers
125 views

Parent/Child List: go back to Modal Parent dispform after child form submit/save

My need is very close to something already treated like this topic but the solutions doesn not seems to work on Modal/Dialog forms. In my context, I have a parent list ("projects") and a child list ("...
MüdeFuchs's user avatar
1 vote
1 answer
320 views

How to remove all handlers from dialog's close button?

When any user clicks the close (X) button of the list edit form, I want to prevent closing it and to show an additional submission dialog. For this purpose I tried to remove all event handlers from ...
DiscoveryX's user avatar
0 votes
1 answer
84 views

How to show search result hyperlinks in Modal dialog

Can anyone help me with issue about opening search result hyperlinks in modal dialog page. In default every pages are opening in separate html page. Im aiming to same dialog as is used in list ...
Dominik Divák's user avatar
0 votes
0 answers
52 views

Map Marker Modal Dialog to List Item

I am using the below string of code to display an InfoWindow (bubble) for a map marker. I have a "Details" link that opens the list item associated with the map marker in a new tab. Ideally I want ...
surfnode's user avatar
  • 439
0 votes
2 answers
3k views

Why does SharePoint 2013 modal add "?IsDlg=1" to querystring

I am trying to create a modal that generates off of a link. When the link is clicked, the modal pops-up but I get the error, "An unexpected error has occurred". When I dive deeper, I find out that ...
OLA's user avatar
  • 211
0 votes
1 answer
470 views

Open modal dialog using javascript stripped from code

Sorry for the Newbie question, but I don't see a relevant answer in searching. I have a SP Online site with a sub-site for Human Resources (HR). I created a custom list for employee feedback for ...
gpence's user avatar
  • 295
2 votes
1 answer
1k views

How to change state in webpart.tsx from wepart.ts property pane - SPFx

I am trying to add a button to my property pane that will pop up a modal where the user will be able to enter in an image to be displayed on my banner webpart which is just an image carousel. I ...
conker's user avatar
  • 23
1 vote
1 answer
280 views

Calculated column with hyperlink to open items in modal works only on the 1st page of list view

In SharePoint 2013 I have a Site page with list view web part that contains calculated column. In this column the following function is executed to be able to open items in modal: $(document).ready(...
kira-kira's user avatar
0 votes
1 answer
119 views

Calendar Overlay Modal mode

I have looked through quite a few posts and questions on the site here which suggest that I can insert code into a CEWP to open calendar items "Modally" instead of opening in a new page. The issue ...
pepsijoe's user avatar
1 vote
2 answers
2k views

How do I create a hyperlink directly to a Sharepoint 2013 list new form dialog?

I have a list that opens items in the modal dialog boxes. Now I would like to have a link on another page that will open the dialog for the new item form. Tried a lot of other suggestions here and ...
Quasimodo's user avatar
0 votes
1 answer
811 views

Modal dialog ID of parent dialog

I have a list and a document library (List A and document library B), both opens in dialog. Document library B has a lookup column targeting list A. On the display form on List A the document ...
Morten K's user avatar
  • 1,219
0 votes
1 answer
301 views

Javascript - How to include javascript session?

Currently working on a JavaScript on a SharePoint home page. The script below will popup a window that shows a message: "Welcome to new page." However, it is going to be annoying if it appears every ...
John Lee's user avatar
  • 109
0 votes
1 answer
142 views

cannot bind to Sharepoint Modal Button with jQuery

I am attempting to bind to the file attachment OK button which has an id of c100_PlaceHolderMain_btnOK. I've tried $('#ct100_PlaceHolderMain_btnOK').click(function() { }); and $(document).on('...
MattE's user avatar
  • 207
0 votes
1 answer
274 views

how to target Sharepoint 2013 Modal OK Button click event immediately AFTER button click not after file upload finishes?

I am using the SP file attachment modal to attach files to list items and I am having an issue with trying to target the OK button click event. I know I can use the dialog callback once it finishes,...
MattE's user avatar
  • 207
0 votes
1 answer
160 views

SPO - open <a>hyperlink in modal

I'm using SharePoint Online I found this link on how to open a hyperlink in Modal -- but how do I apply it in my tag? clicking the link doesn't do anything. <script> function ...
Tamras Merin's user avatar
0 votes
1 answer
128 views

Customizing SP Attach File Modal

I was wondering if it is possible to have BOTH an html and url included in the options you pass to SP.UI.Dialog for the Attach File dialog. I can embed the link into a div but it shows the entire ...
MattE's user avatar
  • 207
0 votes
1 answer
705 views

SP 2013 Custom form and embedding attach file dialog in a modal(No Sharepoint Designer)

I have a custom form where users have an option to upload attachments to a list item. This works without issue, however, I would prefer if I could use ASP in the HTML to embed the SP attach file ...
MattE's user avatar
  • 207
2 votes
0 answers
187 views

SharePoint Modal Survey close redirect to another site

I am trying to display a modal survey question from the home page of my site. I have that working, what I am looking for is how to upon click of the finish button redirect to a tableau site. I do ...
Dorinda's user avatar
  • 65
3 votes
1 answer
2k views

Getting "This content cannot be displayed in a frame" on all dialog forms

Environment: SharePoint Server 2010 We have a web application, in which there is only 1 site collection with few subsites in it. The problem is all the modal dialog forms when opened get error ...
Asad Refai's user avatar
  • 5,983
2 votes
1 answer
14k views

SharePoint 2013 - open a modal dialog form by clicking an image on the page

I would like to open up a user form in a pop-up window by clicking on an image in the page. I have tried adding code to the source editor, but it just gets stripped. There is much talk of SP.UI....
David Bentley's user avatar
1 vote
1 answer
458 views

Modal dialog not displaying SharePoint page

I am working with SharePoint hosted apps, and I require to display the default SharePoint version history page of a list item in a modal dialog popup. (url/_layouts/15/Versions.aspx?list={"+listId+"}&...
Adi's user avatar
  • 71
1 vote
1 answer
574 views

URL > modal dialox box in Sharepoint 2016

I have a created a list via the Promoted List chart which contains the LinkLocation as the URL for the specific file. When viewing the list in the TILE view, it opens the links in modal box but when ...
Bucki's user avatar
  • 195
3 votes
3 answers
112 views

Add a Page using custom master page

I have recently created a custom master page for a SharePoint 2016 environment. My issue is that it is now showing on Pages like Add a Page, which is not ideal. Is there anyway i can change this so ...
james's user avatar
  • 71

1
2 3 4 5
8