Is there a way to call the Import UI from code?

Support › MB Builder › Is there a way to call the Import UI from code?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #50199
    Ruth HutchinsRuth Hutchins
    Participant

    I have used MB Builder to create some Settings Pages and Relationships. I can export these to JSON, and import them with the UI on another site. Is there a way to call whatever does the Import button from code? I know previous answers have said it's not supported but that was a few years ago, so I'm hoping maybe this has changed. (I'm not worried about the custom field groups because they can sync to json, which makes them easy to move to another site without manual UI intervention.)

    #50202
    PeterPeter
    Moderator

    Hello Ruth,

    Thanks for reaching out.

    Currently, there isn't an API function to import JSON files using code. I will inform the development team to consider supporting this feature in future updates.

    Let me know if you have any questions.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.