![]() |
Import XML in designer |
Post Reply
|
| Author | |
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Topic: Import XML in designerPosted: 22 March 2006 at 3:22am |
|
Hi, I am trying to import an XML customization file in the Designer Studio but I get a failure message box. It also happens in Xtreme samples which uses XML layout mechanism (such as GUI_Whidbey and Grep).
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 March 2006 at 7:31am |
|
Hello, Just replace root section in text Editor to DesignerFile. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 March 2006 at 8:46am |
|
Hi, I replaced the root section. Now I dont get the error message, but I get an empty Form (without menu or toolbar). I attached an .xml file of the "Grep" sample after I edit the root section.2006-03-22_084639_GrepD.zip |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 March 2006 at 10:03am |
|
Now you have two CommandBars sections: must be:
<?xml version="1.0" encoding="UTF-8"?> ... </CommandBars> ... |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 March 2006 at 9:15am |
|
I removed the extra "CommandBars" section, but still the import operation results an empty forum. I attached my new .xml file.2006-03-29_091509_GrepD.zip
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 March 2006 at 9:29am |
|
Now you deleted Layout section :)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 March 2006 at 10:10am |
|
thanks, now I get a good forum. (I thought that the Layout section was obsolete...)
|
|
![]() |
|
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 March 2006 at 7:24am |
|
Hi, I have an .xml file which contains several layouts (of commandbars). Can I import this xml file to the Designer ? If yes, what should be the structure of the file ? I tried to right it like this: (but it didnt load ok) <?xml version="1.0" encoding="UTF-8"?> ... </CommandBars> ... </CommandBars> ...
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 March 2006 at 10:20am |
|
You can import only single layout. remove <MyLayout1> </MyLayout1> |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |