Forms designer forms provision

rss

Posted by Андрей Тарутин - Aug 26 ’14 at 03:31

Below I asked about cross site lookup columns provision programmatically. What about forms provision? I know I can import and export forms. Can I do it programmatically?

  • Андрей Тарутин
    Андрей Тарутин
    Member
    Member for: 7 years 4 months 26 days
    #11 by Андрей Тарутин Apr 2 ’15 at 08:49

    [#10]: Dmitry, it's great! Thank you.

  • Felix Müller
    Member
    Member for: 7 years 10 months 10 days
    #12 by Felix Müller Oct 22 ’15 at 09:38

    Hi Dmitry,

    is there any further documentation about the FDService and the property bag?

    I want to know how tu use the property bag to export the forms and afterwards use the spservice to reimport it to another server.

     

    Thank you in advance

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 3 months 29 days
    #13 by Dmitry Kozlov Oct 23 ’15 at 05:01

    [#12]: Hi Felix,

    Please, note that starting from Forms Designer 3.0.1 you can export a site template with all forms and transfer it to another server:

    http://spform.com/documentation/versions

  • Felix Müller
    Member
    Member for: 7 years 10 months 10 days
    #14 by Felix Müller Oct 26 ’15 at 08:28

    [#13]: Hi Dmitry, thank you for this link. We already exporting out dev site and importing it to the test and live site. But when there is already production data in the live system and we want to update the forms it is realy time consuming to update 40+ forms by hand.

    So I thought about exporting the forms with powershell (read propertybag) and import it to an new site with the help of your webservice. Do you have any documentation about importing a set of forms to a sharepoint site?

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 3 months 29 days
    #15 by Dmitry Kozlov Oct 27 ’15 at 04:55

    [#14]: We do not have other documentation on this service but this is just a WCF-service with the description:
    /_vti_bin/FormsDesigner/FDService.svc/mex?wsdl

    So, you can generate a proxy with the help of ServiceModel Metadata Utility Tool or directly from Visual Studio:
    https://msdn.microsoft.com/en-us/library/ms733133(v=vs.110).aspx

    And use it to communicate with the service.

    You can export forms either in Forms Designer (Export button on the ribbon) or directly from the site's property bag:
    https://lixuan0125.wordpress.com/2013/10/18/add-and-retrieve-property-bag-by-csom/

    The keys are built in accordance with the following patterns:

    fd_{list name}_{content type name}_{form type} (FD 3.x )
    fd_{list id}_{content type id}_{form type} (FD 2.x )

    You can find them in SharePoint Designer:
    Open the site -> Home -> Site Options (button on the ribbon)

  • Felix Müller
    Member
    Member for: 7 years 10 months 10 days
    #16 by Felix Müller Nov 3 ’15 at 11:16

    [#15]: Thank you for this information. Can you tell me how I have to handle the fd_forms and fd_groups Properties?

Displaying 11 to 16 of 16 messages