Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
wolfgang  
#1 Posted : Sunday, August 16, 2015 5:39:47 PM(UTC)
wolfgang

Rank: Advanced Member

Groups: Registered
Joined: 6/23/2015(UTC)
Posts: 59
Germany

Thanks: 5 times
I was adding a simple XML structure ("MyStructure") to $PERSISTENT using "Import Structure from XML" in the context menu. The root element was located directly under $PERSISTENT. The problem: The Delete function is disabled for that element and so I'm not able to delete. Any hints for me?
Thanks

$PERSISTENT/Root
$PERSISTENT/MyStructure


Additional note:
The exported $PERSISTENT structure isn't well formed. I guess "Import Structure from XML" should target $PERSISTENT/Root.
Workaround: the structure must use <ROOT> as root element.

$PERSISTENT/Root
$PERSISTENT/Root/MyStructure
bbv  
#2 Posted : Monday, August 17, 2015 9:33:15 AM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 484

Was thanked: 81 time(s) in 81 post(s)
This is a limitation of the $PERSISTENT tree - its root element must be Root. You have two possibilities:

- Modify the root element in your source XML to have name Root before importing structure
- Create a new XML tree, import structure as is, and if you need it to persist during runs - use context menu to "Persist data on client"


Altova MobileTogether Experts
wolfgang  
#3 Posted : Monday, August 17, 2015 1:16:21 PM(UTC)
wolfgang

Rank: Advanced Member

Groups: Registered
Joined: 6/23/2015(UTC)
Posts: 59
Germany

Thanks: 5 times
Thanks. Perhaps "Import Structure from XML" should assigned to <Root> context menu to avoid such mistake? Once I had imported the faulty XML I wasn't able to change or delete it again. Therefore I had to set up my test app from scratch.
bbv  
#4 Posted : Monday, August 17, 2015 1:52:37 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 484

Was thanked: 81 time(s) in 81 post(s)
We will look into this
Users browsing this topic
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.