Auto Expand Html table when we paster data from Microsoft Excel sheet
hi,
I need copied data to my Html table.
Actual requirement is like that when i copy selected rows with selected columns from Microsoft excel sheet and press "ctlr v" on my jsp page then table on jsp must be auto expand as data in excel sheet.
Take an example.
I copy 4 rows with 3 columns from excel sheet.
I have JSP page with 1 row and 3 columns.
when i press "ctrl v" on first cell of my jsp table then table should be auto expand to accommodate 4 rows of excel sheet.
here i have some of the code which is near to this, this code just copy past only one row, but i need multiple rows.
If need then please refer below code and if possible then give me the solution to auto expand HTML table on JSP
Code to copy paste cell in to HTML Table
<form>
<table>
<tr>
<td><input type="text" name="t1_0" onchange="formatCells(this.value,'t1')"></td>
<td><input type="text" name="t1_1"></td>
<td><input type="text" name="t1_2"></td>
<td><input type="text" name="t1_3"></td>
<td><input type="text" name="t1_4"></td>
</tr>
<tr>
<td><input type="text" name="t2_0" onchange="formatCells(this.value,'t2')"></td>
<td><input type="text" name="t2_1"></td>
<td><input type="text" name="t2_2"></td>
<td><input type="text" name="t2_3"></td>
<td><input type="text" name="t2_4"></td>
</tr>
</table>
</form>
<script type="text/javascript">
function formatCells(xls,group){
var arrGroup = xls.split(/\t/gi);
for(var i=0;i<arrGroup.length;i++){
document.forms[0].elements[group + "_" + i].value = arrGroup;
</script>
Thanks
Chintan Patel
Hi Ross,
>> In our testing environment using both Excel 2010 and 2013 this file is imported successfully, so we cannot replicate.
I suspect it is caused by the difference of web server security settings.
KB: Error message when you use Web query to a secure Web page (HTTPS://) in Excel: "Unable to open"
Hope it will help.
By the way, this forum is mainly for discussing questions about Office Development (VSTO, VBA and Apps for Office .etc.). For Office products feature specific questions, you could consider posting them on
Office IT Pro forum or Microsoft Office Community.
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Can't shown chinese text when copy & paste data from server to Outlook, Word & notepad, etc.( Office 2013)
Hi
As per the information and details provided by you, when you copy & paste a data from server to Outlook, word, notepad, then you do not receive the Chinese text.
For Outlook, please follow these steps: -
Close and reopen Outlook in your western locale (or switch the windows system to your Western locale if you changed that),
Manually change the message from Western to Chinese encoding, which you can do in all versions up to Outlook 2007.
If you want to stay in your Chinese locale in Outlook 2007, then:
After you hit reply, go to the Option tab > More Options.
In the Encoding drop-down menu, select the Chinese encoding you are working in (Not the encoding used by the person who will receive the message)
Note:
To set the Chinese locale in all versions up to 2007 the controls are under.
Tools > Options. In Outlook 2010 File tab > Options > Advanced > International options.
Unicode (UTF-8)
is a good setting for multilingual users.
Check the
Auto select 2007)/ Automatically select (2010) encoding box.
I hope this information will be helpful for you.
Thanks and regards
Shweta@G -
I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
Can someone help or direct me to an expert that can help me on thise90f478a-c529-4c48-b189-51eebeaed477 wrote:
I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
Can someone help or direct me to an expert that can help me on this
We don't know the "query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). "
We don't know where you posted said query.
We don't know what "some answer and reference" you received "from the forum."
We don't know what it was that your "Oracle consultant and representative from Oracle Malaysia" said was "impossible".
So on what basis are we supposed to "help or direct" to "to an expert that can help "? -
How to put the data from one excel sheet in another excel sheet
hi ,
I want put the data from one excel sheet in another excel sheet in seq. order Eg: I have one excel sheet in which i have 3 col. Name , Sno. , Email along with data .I want to put data from this sheet to another excel sheet in the following orders of col. Sno,Name, Email .
While loading data in another sheet , i have to perform validation like char field should n't contain numeric values and vice versa .
Let me know on this soon ..
regards
PrashantWell, you can issue separate queries with the ordering you need from each tab in the spreadhseet. You can open an ODBC connection from a VBA macro, select a sheet, run a query, select another sheet and run another query. As for the validation, you can do this in Oracle via stored procedures or again in VBA code.
-
Extracting data from Microsoft Excel spreadsheet
Hi,
I am currently developing an application that requires to extract data from Microsoft Excel spreadsheet. Is that possible to archieve it?
If it is possible,your precious guidience will be much appreciated.
Thank you.There are several approaches.
1) Export the data from the Excell in "CSV" format, which is simple enough to read as an ordinary text file.
2) Use the open source POI package, which reads and writes XSL files (amongst other popular formats).
3) Use the JDBC/ODBC bridge and the Windows ODBC driver which allows and Excell file to be treated as a database. (More details in above reference).
4) Use another open source package to connect to Excell via the COM+ interface, and access data therein.
Personally I favour the POI package. -
Import data from different Excel sheets to different tables
I have an Excel file which has different sheets(S1,S2,S3) .The columns in the sheet are different. I want to import the data from different sheets to different tables(T1,T2,T3).
S1 ---> T1
S2 ---> T2
S3 ---> T3
I want only one Excel data source in my SSIS package.You need to have different DFT flows for that as the metadata is different. You need to map each sheets to corresponding destination tables and then it would work fine
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Reading data from multiple excel sheets
hi all
i have to read the data from excel file's sheet1 and sheet3. how can i do this using forms6i
thanks.Dear Rehman,
Use This Code ,it is very useful to read the data from excel file's sheet1 and sheet2 and so on.here i written the code for sheet1 and sheet2 only.if u need sheet3 .. and extra make a code based on sheet1 or sheet2.
Regards
Gopinath M
DECLARE
--Declare handles to OLE objects
application ole2.obj_type;
workbooks ole2.obj_type;
workbook ole2.obj_type;
worksheet ole2.obj_type;
cell ole2.obj_type;
--Declare handles to OLE argument lists
args ole2.list_type;
Check_file text_io.file_type;
no_file exception;
PRAGMA exception_INIT (no_file, -302000);
cell_value varchar2(2000);
BEGIN
--Check the file can be found, if not exception no_file will be raised
Check_file := TEXT_IO.FOPEN('L:\Individual Person Folders\Gopi\test1.XLS','R');
TEXT_IO.FCLOSE(Check_file);
application:= ole2.create_obj('Excel.Application');
workbooks := ole2.get_obj_property(application, 'Workbooks');
--Open the required workbook
args:= ole2.create_arglist;
ole2.add_arg(args, 'L:\Individual Person Folders\Gopi\test1.XLS');
workbook := ole2.invoke_obj(workbooks, 'Open', args);
ole2.destroy_arglist(args);
--Open worksheet Sheet1 of that Workbook
args:= ole2.create_arglist;
ole2.add_arg(args, 'Sheet1');
worksheet := ole2.get_obj_property(workbook, 'Worksheets', args);
ole2.destroy_arglist(args);
--Get value of cell A1 of worksheet Sheet1
args:= ole2.create_arglist;
ole2.add_arg(args, 1);
ole2.add_arg(args, 1);
cell:= ole2.get_obj_property(worksheet, 'Cells', args);
ole2.destroy_arglist(args);
cell_value :=ole2.get_char_property(cell, 'Value');
message(cell_value);
args:= ole2.create_arglist;
ole2.add_arg(args, 1);
ole2.add_arg(args, 2);
cell:= ole2.get_obj_property(worksheet, 'Cells', args);
ole2.destroy_arglist(args);
cell_value :=ole2.get_char_property(cell, 'Value');
message(cell_value);
args:= ole2.create_arglist;
ole2.add_arg(args, 1);
ole2.add_arg(args, 3);
cell:= ole2.get_obj_property(worksheet, 'Cells', args);
ole2.destroy_arglist(args);
cell_value :=ole2.get_char_property(cell, 'Value');
message(cell_value);MESSAGE(' ');
args:= ole2.create_arglist;
ole2.add_arg(args, 'Sheet2');
worksheet := ole2.get_obj_property(workbook, 'Worksheets', args);
ole2.destroy_arglist(args);
--Get value of cell A1 of worksheet Sheet1
args:= ole2.create_arglist;
ole2.add_arg(args, 1);
ole2.add_arg(args, 1);
cell:= ole2.get_obj_property(worksheet, 'Cells', args);
ole2.destroy_arglist(args);
cell_value :=ole2.get_char_property(cell, 'Value');
message(cell_value);
args:= ole2.create_arglist;
ole2.add_arg(args, 1);
ole2.add_arg(args, 2);
cell:= ole2.get_obj_property(worksheet, 'Cells', args);
ole2.destroy_arglist(args);
cell_value :=ole2.get_char_property(cell, 'Value');
message(cell_value);
args:= ole2.create_arglist;
ole2.add_arg(args, 1);
ole2.add_arg(args, 3);
cell:= ole2.get_obj_property(worksheet, 'Cells', args);
ole2.destroy_arglist(args);
cell_value :=ole2.get_char_property(cell, 'Value');
message(cell_value);
MESSAGE(' ');
ole2.invoke(application,'Quit');
--Release the OLE2 object handles
ole2.release_obj(cell);
ole2.release_obj(worksheet);
ole2.release_obj(workbook);
ole2.release_obj(workbooks);
ole2.release_obj(application);
EXCEPTION
WHEN no_file THEN
MESSAGE('file not found.');
WHEN OTHERS THEN
MESSAGE(sqlerrm);
PAUSE;
FOR i IN 1 .. tool_err.nerrors LOOP
MESSAGE(tool_err.message);
PAUSE;
tool_err.pop;
END LOOP;
END; -
How can I use Hash Table when processing the data from cdpos and cdhdr
Hello Guru,
I've a question,
I need to reduce the access time to both cdhdr and cdpos.
Because may be I'll get a huge number of entries.
It looks like that by processing cdhdr and cdpos data will take many secondes,
it depends on how many data you need to find.
Hints : Putting instructions inside a form will slow down the program?
Also, I just want use Hash table and I need to put a loop-instruction going on the hash-table in form.
I know that it's no possible but I can declare an index inside my customized hash table.
For example :
DO
READ TABLE FOR specific_hash_table WITH KEY TABLE oindex = d_oindex.
Process data
d_oindex += 1.
UNTIL d_oindex = c_max_lines + 1.
Doing this would actually not necessary improve the performance.
Because It looks like I'm having a standard table, may be there's a hash function, but it could be a bad function.
Also I need to use for example COUNT (*) to know how many lines I get with the select.
FORM find_cdpos_data_with_loop
TABLES
i_otf_objcs TYPE STANDARD TABLE
USING
i_cdhdr_data TYPE HASHED TABLE
i_objcl TYPE j_objnr
* i_obj_lst TYPE any
i_option TYPE c
CHANGING
i_global TYPE STANDARD TABLE.
" Hint: cdpos is a cluster-table
CONSTANTS : objectid TYPE string VALUE 'objectid = i_obj_lst-objectid',
changenr TYPE string VALUE 'changenr = i_obj_lst-changenr',
tabname TYPE string VALUE 'tabname = i_otf_objcs-tablename',
tabnameo1 TYPE string VALUE 'tabname NE ''''',
tabnameo2 TYPE string VALUE 'tabname NE ''DRAD''',
fname TYPE string VALUE 'fname = i_otf_objcs-fieldname'.
DATA : BEGIN OF i_object_list OCCURS 0,
objectclas LIKE cdpos-objectclas,
objectid LIKE cdpos-objectid,
changenr LIKE cdpos-changenr,
END OF i_object_list.
DATA : i_cdpos LIKE TABLE OF i_object_list WITH HEADER LINE,
i_obj_lst LIKE LINE OF i_cdpos.
DATA : tabnamev2 TYPE string.
IF i_option EQ 'X'.
MOVE tabnameo2 TO tabnamev2.
ELSE.
MOVE tabnameo1 TO tabnamev2.
ENDIF.
*LOOP AT i_cdhdr_data TO i_obj_lst.
SELECT objectclas objectid changenr
INTO TABLE i_cdpos
FROM cdpos
FOR ALL ENTRIES IN i_otf_objcs
WHERE objectclas = i_objcl AND
(objectid) AND
(changenr) AND
(tabname) AND
(tabnamev2) AND
(fname).
LOOP AT i_cdpos.
APPEND i_cdpos-objectid TO i_global.
ENDLOOP.
*ENDLOOP.
ENDFORM. "find_cdpos_dataHey Mart,
This is what I met, unfortunately I get the same performance with for all entries.
But with a lot of more code.
FORM find_cdpos_data
TABLES
i_otf_objcs TYPE STANDARD TABLE
USING
i_objcl TYPE j_objnr
i_obj_lst TYPE any
i_option TYPE c
CHANGING
i_global TYPE STANDARD TABLE.
" Hint: cdpos is a cluster-table
CONSTANTS : objectid TYPE string VALUE 'objectid = i_obj_lst-objectid',
changenr TYPE string VALUE 'changenr = i_obj_lst-changenr',
tabname TYPE string VALUE 'tabname = i_otf_objcs-tablename',
tabnameo1 TYPE string VALUE 'tabname NE ''''',
tabnameo2 TYPE string VALUE 'tabname NE ''DRAD''',
fname TYPE string VALUE 'fname = i_otf_objcs-fieldname'.
* DATA : BEGIN OF i_object_list OCCURS 0,
* objectclas LIKE cdpos-objectclas,
* objectid LIKE cdpos-objectid,
* changenr LIKE cdpos-changenr,
* END OF i_object_list.
** complete modified code [begin]
DATA : BEGIN OF i_object_list OCCURS 0,
objectclas LIKE cdpos-objectclas,
objectid LIKE cdpos-objectid,
changenr LIKE cdpos-changenr,
tabname LIKE cdpos-tabname,
fname LIKE cdpos-fname,
END OF i_object_list.
** complete modified code [end]
DATA : i_cdpos LIKE TABLE OF i_object_list WITH HEADER LINE.
DATA : tabnamev2 TYPE string.
** complete modified code [begin]
FIELD-SYMBOLS : <otf> TYPE ANY,
<otf_field_tabname>,
<otf_field_fname>.
** complete modified code [end]
IF i_option EQ 'X'.
MOVE tabnameo2 TO tabnamev2.
ELSE.
MOVE tabnameo1 TO tabnamev2.
ENDIF.
** SELECT objectclas objectid changenr
** INTO TABLE i_cdpos
* SELECT objectid
* APPENDING CORRESPONDING FIELDS OF TABLE i_global
* FROM cdpos
* FOR ALL ENTRIES IN i_otf_objcs
* WHERE objectclas = i_objcl AND
* (objectid) AND
* (changenr) AND
* (tabname) AND
* (tabnamev2) AND
* (fname).
** complete modified code [begin]
SELECT objectid tabname fname
INTO CORRESPONDING FIELDS OF TABLE i_cdpos
FROM cdpos
WHERE objectclas = i_objcl AND
(objectid) AND
(changenr) AND
(tabnamev2).
ASSIGN LOCAL COPY OF i_otf_objcs TO <otf>.
LOOP AT i_cdpos.
LOOP AT i_otf_objcs INTO <otf>.
ASSIGN COMPONENT 'TABLENAME' OF STRUCTURE <otf> TO <otf_field_tabname>.
ASSIGN COMPONENT 'FIELDNAME' OF STRUCTURE <otf> TO <otf_field_fname>.
IF ( <otf_field_tabname> EQ i_cdpos-tabname ) AND ( <otf_field_fname> EQ i_cdpos-fname ).
APPEND i_cdpos-objectid TO i_global.
RETURN.
ENDIF.
ENDLOOP.
ENDLOOP.
** complete modified code [end]
** LOOP AT i_cdpos.
** APPEND i_cdpos-objectid TO i_global.
** ENDLOOP.
ENDFORM. "find_cdpos_data -
Can i use OER to store the data from a excel sheet that pertains to the entire integrations ?
hi ,
i know that the OER can be used to view the entire landscape for the SOA composites and how they are related with each other. However we have a requirement wherein we need to store the data for the entire integration end systems e.g. ebiz, mfgpro, siebel etc ( that is we need to store data one level up).
Also, we want a customized form in OER wherein user can manually add data regarding the integrations.
So is it possible to do so ? If yes, how ?ok, let me put it this way,
I tried using the import/export utility available under OER admin tab.
When i export my existing assets it generates the .xml file for each asset. Now as i have hundreds on new assets to be created for each asset type i want to be able to create a new .xml file and want it to create the new asset once i import it using import utility. I tried creating a new .xml file giving it a new UUID but it does not seem to work. Has anyone tried this earlier who can give the steps to do this ? -
Import Fixed asset Master Data From Microsoft Excel
Hi
I'm trying to import fixed master data throught .txt file but it shows me the folowing error "The depreciation start date of asset "A2" for depreciation area "COLGAP" cannot be in the import fiscal year"
Where A2 is Fixed Asset Code and COLGAP is "Depreciation Area"
I attach some images with fixed assets setups and data template
Do you have any idea what is the error?
Thank you so muchHi Deepak
Thanks for your answer. I checked your document and I followed it step by step, but I have another issue when I tried to import. It says "Cannot import "A2"; its active depreciation areas must be the same as those defined in the corresponding asset class"
I attach again the images. Can you tell me what is my problem?
Thank you -
Uploading data from an excel to internal table.
Hi All,
I have a small problem when uploading data from an excel sheet to internal table using the function "GUI_UPLOAD".
Some garbage value is getting stored in the internal table after the upload. If i change the format of the file to ".txt" then its working fine. Pls help me out to upload the data frm Excel to Internal Table.
Thanks.
Sirisha.hi
good
pls check this code , this might help you to solve your problem
Multiple excel sheets generation in a workbook
CREATE OBJECT EXCEL 'EXCEL.SHEET'.
GET PROPERTY OF EXCEL 'Application' = APPLICATION.
SET PROPERTY OF APPLICATION 'Visible' = 1.
CALL METHOD OF APPLICATION 'Workbooks' = BOOKS.
CALL METHOD OF BOOKS 'Add' = BOOK.
CALL METHOD OF BOOK 'WORKSHEETS' = SHEET.
CALL METHOD OF SHEET 'ADD'.
Fill all the sheets with relavant data
PERFORM SHEET1 TABLES ITAB1.
PERFORM SHEET2 TABLES ITAB2.
PERFORM SHEET3 TABLES ITAB3.
PERFORM SHEET4 TABLES ITAB4.
Quit the excel after use
CALL METHOD OF EXCEL 'QUIT'.
FREE OBJECT: COLUMN,SHEET,BOOK,BOOKS,APPLICATION,EXCEL. "NO FLUSH.
CLEAR V_SHEET.
FORM FILL_CELL USING ROW COL VAL.
CALL METHOD OF SHEET 'cells' = CELL NO FLUSH
EXPORTING #1 = ROW #2 = COL.
SET PROPERTY OF CELL 'value' = VAL.
FREE OBJECT CELL NO FLUSH.
ENDFORM. " FILL_CELL
FORM SHEET1 TABLES ITAB1 STRUCTURE ITAB1.
V_SHEET = Sheet Name.
V_NO = V_NO + 1.
CALL METHOD OF BOOK 'worksheets' = SHEET NO FLUSH EXPORTING #1 = V_NO.
SET PROPERTY OF SHEET 'Name' = V_SHEET NO FLUSH.
PERFORM FILL_SHEET1 TABLES ITAB1 USING V_NO V_SHEET.
CALL METHOD OF SHEET 'Columns' = COLUMN.
FREE OBJECT SHEET.
CALL METHOD OF COLUMN 'Autofit'.
FREE OBJECT COLUMN.
ENDFORM.
Repeat above procedure for all sheets you want to add
FORM FILL_SHEET1
TABLES ITAB1 STRUCTURE ITAB1
USING V_NO V_SHEET.
ROW = 1.
PERFORM FILL_CELL USING ROW 1 'Column1 Name'.
PERFORM FILL_CELL USING ROW 2 'Column2 Name'.
PERFORM FILL_CELL USING ROW 3 'Column3 Name'.
ROW = ROW + 1.
LOOP AT ITAB1.
PERFORM FILL_CELL USING ROW 1 ITAB1-Column1.
PERFORM FILL_CELL USING ROW 2 ITAB1-Column2.
PERFORM FILL_CELL USING ROW 3 ITAB1-Column3.
ROW = ROW + 1.
ENDLOOP.
ENDFORM.
Repeat above procedure for all sheets you want to add
Try this also
TYPE-POOLS: truxs.
DATA: it_raw TYPE truxs_t_text_data.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
Upload Excel file
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw
i_filename = p_file
TABLES
i_tab_converted_data = i_XCEL[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks®ds,
Sree.
Edited by: Sree on Mar 17, 2008 8:07 AM -
Pasting text from Microsoft Word
I am working in InDesign on a Windows XP computer. When I paste text from Microsoft Word into InDesign the text loses its formatting such as italics and bold. Is there any way to maintain that formatting? I am supplied with this text by a client and I have so much formatting to do that the projects take me longer than necessary.
... and don't forget to run this set of macros in Word BEFORE you do copy/paste ;)
http://adobescripts.pl/modules/mydownloads/singlefile.php?cid=9&lid=38
robin
www.adobescripts.com -
Hi all,
I want to read data froma an excel sheet.
The code i used to read the data is
IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(IPrivateFileUplaodView.IContextElement.FILE_RESOURCE);
* IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) attributeInfo.getModifiableSimpleType();*
* IContextElement element = wdContext.currentContextElement();*
* if(element.getFileResource()!= null)*
* try*
* String mimeType = binary.getMimeType().getFileExtension();*
* wdComponentAPI.getMessageManager().reportSuccess("File " + binaryType.getFileName() + " has been successfuly uploaded ! ");*
* catch(Exception e)*
* throw new WDRuntimeException(e);*
* else*
* wdComponentAPI.getMessageManager().reportException("File could not be uploaded", true);*
* // Till here the code remains the same as in File Upload tutorials*
* // Now the code for retrieving the values from the Excel sheet*
* try*
* ByteArrayInputStream bais = new ByteArrayInputStream(element.getFileResource());*
* Workbook workbook = Workbook.getWorkbook(bais);*
* Sheet sheet = workbook.getSheet(0);*
* Cell a1 = sheet.getCell(0,0);*
* Cell a2 = sheet.getCell(0,1);*
* wdComponentAPI.getMessageManager().reportSuccess("Value of cell a1 = " + a1.getContents());*
* wdComponentAPI.getMessageManager().reportSuccess("Value of cell a2 = " + a2.getContents());*
* catch(Exception ex)*
* wdComponentAPI.getMessageManager().reportException(ex.getLocalizedMessage(),true);*
But i am getting error at "binary" in String mimeType = binary.getMimeType().getFileExtension();
and ByteArrayInputStream bais = new ByteArrayInputStream(element.getFileResource()); by saying that there is no constructor of
ByteArrayInputStream with Resource as parameter.
Please let me know what might be the issue so that i can solve this.
Thanks and regards,
Chandrashekar.Hi,
Replace the following code
ByteArrayInputStream bais = new ByteArrayInputStream(element.getFileResource());*
with
IWDResource resource = element.getFileResource();
InputStream inputStream = resource.read(false);
ByteArrayInputStream bais = new ByteArrayInputStream(inputStream);
Regards
Ayyapparaj -
Pasting data from Excel sheet to Table in web dynpro View
Hii All,
Is it possible to copy data ( some rows) from Excel sheet and paste in table in a view?
I tried doing this, but only first element is getting pasted..
Does anybody know how to do this?
Is there any way to perform similar thing?
Pls help.
regards,
AmeyHi,
Copy paste may work if you have that many rows in your table(not sure).
One thing you can do is upload the excel and then populate the context of the node bound to the table by fetching data from the excel
For this you can make use of JXL or APACHE POI.
Regards
Ayyapparaj -
Very slow pasting data from the Clipboard into a Sharepoint 365 list by using the Quick Edit view
<p>In sharepoint 2010 it was very fast to paste data from the Clipboard by using the Data Sheet view. Why is it so slow in Sharepoint 365 when using the Quick Edit View? is there a workaround?</p><p>also in Sharepoint 365 if you try to
paste a large number of records (2,000) it will freeze.</p>I'm interest about same thing. Clipboard is often only way to migrate lists between sharepoint versions and now it is almost unpossible to use.
Maybe you are looking for
-
How do i download my photos on to my computer?
how do i download my photos on to my computer?
-
I opened a new book in iBooks and my toolbar to get back to the library disappeared
I opened a new book in iBooks and the toolbar to get back to the library has disappeared!
-
What are the possible effects of changing regions on your apple ID?
Hi, I'd really like to know the possible effects of changing regions on one's apple ID. I've recently changed mine to UK's from Tanzania's - and I've provided a valid payment but the problem is on my recent downloads from that Tanzanian apple ID. I c
-
Inactive timeout Configuration
Hi All, The current application is in Oracle 10g forms . At any point of time,user might be in different screen , there are 350 forms are in there in the application. if particular user is inactive for more than 3 mins , i need to kill this session o
-
Sometimes Spinning ball since RAM upgrade
i ordered 1GB RAM and replaced it with the 512MB. since then i get a spinning ball sometimes, but only if i do several tasks at once. like using Photoshop, Indesign, Mail, Safari, Itunes and dashboard and finder same time intensively. the ball doesnt