- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
XML export/import for translation in ContentCreator
Hi,
I currently have a script in sitearchitect for exporting contents of a page in xml format.
The script consist of the following code:
de.espirit.firstspirit.common.ExportTranslationXml.run(context.getGuiHost(), context.getStoreElement());
When I select a page in page content and run this export script, it provides the desired zip file containing the export of the contents in xml format.
However when I change the scope of the script, to a menu item, and then run the same script from ContentCreator, I get a popup with "an unexpected error" message.
What more needs to be done, to make the script executable in ContentCreator ? Is there any issue with the entry point, as it is not made available in contentcreator ?
- Labels:
-
Developers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shweta,
the class is part of the fs-client.jar and therefore not available in the ContentCreator.
It has to be executed from SiteArchitect.
Best regards
Felix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Felix,
Thanks for replying. Good to know.
So is there no other alternative way for exporting the contents from ContentCreator in xml format for offline translation ?
Best regards,
Shweta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not only ExportTranslationXml is part of fs-client.jar - all the referenced helper-classes etc. are also part of the fs-client.jar - therefore you can't use them to build an own EntryPoint for the ContentCreator.
Maybe it's possible with the TranslationConnect module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Felix,
Thanks for the info.
Also could you let me know where can I find this module ?
Regards,
Shweta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shweta,
the XML-Ex/Import-Scripts are part of the TranslationConnect-Module and do only work in the SiteArchitect.
Best regards,
Raphael.

