Migrate Forms Between Orgs

What is it?


Form Migration: Copies forms you built in one Salesforce org (the source org) to another production or sandbox org (the target org). Each form is copied with its pages, fields, rules, and style.

After migration: The forms appear in the target org as Unpublished. Review them and publish them there to get new form links.


How it helps you

●    No rebuilding: move finished forms instead of creating them again.

●    Sandbox to production: build and test in a sandbox, then copy to production.

●    Pick what you need: migrate one form or many at once.

●    Safe: forms in the source org are not changed.


How to set it up

1.    In the target org, copy the My Domain URL.

a)    Go to Setup. In Quick Find, type My Domain and open it.

b)    Under My Domain Details, copy the Current My Domain URL.



2.    In the source org, add the target org as a Remote Site.

a)    Go to Setup. In Quick Find, type Remote Site Settings and open it.

b)    Click New Remote Site.

c)    Remote Site Name: any name without spaces, for example, FME_Target_Org.

d)    Remote Site URL: https:// followed by the URL you copied in step 1.

e)    Keep Active checked and click Save.



3.    In the source org, open the My Forms tab and click Migration Form.



4.    In the Migrate Forms window, choose where to migrate the forms and click Next.

a)    Production: your live org. Signs in at login.salesforce.com.

b)    Sandbox: a test or dev copy. Signs in at test.salesforce.com.



5.    Sign in to the target org.

a)    Optionally, paste the target org's URL into My Domain URL.

b)    Click Open Salesforce Login.

c)    Sign in with the target org's username and password, then click Allow.



6.    The login window shows "This site can't be reached". This is expected.

a)    Copy the full address from its address bar. It starts with http://localhost:1717/OauthRedirect?code=.

b)    Come back to the Migrate Forms window, click Address from the login window, and press Ctrl+V.

c)    You will see Connected to <org name>.




7.    Select the forms to migrate and click Migrate.

a)    Use Select all or the search box to find forms.



8.    Wait for the finish migration.

a)    Each migrated form shows Added as Unpublished.

b)    If a form fails, fix the cause shown next to it and click Retry Failed.

c)    Click Done.



9.    In the target org, open My Forms, open each migrated form, and click Publish.




Good to know:


IMPORTANT: Forms Made Easy must be installed in the target org, and the objects and fields used by your forms must exist there. A form whose object is missing is not migrated.


 

NOTE: The address from the login window works once and only for a few minutes. If it expires, click Open Salesforce Login again and paste the new address.


 

NOTE: Migrating the same form again adds another copy in the target org. It does not update the earlier copy.




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article