I’d like to use the Tab container to present dynamic forms – the contents of a tab stored in a SharePoint list which is code saved from the Forms application (all the Grid/Row/Cell/Fields in an .xfds file). Can you tell me if this is possible? I copied everything inside a tab <Tab Header="Tab 2"></Tab> hoping that I can get that code built and rendered as part of the main spform. Obliviously not that easy.
You can’t change form’s template dynamically through injection of .xfds files since the configuration transforms into html while saving a form in the designer.
But there is another solution. You can design a separate public Plumsail form for each report. Then, create a master form with two tabs - the first one with a drop-down field with a list of reports and the second - the report itself that will be initialized dynamically with a selected form like a regular public form.
Steps to embed a public Plumsail form in the Sharepoint Plumsail form:
Create a public Plumsail form, copy its ID (bottom left corner)
Add HTML-control on the master form with the following content:
Also, anyone else reading the topic. We’ve added some improvements.
Now you can use both, Public and SharePoint form simultaneously. We’ve split the constructors: Plumsail.PublicForm - creates a public form, Plumsail.SharePointForm - creates a SharePoint form.
Unfortunately that broke my implementation. I don't know if it matters, but I'm calling a new public form from within a Sharepoint form. Here's the console log when I changed it to Plumsail.PublicForm():
Hello! I realize this is a very old topic, but the this topic is the only place I can find mention of an API for Plumsail.SharePointForm.
This looks like something I might be able to use to embed an existing Display Form (customized with Plumsail forms for SharePoint Online) into another form.
I have tested the Plumsail.PublicForm API to embed a public form into a SharePoint form, and while that does work, I would like to be able to do the same with a display form from SharePoint Online.
Perhaps what I am trying to achieve is not possible, or perhaps there is an even easier way than the method I am pursuing.
Dear @brduncan,
The API for public web forms and SharePoint forms is very different, so it might not be possible at the moment - you can however have multiple forms on one page with Plumsail Form web part, or you can use Dialog to open additional SharePoint forms.
If you would like to expand the existing functionality, you can write a more detailed request to support@plumsail.com, perhaps we'll be able to offer paid support for an extension, but this depends on the exact request.
Understood. I did consider that because this API does not appear to be documented publicly, it probably should not be used. What I am attempting is not required, but more of a "nice to have". I shall explore other avenues such as what you have suggested.