List Export


Posted by blongo - Feb 19 ’15 at 07:11

When you export a SPForm template via the "Export" button and try and import that file to another site collection, for the most part everything works with the exception of Related Lists.

It looks lie the XFDS file references the listid rather then the list name:

<RelatedItems ID="fd_e15b44e5_547b_440f_84a8_12f04998016b" Recreate="True" AsyncRefresh="True" IsClientRender="False" Style="" CssClass="">

<DataSource BaseType="List" WebId="28ab5784-e93d-43df-91a5-bc562ade6b4c" ListId="777069b7-3d77-498c-b1fa-ea7936bdcd67" ViewId="f5796c39-2be6-4377-868b-72ba1f74d51a" ConsumerField="Lookup" ProviderField="ID" IsEditable="True">

Is there a way that this could be modified to reference the list name so that it could be made portable and useable on other sites that contain the same list names?  Thanks!


  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 8 years 10 months 17 days
    #1 by Dmitry Kozlov Feb 20 ’15 at 06:03


    You're right, currently, transferring forms with related items work between identical site collections only with the same IDs of lists and sites. You can modify XFDS-files manually and replace IDs of source sites and lists of Related items. We will consider supporting site URL and list name in addition to IDs in a future version of our software.

  • Felix Müller
    Member for: 8 years 5 months
    #2 by Felix Müller Jun 24 ’15 at 05:35

    That would be great. We have to reconfigure all our SPForm after deploying it from the devlopment to the test farm and afterwards to the production farm. This takes hours

    I already thougth about writing a script which modifies the xdfs files but it would be much better if there would be an export mode for export to different site collections or different farms

  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 8 years 10 months 17 days
    #3 by Dmitry Kozlov Jun 24 ’15 at 05:40

    [#2]: Yes, this feature will appear in the future version of the software. It will become available in a month, we are in testing stage. You will be able to transfer forms via export/import (with related items) or even via a site template. Thank you for your patience.

Displaying 1 to 3 of 3 messages