Am new to Hybris product level.
Could you please advise me how to create new/add products into it using impex script.
Many Thanks.
You can check existing sample impex files which are already exist in hybris installation. For example you can check electronic store impex files in hybris/bin/ext-data/electronicsstore/resources/electronicsstore/import folder.
Related
Hi I have done with initial setup of hybris and now I am seeing apparel store. Now could you please someone answer how should I proceed further to completely customize the apparel store site. I wanted to remove all the products and I wanted to add my own products and categories . Also where should I change the URL from apparelstore to my own customized URL?
You need to create your own accelerator module. There is a trail called "commerce trail" on the hybris wiki/help pages that helps you with the initial setup of a module.
I suggest to follow the help section about how to customize the accelerator (e.g: b2c accelerator customization). Generally speaking, you can use the ant modulegen command to generate the extensions for your very own accelerator.
For your own products/categories, you should provide them on impex files. The current data you're seeing is from the apparelstore extension that adds products, categories, site configuration & cms content for the apparel store. So in case you don't want that, you need to remove the apparelstore extension (or don't run projectdata for it) and then provide your own data. You can check that extension also and see how the data is created, to use it as a guide, but also the ant modulegen should generate some impex file templates that you can use. Look in hybris/bin/ext-data/apparelstore/resources/apparelstore/import.
Finally, for your urls, please check the CMSSite url parameters, this are the urls that 'activate' the site for the given request. Also search for properties like website.{siteid}.http= & website.{siteid}.https= that you also need to update for everything to work fine.
I am not able to see folders inside Hybris HMC . My hybris version is 6.2 Can you please suggest what can be the issue beside this.
I am able to successfully login inside Hybris HMC but not able to see folders inside it
Try running System Update with the following options (you may tick project data as well for your HMC specific extensions).
It might have to do with permissions for accessing the folders, try logging in as admin and then, search for your user id to see what all permissions have been assigned to it. Also open the hmc.xml file from hmc and see if there are any special groups assigned to certain tree items.
I need to have separate template at each folder level ,not at project level.
Lets say in details tab I have 10 fields in one folder and I need only fields in another folder in the same project.
Please let me know if this is possible with Workflow or any other way.
Thanks,
Ms
In HPALM, test folder is not part of entity structure framework. Hence you won't be able to setup custom fields at this level. Workflow customization will not help here.
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'm looking for a way to localize SharePoint 2010 Folder Names, for a specific application.
I've seen that site names/description are automatically translated, and it seems like SharePoint 2010 supports "multilingual" fields for metadata - but I haven't been able to apply this successfully for folder names.
The folders are automatically generated, and the number of folder is limited (so I'm not looking at providing the users a way to translate their folder names, but a way to localize a predefined folder structure).
In a nutshell :
- is there a way to localize folder names ?
- if yes, is what's the best way to deploy this as part of a solution ?
Have you considered how Managed Metadata might be able to help you with this? If you're able to control terms that are also localized in Taxonomy, perhaps when creating a folder you would pull from the Managed Metadata Store, and then display the appropriate language based on the user's language setting. Just a thought... Since you know the name of the folder ahead of time, you could use that as a label for a folder name term, and then pull another label that matches the user's language and display that.
You can start using a resource files in your project and this link can help you about it.
But if you want to let the user, who creates a folder to set its localized name; then you should consider using SP event receivers.
I hope I've understood you correctly.