Hello all,
I would like to share with you all a quick post showing how the newly released feature Nintex Forms Plugins for Office 365 new responsive forms can be used to greatly increase the power of your existing Nintex for Office 365 forms.
What is a forms plugin?
Form plugins are snippets of code that can be inserted into a Nintex Form like a standard control. For those of you who are well-versed in web development, they are web components. They can be built in Lit, React, and Angular. Put simply, I like to think of them as a ‘build your own forms control’ feature. They also allow for the introduction of custom Javascript code to be used in the new form, which previously was not supported.
How do I make forms plugins?
The first stop should always be to take a look at the Nintex Gallery. There are a number of plugins that can be used in Nintex forms. However, at the time of writing this post, some of these plugins may be specifically designed only for our cloud forms and may not work well for Nintex for Office 365 forms yet.
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/f8842cb9-1198-4212-a768-2ad0696884a7.png)
If you are a developer and you are familiar with web components, then there are two options for you to get started, depending on if you prefer to design with TypeScript or JavaScript. There is also a very helpful SDK that can help you understand how the Nintex plugin framework interacts with the web components
How do I use forms plugins in 365 forms?
To start I am going to use the example plugin provided in Nintex Help which is a very common request for forms which is, an Iframe plugin, just for testing we can use the example URL provided:
https://nintexplatform.github.io/form-plugin-examples/examples/build-output/iframe.js
Inside your Forms for 365 app, choose the new responsive forms designer. Classic and old responsive designers are not supported:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/d74ec5bf-d3db-4cb4-b0de-36d1f3b52ee4.png)
At the top, if you have the latest app version installed, you should see a new tab named Plugins:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/345a53c3-8c70-4f3e-b31d-11d1234a9203.png)
Click Add plugin and insert the URL from above:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/dee69e95-e540-4edd-8644-087850ccdd57.png)
In Nintex Help, it explains that the Control name or Element name is form-plugin-iframe so we will need to provide that also:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/db2b93b6-2a2b-4b57-a68c-8e179104e5de.png)
To finish, click Add Plugin at the bottom, and you should see it appear in the forms plugins list:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/58a2b0f6-177f-4819-8058-cf2752ccf1ee.png)
Let’s move back over to the designer and refresh the controls list with the refresh button:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/8ed71bf5-6c3a-4712-917d-5051f9441804.png)
It should now show under Visual:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/5f864d48-f5bb-4e0b-a21b-d35fedd4a576.png)
We can now drag this new control/forms plugin into the designer canvas, and it will display an example web page, being Wikipedia and clicking on the new plugin will show the configuration panel:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/83101f27-12d9-47dd-ba5d-c8574564e71f.png)
Even for this example, there are many ways such a control can be incredibly helpful. One example would be to display documents in the forms so long as there is a valid host location for the documents:
![](https://uploads-us-west-2.insided.com/nintex-us/attachment/8b18a392-7d31-4536-af5a-cbe57218dec4.png)
I do think that the options are limitless when it comes to forms plugins; if you have any questions or think forms plugins could solve a problem you are facing, feel free to reply to this thread, and we can start a discussion.
Jake