I want to export homepage(main page, that one which has navigation panel with categories, banners etc) and all data related to it.
So far I have managed to migrate category navigation panel at the top, by exporting impex with the following CMS types:
CategoryNavigationComponent, CMSNavigationNode, CMSLinkComponent, CMSNavigationEntry. But I'm confused how to export the rest of the page.
The best scenario will be to migrate only the data related to homepage. But if it will be easier, we can download all the other pages data as well, it will be good too.
Is there some universal way to do it, which types would you transfer?
Versions of hybris,
Source server: 6.4
Target server: 6.7.0
There is no quick and easy way to export components related to a specific page. At the minimum, you'll need to know what those components are.
If you want to export all components / Types, SAP Commerce 1905's back office has "System > Tools > Script Generator". THere might be something similar in SAP Commerce 6.4 (not sure if this already using backoffice or HMC). However, you will need to review the script and adjust accordingly, since some of them will cause errors when you try to import the exported data.
Related
I have created portlets for liferay and prepare couple of pages. Now I want to create installation script, which create pages definition in customer liferay server. I know that pages export/import is possible using LAR file, but this could be done only manualy, or using remote publishing which i am not able to do.
I was searching on net and found ddm tool. Which should be able to do that. Unfortunately i'm not able to get it work as it export only web content, blogs, wikis, etc, but not pages with portlets. It is probably because one of the condition is "Every Template must be assigned to a Structure. Don't create any templates on the Liferay server which does not have a structure connected to it.
". But how can I assign page to structure ? Cant find anything.
Or is there any other option for automatic page creation, which could be used ?
In case you created a custom theme, you can easily use the "resources importer" to create an entire site via the "sitemap.json" file (define pages: choose layout, assign portlets to the columns, ...). You can also export existing content as xml from the current instance and import them via the theme. Same thing for web content structures and templates.
for more details: https://dev.liferay.com/develop/tutorials/-/knowledge_base/6-1/importing-resources-with-your-themes
Unfortunately theme is produced by another supplier, so this solution isn't suitable for me.
at the end i find working solution which consist of following steps:
create plugin hook
in hook setup upgrade process
in the upgrade process create pages with appropriate layout, friendlyUrl, etc. All these is possible to do using liferay api
Don't have enough reputation, so at least two links
https://www.liferay.com/de/web/james.falkner/blog/-/blogs/7cogs-is-dead-long-live-7cogs-
https://github.com/azzazzel/liferay-official-plugins/tree/master/hooks/sevencogs-hook/docroot/WEB-INF/src/com/liferay/sevencogs/hook/upgrade
I've read the hybris wiki but I wasn't able to find any related information...I have made a website in one hybris platform on localhost, and now I need to get all the content, products, pages, etc and import it in another platform. Do you have any idea how to do this?
Thanks!
You can export your data by writing Export Script.
Creating Headers for Export
Log into the hybris Management Console.
Navigate to System > Tools > Script Generator.
In the Wizard: Script Generator, click on the Advanced Settings tab.
Clear the Document ID check box.
Switch back to the Script tab.
Select [y] hybris MigrationScriptModifier from the Script modifier drop-down menu.
Click the Generate button.
The Script Generator writes the headers for all types in the hybris Commerce Suite into the Script field.
Copy and paste the list of headers into a text editor.
Remove the headers for the types you do not want to export.
Here are the list of some examples ->
Export CMS Content
Users and Addresses
Catalog Version Content
Classification System
For More Information on How to run Export in different ways, Follow this link Impex - User Guide
Quick and dirty db dump:
If you're not worried about overwriting existing data on the other platform, you could simply copy the database over. More than likely you will also need to copy the hybris/data folder, or you'll have missing media references. If you're using MySQL you can use the mysqldump utility. This is the quick easy way if you just need to stand up a UAT environment, for example.
Impex export
The better way would be by creating impex scripts that will export all the items needed. On the hybris wiki, search for "Data Exporter", which is a page containing a link to an HMC extension called advancedexport. It will allow you to set up your export more easily.
There are two scenarios :
1 - You have made all the website configuration by impex files and therefore you will just need to initialise your system on the new platform
2 - You have done all the website configuration manually
If you are running the exact same Hybris version and code, then exporting / importing the data is possible
If you are not running exactly the same platform, then it becomes tricky, you could either use import export functionality (good examples here) or try to generate Jinja templates for each item type (example here)
Another good option for you here will be to use the Hybris-to-Hybris Synchronization which will allow you to transfer all your data by taking advantage of Data Hub. This is a very good solution in cases where you want to keep a good performance in the origin system, or where you are dealing with different version of hybris. See more information on this here.
I have an existing blog/news site that runs on BE.net 2.6 and i would like to migrate it to Orchard. Right now i am testing the migration locally. I exported the BE.net posts as Blog ML and imported into Orchard. Two rubs - one) Orchard does not pick up the tags in BE and instead see the categories (of which there are only 3) as the tags and two) my excerpts in BE do not appear in Orchard after import. My excerpts typically have short text and an image and i want to be able to show those in the page that lists all the posts. But i do not want the image to appear in the details page. I found the fork of Blog ML that should allow tags to be brought corectly except when using that version the Blog ML options in the dashboard are not present.
You can see the live site (running BE 2.6) here http://nomorecocktails.com. I'd like the listing of posts to appear the same way with the excerpt and image in orchard. And if you can help figure out how to get the tags in too. I'd rather not have to go back through and edit the posts in orchard to ad the tags.
Thanks for any help.
I am the author of the BlogML Module. I have had a few reports of BlogEngine.net exports not going in to Orchard correctly, inparticular the Tags...
The people whole reported the initial problem did soem investigation for me and found that the Tags actually dont appear in the export file, i.e. the BlogEngine export does not export the Tags.
Could you please verify this for me? If this is not the case, please reply and I will contact you to get hold of your BlogML file and test the import locally.
The excerpts do not appear in Orchard because the BlogML module was built to only interface with the defautl implementation of the Orchard Blog module. This decision need to be changed. I think Excepts should be going in to the system, and will built it in to the module that will superseed the BlogML module. (https://orchardimportexport.codeplex.com/)
Nick
Is there a canonical list (public or private-that-you're-willing-to-share) of Magento objects (and their database persistance tables) that allow you add Layout XML Updates to the system? I realize there's an almost infinite number with third party modules, but I'm specifically interested in what ships with CE, Professional, and Enterprise Edition.
In case that's not clear, consider Magento's CMS pages. In the CMS admin there's a textarea for
Layout Update XML
in the Design tab.
This XML is persisted to the database with the CMS Page object, and these updates are added to the Layout object when that page is loaded.
There's multiple places in the Magento admin where this happens. I'm looking for a list of all of them.
I had trouble filtering by a specific branch with Google's search operators, but this is a decent start: https://www.google.com/search?q=%22custom_layout_update%22+site%3Asvn.magentocommerce.com
Not many that I can see,
Mage/Catalog/Model/Category.php
Mage/GoogleBase/Model/Attribute.php
And the CMS module as mentioned above.
I'm working on a project to create a CMS, which will entail importing a lot of existing content, most of which is static, but in ASP (so they're not all just pure HTML, there are includes and sometimes other server-side code).
We're considering using Umbraco or Sharepoint (2010) for managing the external content, which currently comprises a few thousand pages. I've read this and I think there are good cases to be made for both sides. However, while I've read about the features of adding and managing content, I have not seen anything regarding the importing of existing content into either. And since we have a lot of content that will have to be imported, the ability of either CMS to facilitate this will be a major factor in the decision.
I'd like to know if anyone has any experience trying to import a lot of content into either Umbraco or Sharepoint, or if you have any idea how I might go about doing that. Is it easy for either? Are there plug-ins I can find, or scripts I can write? Or will I pretty much have to import each existing file manually with either CMS?
If you have experience with Umbraco or Sharepoint and have any ideas about this, I would value your input and/or recommendations.
Are you just using SharePoint as a CMS? IMHO whilst SharePoint can be used as a CMS that is not where its real strengths lie - its more suited to Intranet/Portals/Collaboration tools.
I am sure someone will be on in a minute with links to SharePoint showcase sites but the disadvantages :-
Its expensive (even with 'free' WSS
version you need Internet connector
license) + windows licenses.
The
markup can be fairly 'heavy' and
difficult to customise (tables galore in 2007
and javascript files measured in
hundreds of kb)
Questionable cross
browser functionality in 2007
Relatively poor 'website' features e.g. blogging engine as compared to some dedicated CMS's
Basically - if all you are after is a CMS then perhaps there are better options?
(I should say that I think that in an Intranet/Portal setting SharePoint is brilliant, frustrating sometimes for sure, but brilliant).
I cannot speak for SharePoint but I have had to import content from a MS Content Management Server 2002 database into Umbraco.
Umbraco is very extensible and I was able to build a dashboard component that allowed me to do this.
It effectively examined the MSCMS channels and postings and recreated the structure using Umbraco document types. It was very much working at the API level but I would say the learning curve wasn't too steep and Umbraco documentation has come on leaps and bounds over the last two years.
There is also the possiblity that someone has already written a package to do what you need to do so it is worth checking out the community at http://our.umbraco.org.
Hi I don't know Sharepoint but I build a package for Umbraco which can help you importing data from other systems into Umbraco. In the way you dewscribe it you could export your site to a file format using the HTML Agility pack and then use my tool www.cmsimport.com to import the data into Umbraco.
Hope this helps,
Richard
I haven't done any Sharepoint but I've imported content into Umbraco and found it very flexible.
I imported data from a database and created doctypes and custom datatypes in Umbraco then created and populated umbraco documents with code like this:
using umbraco.cms.businesslogic.web;
...
DocumentType dt = DocumentType.GetByAlias("myDoc");
Document doc = Document.MakeNew(name, dt, user, parentId);
doc.getProperty("whatever").Value = getWhateverXML();
doc.Save();