We have one table called CustomerPreference which has some 20+ columns and 800K records. i am trying to get the complete impex [with all the columns like all 20+ columns in the impex definition] but i don't have all the columns in the sample impex in the projectdata or essentialdata but i need to load the data in that table for one defect.
Need to know whether there is anyway or any tool in hybris can get me the complete impex statement for that table? Thanks in advance and Appreciate your help.
in the hmc (hybris management console, by default via http://localhost:9001/hmc/hybris?wid=MC0x0) you can go to
System -> Tools -> Script Generator
and click on the "Generate" button to have a script generated that will allow to export the whole type system.
You will then have to manually select the parts of the generated script that contains the types (and relationships) that you want to actually export.
But this will give you some sort of a head start for a script.
Once you have the script ready you can test it in the hac (http://localhost:9001) and click on
Console -> ImpEx Export and paste your script in there to do the export (I think) .. or use an impex cronjob to execute your script..
Hope this helps a bit.. :)
Related
I am fairly new to the Alteryx.
I would like to create a process/workflow in Alteryx to import a file from a specified location but that should be controlled by the input parameters.
Kindly help me in this.
Thanks,
RTJ
You can connect an Interface Tool:File Browse via an Interface Tool:Action to change the file selected to an In/Out:Input Data:
You will then want to run the workflow using the Run As Analytic App:
In the developer tool category, you'll find the Dynamic Input tool. This works much like the standard Input Data tool, but can take records in to modify the data it collects.
https://help.alteryx.com/2018.2/DynamicInput.htm
It sounds like you have files in a standard location, but want to be able to dynamically select the ones to load.
Let's say you have a collection of sales files in the format "Sales_20190718.csv" but want to only get sales information for certain dates as specified in your workflow. You can point your Dynamic Input tool to the Sales_20190718.csv, and have it replace the "20190718" part with whatever input you gave to the tool before querying the information.
You could get a similar result by using wildcards in a basic Input Data tool by pulling data from "Sales_*", and ticking the "Output File Name as Field" box. This would load all your sales data (which could take some time) but then you could filter to the relevant files using the new FileName field.
I am using JIRA and in each sprint i do some steps to export file from JIRA and copy-paste it in Excel, and then apply my functions on it. This takes me a lot of time so i would like to automate all this steps using Excel.
So, is it possible to export data from JIRA into Excel dynamically ?
Is there a way to do that please?
Thanks
You can export search results directly to Excel: navigate to Issues -> Search for Issues, and run you search. After that you can click on Export -> Excel (All/Current fields).
If this option is not available for you, you can export same search results to CSV file and Excel should be able to import it.
Please, refer to official documentation for more details.
If that is not what you are searching for, please specify your requirements more precisely.
See related answer here. You can export a filter to a csv file with a curl command. You can call this command via Shell in VBA. Then postprocess the output file with vba to integrate the data in your final report file.
Please, Could help me? I'd like exporting states registered in hybris and what is default to export anything? I always need export something inside him, but I haven't a base other export. In Stack site I got about access right, I tried use the same model but it did not work.
I'm not sure to understand well your question but I might have a tips.
If you need to export something using Impex. You can connect to your hMC or backoffice.
Go to System -> Tools -> Script generator.
In the popin click on generate, it will create an impex with all the headers to export all objects in hybris.
Choose in this big file the objects your interested in.
Then use the export tools (above script generator), paste the impex with the objects you need in the wizard. Then it will give you a zip to download if the export is successful.
So, there is this website where I have to log in and insert values in the add content->person roles and I have to take values from an excel file. I tried entering the values in the database directly but got nowhere. The database is too randomly generated.
I want to know- how to go by this problem? I think python would be the best way but I am more comfortable with java. The images bellow will help understand the situation better-
The log in from:
The form to be filled:
Try using feeds module:
https://www.drupal.org/project/feeds
Install it on you site first of course. Or look for some similar import module. Maybe this one:
https://www.drupal.org/project/datasources
If nothing succeeds then try making import script on your own. You have to parse document (would be much easier to open it from excel and export as CSV if possible http://php.net/manual/en/function.fgetcsv.php) and have some loop to write content into Drupal system. Use Drupal's functions for that, do not directly write to database. It's not hard as it looks like:
https://www.drupal.org/node/1388922
could any body explain the fields macros, headers, data, and bean shell in .impex file?
what are the symbols like #,$ meaning in .impex file?
what is the difference between .impEx and .imPex?
# Is a comment
$ has several meanings (depending on context)
The file extension is irrelevant, it doesn't even need to be .impex
You should read the impex documentation. It is very well documented.
https://wiki.hybris.com/display/release5/ImpEx+Syntax
Impex files uses Comma-Separated Values, it allows for exemple creating, updating, removing items.
$ Macro definitions for exemple $namemacro=name1 each time we have namemacro in the impex file, it is replaced by name1.
https://wiki.hybris.com/display/release5/Importing+and+Exporting
ImpEx is an integrated text-based import/export extension for creating, updating, removing, and exporting platform items.
For Example, I've created a demo project named training in which I can add product catalog by importing this ImpEx
$productCatalog=trainingProductCatalog
$classificationCatalog=trainingClassification
$catalogVersion=catalogversion(catalog(id[default=$productCatalog]),version[default='Staged'])[unique=true,default=$productCatalog:Staged]
$languages=ja,en,de,zh
Product catalog
INSERT_UPDATE Catalog;id[unique=true]
;$productCatalog