Open model-driven forms in “application mode”

I recently had a customer ask if they could replace InfoPath forms with Canvas Apps. That is a perfect use for canvas apps, but the users of those forms already had licenses to CE, so it got me thinking about using your regular model-driven forms as something that could pop up from an internal SharePoint site or an intranet.

Turns out it can simply be achieved through the removal of the command bar and navbar from the URL, and then the removal of the title bar and toolbar from the window.open function. A sample script is as follows.

window.open('https://[COMPANY].crm.dynamics.com/main.aspx?appid=00000000-0000-0000-0000-000000000000&cmdbar=false&forceUCI=1&navbar=off&pagetype=entityrecord&etn=contact','winname',"directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=no,resizable=no,width=1200,height=900");
Filed under: Blog

No comment yet, add your voice below!


Add a Comment

Your email address will not be published.

Comment *
Name *
Email *
Website

This site uses Akismet to reduce spam. Learn how your comment data is processed.