Open form in a dialog

Hi,
I'm trying to open the SP Form in a dialog from a ASPX page using SP's modal dialog call:


The used url is: https://TENANT.sharepoint.com/sites/cp/SitePages/PlumsailForms/PlumAdminManagement/Item/EditForm.aspx?param=1&param2=6...

If doing so, I get an error (but only since a few days, it was working for weeks before)

We're on the latest SP Online Forms package (1.0.8.0). Any Ideas here?

br
Alex

Hello @Alex,

Thank you for reporting this.

We'll investigate the issue. I'll let you know once I get a reply from our developers.

@mnikitina

This is the same topic (and code line) as mine.

I tried now to resolve it by opening the form in a showModalDialog manually like Alex and get the same wrong behavoir and error like before.

<script type="text/javascript">
function createNewTicket(){
	var pageUrl = "https://url/Lists/Tickets/NewForm.aspx";
var options = { url: pageUrl, width: 700, height: 600};
SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options);
}
</script>

<input type="button" id="newticketbutton" onclick="createNewTicket()" value="neues Ticket" />

So which is the right URL to open a Plumsail form correctly?

Edit: I also tried the url https://url/SitePages/Tickets/NewForm.aspx (i found the NewForm.aspx here as file)

@Hagrid,

The link is correct.

I'm sorry. We are working on a fix of this issue. I'll let you know once the work is completed.

1 Like

@Hagrid, @Alex,

We've published the fix. Please completely clear the browser cache to get rid of the issue.

@mnikitina

Thank you very much. Now it works again.

1 Like

Looks good, thank you.

1 Like