Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
LCM the simple forms went where?!

Hi,
I have been migrating simple forms from one database to another on a test platform by;-
Create form snapshot in LCM
Download form snapshot
Unzip form snapshot
Manually edit all XML files therein to change; -
a. Reference to original DB to new DB
b. Moved new dimensions into page area as a starter for then which will be correct in the majority of cases
c. Removed dimension no longer present in new DB
d. Changed all directory references to newly created form directory which is parallel in all respects to original but has a different root
Zipped result back up
Imported zipped snapshot into LCM
Explored new snapshot confirming directories look as I expected, they do
Clicked to upload, having unticked some content that is obsolete form content
Watch 'Migration Status Report' progress to #90 of #90 and then Completed - with no errors
Now the weird bit....
I go to look for my forms. They are not there. I log out and back in, thinking it might need a refresh. They are not there.
So in a moment of inspiration I look in the file directory they came from, pre-edit.
Yes, you guessed it. There they are...
So I go back to the edited files and try and find an explicit reference to the directory in any of the files. I cannot see it anywhere. Not in; -
Export / Import / Import (different directory level) / Listing / SourceInfo not in any of the individual form files or the directory names themselves.
Thinking I have picked the wrong file up I double check, and yes I had imported the right one and in the right one the directories appear as edited.
So the million dollar question - where is the setting that tells the forms which directory to be created in and can I safely edit this????
Otherwise I guess the workaround is move the original forms first before importing....
Note, I have done what I describe with a large volume of business rules previously and that all worked perfectly.
Sub-title - Dude - where's my form?
PS - please don't point me at a blog answer, I cannot view them currently thanks to local internet setting issues....
Best Answer
-
I have seen problems if a form already exists with the same name, in my testI had imported to a different directory and also changed the form name.
Answers
-
Setting the directory in the form xml definition file works for me:
Cheers
John
-
Hi,
the which file?
This is exactly what I have; -
Next level
ignoring resource as all that has is files I have; -
I double checked the original export had just this and only this, it did.
And sincere apologies, I should have said PBCS....
-
As I said the form definition file, so each form will have an XML, for example under \resource\plan type\plantypename\Data Forms\folder\formname.xml
-
This; -
<?xml version="1.0" encoding="UTF-8" ?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Intercompany Comm Drivers - AD" smartForm="false" dir="Forms/ReveXpnd/Budget/Input/All Divisions"
If so, this is exactly what I edited in every form definition and my change, which has been ignored, was to change Forms/ReveXpnd/ where it was Forms/Revenue originally....
From what you say this looks like a bug?
Note also, it shows correctly on import; -
Do you agree, or am I missing something else?
-
I have seen problems if a form already exists with the same name, in my testI had imported to a different directory and also changed the form name.
-
Many Thanks - I will give that a try, not a quick process with 90 forms at various levels to wade through.... so I will get back to you to confirm.
-
Well you only need to test with one form
-
Thank you, after changing the ID and NAME in the listing all went as hoped. (and restore of the original forms from Prod back up!)