I have more than one-thousands records in excel sheet. now i want to import those records into data list in alfresco. But it seems to be very bad practice to copy those records one by one to data-list. so is there any way to import all records from excel to data-list in alfresco. my alfresco version is community 5.2 , i made custom data-list with the same columns in alfresco but i don't know how to import these data from excel to it. i found some solution for export Data-list to excel , but for import i could not find any things.
could any on help me ? is there any solution ?
For converting excel data to Data List, There's no OOTB feature. you'll have to create your custom logic. The easiest way would be to write a java based webscript that takes your excel and using a library for parsing (e.g. Apache POI) iterates through each row in the excel and add values to your datalist.
To add data list from code refer documentation. it contains both java and js example. Add your custom datalist URI and properties.
PS: There is an extension. but its for community 5.0.
Related
my problem is the following:
I have multiple websites in typo3 an want to add the go_maps_ext to all of them. It would be very much work to type the address and coordinates manualy to all of them, so i wrote a extension which gets the data out of an database. My problem now is that I don't know how to pass the values I got to my extension. i need to create a new go_maps_ext-Map and pass the values address, latitude and longitude to it. Can somebody help me?
A fast and simple solution woud be to export the table-data from your database and import it to your other databases.
The relevant tables are called:
tx_gomapsext_domain_model_address
tx_gomapsext_domain_model_map
tx_gomapsext_map_address_mm
You can export the data from the tables above via phpmyadmin and then write a simple script (maybe in php) which then imports the data to all your other databases, therefore recreating your go_maps_ext map/address(marker)-object structure in your typo3 Website.
The only thing you maybe need to change from your exported data is the pid(the reference to the page-object which holds the map/address-object). into the desired pid-reference number.
Exported data from CRM2015, updated one field in spreadsheet that needs updating, resaved as Excel 2003 xml format.
Struggling to see how to import back in to get it to update existing contact using the 3 fields the export from CRM included.
All it does is attempt to create new records.
Do not save it as Excel 2003 XML format if you want to re-import the file. 2003 XML-files trigger the old-school import process, where it is not possible to update existing records (but on the other hand you have more options for mapping data).
Instead you should simply re-import the original .xlsx-file. This will automatically update the existing records in CRM based on the information in the first three hidden columns.
I don't know anything about TalenD but have to work,so if anybody can help me out in letting me know how to create mapping and transfer data from suppose a txt file to .xls.
Thanks In advance
You need to find out the format of the txt file.
Then you need to find the appropriate talend input component and read in the data.
You should make clear what your specification of your output format are.
For example if you need conditional formatting or complicated dynamic formulas, you need to find a good Talend output component, for example tFileExcelSheetOutput [1].
Otherwise you could use the standard tFileOutputExcel component.
You would use tMap to map the input to the output and depending on your transformation requirements you might also need additional components.
I would recommend looking at Talend on demand seminars which should be freely available from their website to get yourself familar with Talend Studio. Then you can consult the component reference, which is also integrated into Talend Studio.
If you need further assistance you can describe what you tried and what part exactly doesn't work.
[1] http://talendforge.org/exchange/index.php?eid=1257&product=tos&action=view&nav=1,1,1
I am trying to move sugarCRM data (Leads, Opportunities and Applicants, these are modules in sugarCRM) - I have the .csv files. No SQL.its hosted by this company and they won't give me the sql.
the issue is that leads for example has 212 columns(fields)
the regular sugarCRM has far less fields.
I am trying to figure out what is the best way to import all the data without having to use the Studio to create each field individually.
Opportunities module has 110 fields also on the hosted version - and the regular sugarCRM only has about 27.
so my question is how do I create all the fields so I can import them
I already created a file that gets the column names, and I did import all the data into a table called Leads1. when I rename it to leads and check ... the data doesnt show on the page.
any ideas? (please dont answer and say : ask the company to send you the sql, because they will not send it they know I want to move out of their hosted environment I already spent an hour on the phone and they wouldn't)
any ideas or suggestions would be greatly appreciated thank you
With or without the SQL you'll need to recreate the fields in Studio as you need the views to also include the fields. It's tedious, but the only real viable option in this case. It is important that the fields are named exactly the same when doing this so that the import works correctly.
If you can hack some code, another option is to create a module that will export the SQL for the whole database for you from within SugarCRM and also the whole file structure as a zip so that you don't have to recreate anything.
BTW - make sure that the SugarCRM instance you are moving to is the exact same version. Once you do the import then you can upgrade to your desired version. This guarantees that the DB structure will be the same then (given that the custom fields get created appropriately).
Good luck!
Is there a way to convince Crystal Reports to export a page / group / whatever to separate worksheets when exporting to Excel (Data Only)? I'm using the CR that came with VS2008 (version 10.5)
Thanks.
According to the documentation you cannot export a report directly to multiple worksheets in a single Excel workbook.
When the limit of 65536 rows in Excel is reached though, the exporter does create a new worksheet, but you are not in control :)
update
To create your own Excel merger:
PRE: Make sure you have the Office (Excel) SDK libraries installed.
PRE: Place the files that need to be merged in a single directory.
In a VS2008 solution:
Create a new empty Excel Workbook (variable: objNewWorkbook)
Loop through the files in the directory (where you placed the Excel files) and for each item:
Load the file as a Excel Workbook (variable: objWorkbookLoop)
Create a new Worksheet in objNewWorkbook (optionally: with the filename of objWorkbookLoop) (variable: objNewWorksheetLoop)
Copy the data from (probably sheet1 in) objWorkbookLoop to objNewWorksheetLoop
Finally save objNewWorkbook to a file.
One of the things everybody ignores is that excel automation is not an acceptable solution. Yes it works ( almost always) , but even Microsoft recommends to not use it for unattended execution : http://support.microsoft.com/kb/257757
The only safe way I know to export a crystal report to multiple worksheets is by creating a grouped report and burst it using R-Tag report manager. This tool is not using Excel automation so you can run your reports at any time and on the server but if you are currently using another software to run your reports you will need to switch to this one (it is not an extension).
I know this thread is an old one, but I can see links to it without a real answer. Hopefully this will help somebody.