However, when exporting a large number of dictionary items with nested items, the exported xml file didn't put the parent dictionary items before the child ones. These meant that when importing the file, the tree structure was not restored properly because any item that specified a parent item (via the "parentKey" attribute) was created at root level if the parent hadn't already been created.
The only solution was to manually edit the xml file to make sure that all parent items were placed before any child items; after this, the import then worked correctly.
Version 7.1.9 have the same issue as 7.1.0 - only the last control is shown, but if remove 2 controls, it looks good and works!
Assume small changes can fix it, if it'll be necessary.
Umbraco 7.1.0
Just FYI,
In Umbraco 7.1.0 only the last control (import.ascx) is shown.
Quickfix: change Dashboard.config to:
<section alias="Futuristic.DictionaryDashboardSection">
<areas>
<area>default</area>
<area>content</area>
</areas>
<tab caption="Dictionary edit">
<control showOnce="false" addPanel="true" panelCaption="">/usercontrols/Futuristic/DictionaryDashboard/editor.ascx</control>
</tab>
<tab caption="Dictionary export">
<control showOnce="false" addPanel="true" panelCaption="">/usercontrols/Futuristic/DictionaryDashboard/export.ascx</control>
</tab>
<tab caption="Dictionary import">
<control showOnce="false" addPanel="true" panelCaption="">/usercontrols/Futuristic/DictionaryDashboard/import.ascx</control>
</tab>
</section>
Instead of
<section alias="Futuristic.DictionaryDashboardSection">
<areas>
<area>default</area>
<area>content</area>
</areas>
<tab caption="Dictionary">
<control showOnce="false" addPanel="true" panelCaption="">/usercontrols/Futuristic/DictionaryDashboard/editor.ascx</control>
<control showOnce="false" addPanel="true" panelCaption="">/usercontrols/Futuristic/DictionaryDashboard/export.ascx</control>
<control showOnce="false" addPanel="true" panelCaption="">/usercontrols/Futuristic/DictionaryDashboard/import.ascx</control>
</tab>
</section>
Thanks a lot! This worked for me in version 7.0.3.
Package also works fine in 7.1.4 and 7.1.6 with this little change.
I'm getting this exception when trying to import sv-SE into Umbraco 7.1.6. XML validates.
This fix works also for 7.2.1.
mvh
Thanks.
This Fix works also for 7.2.6 :)
Cheers
This also works for 7.2.4. Thanks!!
Also works in 7.2.8, thanks!
In 7.2.8, had to implement Bjarke's quick fix.
However, when exporting a large number of dictionary items with nested items, the exported xml file didn't put the parent dictionary items before the child ones. These meant that when importing the file, the tree structure was not restored properly because any item that specified a parent item (via the "parentKey" attribute) was created at root level if the parent hadn't already been created.
The only solution was to manually edit the xml file to make sure that all parent items were placed before any child items; after this, the import then worked correctly.
Version 7.1.9 have the same issue as 7.1.0 - only the last control is shown, but if remove 2 controls, it looks good and works! Assume small changes can fix it, if it'll be necessary.
Thanx.
Helpfull feature!
But....
It crashed archetype...
is working on a reply...