Hi team,

For migrating applications from development to production i use export/import. That works fine, however, there is one big problem: renamed objects are not being removed during import.

For example: i renamed 10 panels in development and after export/import, the 10 old panels are still present in production.

How can i import an application in such a way that all previous objects are being removed first?

Kind regards, Jan Willem Vermeer

asked 12 Dec '16, 04:47

Jan%20Willem%20Vermeer's gravatar image

Jan Willem V...
1131227
accept rate: 0%


Hi Jan Willem,

You can delete the old application and import the new one. Please see the accepted answer at this thread: http://osqa.theformspider.com/questions/4691/export-import-application-with-script

Kind Regards, Yalim

link

answered 13 Dec '16, 03:27

Yalim's gravatar image

Yalim ♦♦
2.8k5
accept rate: 22%

Thanks Yalim.

When i follow that procedure, the application will get a new ID. My applications are started up with a single-sign-on procedure that needs that ID, so i have to figure out that new ID and also "install" it in my SSO-startup-procedure.

It would be more efficient to have a "replace full" import option, that first removes all packages and secondly created new ones based on the import-file.

Kind regards, Jan Willem

link

answered 13 Dec '16, 04:49

Jan%20Willem%20Vermeer's gravatar image

Jan Willem V...
1131227
accept rate: 0%

Its easily possibly to call a FS application by name rather than ID, simply change the URL to something like

http://your.domain.com:9005/formspider/main.jsp?name=YourApplcationName

That way you don't have to remember to change ID's when you import a new version of the application

link

answered 13 Dec '16, 04:55

apacheuk's gravatar image

apacheuk
139218
accept rate: 0%

edited 13 Dec '16, 04:56

YES ! It works perfectly with the name instead of the id. Thanks.

link

answered 13 Dec '16, 06:19

Jan%20Willem%20Vermeer's gravatar image

Jan Willem V...
1131227
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×13
×8
×1
×1

Asked: 12 Dec '16, 04:47

Seen: 318 times

Last updated: 13 Dec '16, 06:19


© Copyright Gerger 2017