Hello!
I've tryed to transform 1 form to page. It was not necessary to delete or move elements so I created empty DeleteElements.xml and MoveElements.xml (Functions -> Create transformation input -> Delete pages elements \ Move pages element).
Transformation tool doesn't create page.
Log file:
Error: Schema: \MovePageElement.xsd
Error: Form -2: The validation for file:///C:/NAV2009/TransformationTool/MovePageElement.xsd.tmp.xml failed. Detailed Information: LineNumber=2, LinePosition=2
Error: Form -2: Содержимое элемента "MovePageElements" в пространстве имен "urn:schemas-microsoft-com:dynamics:NAV:ApplicationObjects" является неполным. Список ожидаемых элементов: "Page" в пространстве имен "urn:schemas-microsoft-com:dynamics:NAV:ApplicationObjects".
Error: Some input file can’t be validated by schema. Please, correct it and rerun tool again
Error: Form -2: Content of element "MovePageElements" in namespace "urn:schemas-microsoft-com:dynamics:NAV:ApplicationObjects" is incomplete. List of expected elemets: "Page" in namecpace"urn:schemas-microsoft-com:dynamics:NAV:ApplicationObjects". (Error was in Russian, this is my translation)
Also transformation tool doesn't allow to skip files DeleteElements.xml and MoveElements.xml.
Comments
I've tried to do this.
Error Log:
I found two solutions of this problem:
Mark useless element as "DeleteElement" and add new property (PromotedField) to useful element on the form (MoveElement).
Both files will become correct and transformation will be successful.
The another solution - edit MovePageElement.xsd file:
Existing line
<xs:element maxOccurs="unbounded" name="Page">
Replace with
<xs:element minOccurs="0" maxOccurs="unbounded" name="Page">
DeletePageElement.xsd
Existing line
<xs:element maxOccurs="unbounded" name="Page">
Replace with
<xs:element minOccurs="0" maxOccurs="unbounded" name="Page">
I think fix for this issue will be available in hot fix and definitely in SP1. So it will be possible to just delete xml files with no need to update config/schema files.
I´m using Transformation Tool for the first time and i hace the first error when i select "Create all transformation input"
The error is:
Error: Could not load .\Forms.xml
Error: Transformation aborted
Any idea?
PD: First I have configured Transformation Setup Card
Then i have imported "all transformation input"
Then i have configured all our objects (50000..50040) with the type of form, pages etc... I have ignored some of these too.
And finally, i have selected "Create all transformation input"
Follow below links
http://mibuso.com/forum/viewtopic.php?f=32&t=29961&hilit=transformation
http://www.mibuso.com/forum/viewtopic.php?f=7&t=37468
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Once I've followed all the steps the log throws me the following ...
Transformation started at 08/03/2011 8:47:01
Forms file: .\Forms.xml
Pages file: .\Pages.xml
InsertElements file: .\TransformPages.xml
IgnoreForms file: .\IgnorePages.xml
DeleteElements file: .\DeleteElements.xml
MoveElements file: .\MoveElements.xml
RenumberPages file: .\MovePages.xml
CodeRules file: .\coderules.txt
Error: Schema: \ApplicationObjects.xsd
Error: Form -2: The validation for file:///C:/FrAn/Fran/NAV/Herramientas NAV/Transformation Tool/TransformationTool/ApplicationObjects.xsd.tmp.xml failed. Detailed Information: LineNumber=4854, LinePosition=14
Error: Form -2: El elemento 'Properties' en espacio de nombres 'urn:schemas-microsoft-com:dynamics:NAV:ApplicationObjects' tiene un elemento secundario 'Style' en espacio de nombres 'urn:schemas-microsoft-com:dynamics:NAV:ApplicationObjects' no válido. Lista esperada de elementos posibles: 'IndentationColumnName, InstructionalTextML, IndentationControls, ShowAsTree, Enabled, Visible, Description, Editable, Name' en espacio de nombres 'urn:schemas-microsoft-com:dynamics:NAV:ApplicationObjects'.
Error: Some input file can’t be validated by schema. Please, correct it and rerun tool again
I think i´m using some code not supported but if there are many objects... can i convert only one form into a page? In this case i only export the object as forms.xml, right?
may be, i am not able to understand the error as it is not in english.
yes, you can convert one form.
Export as
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
can i transform it become pages?
thanks...
you need to follow the below steps..
http://msdn.microsoft.com/en-us/library/dd355131.aspx
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
which is Walkthrough: Redesigning the Acc. Schedule Overview Form
and so many codes there
is it that complicated to redesign matrix forms?
i can say, YES
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
hmmmm another problem after i use transformation tools
something wrong about object metadata
how to solve it?
(this one not for matrix... but card type)
Compile that card type object (if possible all)
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
this is used in Documents only..like header and lines..
if it a card type delete part type line in page
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
it's because i haven't convert form 50001 become page 50001
i convert the header first (form 50000)
form 50001 is the matrix form
i try using another subform... now it can be compiled
thanks