How to export data programmatically to a lar file in liferay? - liferay

I am trying to export web content in liferay. The data is to be exported into a .lar file format.I tried with several methods like exportData(),exportPortletInfoAsFile() but could not export. I searched a lot in the source code but could not achieve the result. So please suggest some more methods or the way which I should use in order to achieve the same? Thanx in advance..

Related

Export data from JIRA into Excel dynamically

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.

JHipster: how to import data from Excel file into my Entity in the database using Jhipster?

I'm new to JHipster and i'd like to add a button that allow me import Excel file to fill my entity in the database .
could anyone help me or give an idea
thank you
One way will be to define a table e.g. sourceFile which should have at least one field of type TextBlob. JHipster will create for you all the ui for uploading a file in the table sourceFile. Then u can create a service which is using a lib like apache poi for reading and importing the uploaded excel file. In this way u can write some audits about when the file was upload and imported. Of course it's depends on your use case if this is feasible or not for you.

How to export states in hybris?

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.

How to create template file for skinr module in drupal?

I have installed skinr module. In that there is an option to select Template Files.
I don't have idea how to implement it.
1. How Should i need to create a template file for this?
2. Where it should be saved?
3. How it will get the template file by default?
4. How can this be achieved?
Here is the screenshot below.. Thanks in advance...
You have to define the template in the .info file of your theme.
If you read this article first, then I think that the instructions here are easy to understand

Generating multiple sheets in a single excel document using Grails Export plugin

I'm using Export plugin for Grails(http://www.grails.org/plugin/export) to generate excel sheets. Now I need to create multiple sheets in the same Excel document and if possible, name those individual sheets. Searching around in internet, couldn't find any solution to this problem. Can someone please help on this?
thanks
There looks to be no way of doing this currently with that plugin.
Your best bet would be to add it as a feature request on the JIRA for that module -- or better yet -- take the module, add that functionality and submit a patch to the JIRA.
Or you're going to have to look for another way of exporting XLS data.

Resources