Support

Account

Home Forums Backend Issues (wp-admin) Importing fields into groups

Helping

Importing fields into groups

  • Website A has a field group. Website B also has a field group of the same name.

    The fields in Website A include field1 and field2.

    Website B doesn’t have field1 & field2, but it does have field3 and field4.

    I would like update website B to include all fields.

    If I export the field group from website A and import into website B, what I expect to happen is that website B now has fields 1-4.

    Instead, it now only has the new fields 1&2 from the import. Fields 3&4 have disappeared.

    1.) So I can understand… why is this?
    2.) Since you can’t export individual fields, only groups, how can I get around this issue?

    Thank you.

  • 1) You are importing the entire field group and it completely overwrites the existing field group with the same group key.

    2) Create a second field group on site A. Duplicated the field in the group you want to copy the fields from. Move the fields into the new field group you created. Export and import this field group. Move the fields from the imported group to the place you want them.

    2 Option B) Export both field groups, open the JSON files and copy the field definitions to the group you want them in then import that group.

    Unless the fields are complex is would be easier to just manually recreated the fields on site B.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.