File upload with DAD not working
Hi all,
I have an application which uses the file upload function, similar to the sample http://otn.oracle.com/products/database/htmldb/howtos/howto_file_upload.html
During the development I was not using a DAD and it was working perfectly. Now I have changed the application to use a DAD and now the file upload fails with a HTTP 404 - File not found error
[DAD_din]
connect_string = deccasm01os.na.decoma.com:1521:DIN
;password =
;username =
;default_page =
document_table = wwv_flow_file_objects$
document_path = docs
document_proc = wwv_flow_file_mgr.process_download
;upload_as_long_raw =
;upload_as_blob =
;name_prefix =
;always_describe =
;after_proc =
;before_proc =
reuse = Yes
;connmax =
;pathalias =
;pathaliasproc =
enablesso = No
;sncookiename =
stateful = STATELESS_RESET
;custom_auth =
response_array_size = 128
;exclusion_list =
;cgi_env_list =
bind_bucket_widths = 32,128,1450,2048,4000
bind_bucket_lengths = 4,20,100,400
;error_style =
;nls_lang =
BTW, it is on HTMLDB v1.6 on 9iDB (9.2.0.4)
thx
Rob,
The File Browse item type does not require upload table WWV_FLOW_FILE_OBJECTS$. The POST for the File Browse item type is intercepted by modplsql and is inserted into the Document Table as defined by the Database Access Descriptor.
You could ultimately create your own DAD with your own Document Table. The Document Table would have to contain the minimum definition as described at:
http://download-west.oracle.com/docs/cd/B14099_03/web.1012/b14010/concept.htm#i1005880
This way, users of the application using the Basic Database Authenticated DAD would be uploading directly into your table and not the HTML DB one. A word of caution, though, is that you would never want to use this DAD with HTML DB development itself...you would need to use the DAD that specifies upload into WWV_FLOW_FILE_OBJECTS$ for HTML DB development.
I hope this helps.
Joel
Similar Messages
-
File upload custom renaming not working with {KT_ext}
Hi,
I used many times custom renaming with file upload, and used {KT_ext} for file's extension, but in first ADDT project is not working. I use this:
$uploadObj->setRenameRule("{GET.id_cd}_{track}.{KT_ext}");
Does anybody know if {KT_ext} is broken in ADDT?
Thank you,
RubenHi Günter,
{track} and {id_track} are both table fields, and setRenameRule worked right with both, but it didn't with {KT_ext}.
I've changed {track} with {id_track} in first page, and it stills fail to put extension.
But maybe is this, in first page the column for Update Transaction is like this
$upd_cds_peces->addColumn("mp3", "FILE_TYPE", "POST", "mp3");
and in the second page (where it works right) is
$upd_cds_peces->addColumn("mp3", "FILE_TYPE", "FILES", "mp3");
Althought in both cases the file is uploaded and DDBB field is filled, maybe in first case the TNG doesn't expect a file and cannot find its extension.
I'll try to change it,
thanks,
Ruben
Edit: Yes, it was this... Now it works. Thank you Günter for your help! -
Validator for file upload component is not working !!
This validator method for a file upload component is throwing a java.lang.NullPointerException.
public void fileUpload1_validate(FacesContext context, UIComponent component, Object value) {
long size= fileUpload1.getUploadedFile().getSize();
if (size>65535){
throw new ValidatorException(new FacesMessage("Your image is too big!"));
Any help to solve this problem is very much appreciated.
Thanks.Hi i have a fileUpload in a pop-up and the methods are :
public void fileUpload1_validate(FacesContext context, UIComponent component, Object value) {
try {
com.sun.rave.web.ui.model.UploadedFile uploadedFile = ((Upload)component).getUploadedFile();
long l_filesize = uploadedFile.getSize();
if ( l_filesize > 1000000)
throw new ValidatorException(new FacesMessage("File Size should be less than 1000000 bytes! It is" + l_filesize));
else {
String tipo = uploadedFile.getContentType();
if ( tipo.compareTo("application/word") == -1 )
if ( tipo.compareTo("application/rtf") == -1 )
if ( tipo.compareTo("application/pdf") == -1 )
throw new ValidatorException(new FacesMessage("Error : los tipos de archivo aceptados son PDF, WORD y RTF"));
} catch (Exception ex) {
this.mauvaisFichier = true;
error(ex.getMessage());
public String botonValidar_action() {
if ( !this.mauvaisFichier )
if ( this.fileUpload1.getUploadedFile() != null )
if ( this.fileUpload1.getUploadedFile().getSize() > 0 )
try {
this.getSessionBean1().getComunicacion().setArchivo( new javax.sql.rowset.serial.SerialBlob(this.fileUpload1.getUploadedFile().getBytes() ) );
this.getSessionBean1().getComunicacion().setTipoArchivo( this.fileUpload1.getUploadedFile().getOriginalName().substring(this.fileUpload1.getUploadedFile().getOriginalName().length() - 3 ) );
} catch(Exception e){
e.getMessage();
return null;
I have to put a boolean value because the first time, validation code doesn't function ( the method botonValidar_action() is called ) correctly. The error message appears but empty.
If I try next time then it's ok.
Thx for any issue. -
Flat file upload program is not working
Hi Experts,
I am using following code to upload a flat file from my local PC to SAP
The code is NOT inserting records in zassum, /bic/pzassum and /bic/tzassum. zassum is SAP BW infoobject. I have run debugger and found that data is getting populated correctly for ztable_data and ztable_text.
The program is getting compiled / activated successfully. I am even getting message " ZASSUM got updated successfully ". However the issue persists.
I am new for ABAP. I might have committed some mistake any where in the code.
Also pls let me know whether statement "PERFORM update_alv_grid_display" is really needed.
Thanks
Smith
FORM upload_batches.
DATA : wf_title TYPE string,
lt_filetab TYPE filetable,
l_separator TYPE char01,
l_action TYPE i,
l_count TYPE i,
ls_filetab TYPE file_table,
wf_delemt TYPE rollname,
wa_fieldcat TYPE lvc_s_fcat,
tb_fieldcat TYPE lvc_t_fcat,
rows_read TYPE i,
p_error TYPE char01,
l_file TYPE string.
TYPES : BEGIN OF test_struc,
/bic/zassum TYPE /bic/oizassum,
txtmd TYPE rstxtmd,
END OF test_struc.
DATA : test_upload TYPE STANDARD TABLE OF test_struc.
DATA : wa_test_upload TYPE test_struc,
ztable_data TYPE TABLE OF /bic/pzassum,
ztable_text TYPE TABLE OF /bic/tzassum,
wa_upld_text TYPE /bic/tzassum,
wa_upld_data TYPE /bic/pzassum,
wa_actbatch TYPE /bic/pzassum.
wf_title = text-026.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = wf_title
default_extension = 'txt'
file_filter = 'Tab delimited Text Files (*.txt)'
CHANGING
file_table = lt_filetab
rc = l_count
user_action = l_action
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
OTHERS = 3. "#EC NOTEXT
IF sy-subrc <> 0.
EXIT.
ENDIF.
LOOP AT lt_filetab INTO ls_filetab.
l_file = ls_filetab.
ENDLOOP.
CHECK l_action = 0.
IF l_file IS INITIAL.
EXIT.
ENDIF.
l_separator = 'X'.
wa_fieldcat-fieldname = 'test'.
wa_fieldcat-dd_roll = wf_delemt.
APPEND wa_fieldcat TO tb_fieldcat.
CLEAR wa_test_upload.
Upload file from front-end (PC)
File format is tab-delimited ASCII
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_file
has_field_separator = l_separator
TABLES
data_tab = i_mara
data_tab = test_upload
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
EXIT.
ELSE.
LOOP AT test_upload INTO wa_test_upload.
CLEAR : p_error.
DESCRIBE TABLE test_upload LINES rows_read.
IF wa_test_upload-/bic/zassum IS INITIAL.
p_error = 'X'.
MESSAGE s153 WITH wa_test_upload-/bic/zassum sy-tabix.
CONTINUE.
ELSE.
IF sy-subrc = 0.
ENDIF.
ENDIF.
wa_upld_text-txtmd = wa_test_upload-txtmd.
wa_upld_text-txtsh = wa_test_upload-txtmd.
wa_upld_text-langu = sy-langu.
wa_upld_data-/bic/zassum = '11'.
wa_upld_data-chrt_accts = 'abc'.
wa_upld_data-co_area = '1234'.
wa_upld_data-/bic/zbhpbcsg = 'uv'.
wa_upld_data-objvers = 'A'.
wa_upld_data-/bic/zass_mdl = 'pqr'.
wa_upld_data-/bic/zass_typ = 'I'.
wa_upld_data-/bic/zdriver = 'defg'.
MOVE-CORRESPONDING wa_test_upload TO wa_upld_data.
MOVE-CORRESPONDING wa_test_upload TO wa_upld_text.
APPEND wa_upld_data TO ztable_data.
APPEND wa_upld_text TO ztable_text.
ENDLOOP.
CALL FUNCTION 'MESSAGES_INITIALIZE'.
IF ztable_data IS NOT INITIAL.
CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
EXPORTING
i_iobjnm = 'ZASSUM'
i_tabclass = 'M'
TABLES
i_t_table = ztable_data
EXCEPTIONS
attribute_name_error = 1
iobj_not_found = 2
generate_program_error = 3
OTHERS = 4.
COMMIT WORK.
IF sy-subrc <> 0.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = 'Zmy_prg'
msgty = 'E'
txtnr = '054'
msgv1 = text-033
EXCEPTIONS
OTHERS = 3.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = sy-msgid
msgty = sy-msgty
txtnr = sy-msgno
msgv1 = sy-msgv1
msgv2 = sy-msgv2
msgv3 = sy-msgv3
msgv4 = sy-msgv4
EXCEPTIONS
OTHERS = 3.
MESSAGE e054(z_myprg) WITH 'ZASSUM'.
ELSE.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = 'Z_BM_BPS'
msgty = 'S'
txtnr = '053'
msgv1 = text-033
EXCEPTIONS
OTHERS = 3.
MESSAGE s053(z_myprg).
IF ztable_text[] IS NOT INITIAL.
CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
EXPORTING
i_iobjnm = 'ZASSUM'
i_tabclass = 'T'
TABLES
i_t_table = ztable_text
EXCEPTIONS
attribute_name_error = 1
iobj_not_found = 2
generate_program_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = 'Z_myprg'
msgty = 'E'
txtnr = '055'
msgv1 = text-033
EXCEPTIONS
OTHERS = 3.
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = sy-msgid
msgty = sy-msgty
txtnr = sy-msgno
msgv1 = sy-msgv1
msgv2 = sy-msgv2
msgv3 = sy-msgv3
msgv4 = sy-msgv4
EXCEPTIONS
OTHERS = 3.
ENDIF.
ENDIF.
ENDIF.
COMMIT WORK.
ENDIF.
ENDIF.
CALL FUNCTION 'RSDG_IOBJ_DEQUEUE'
EXPORTING
i_objnm = 'ZASSUM'
i_scope = '1'.
PERFORM update_alv_grid_display.
CALL FUNCTION 'MESSAGES_SHOW'.
ENDFORM. " upload_batches.
-
Files captured with FCS2 not working in FCE 3
Not sure which forum to post this in so I'll try this one:
I have FS2 on my G5, FCE 3 on the Mini
For logistical purposes, I capture SD DV footage on the G5, using FS2. Took that HDD to the other puter, created a new FCE project and imported the QT movies I captured. I have done this in the past with older versions of FCP with no issues.
This time, the clips are coming in with only one audio track, as opposed to the two mono tracks they should be. Is this just a compatability issue with the two issues? Surprising cause I thought both would create the same kind of QT movie.
Playing the files with QT player everything looks OK.
Nothing wrong with the original tapes, both audio tracks there and they work perfectly within FCS
The only thing I can think of: The G5 which captured the clips is running Tiger with QT 7.1 and the Mini still running Panther with QT 6.5
Any thoughts? ThanksBoth systems should probably be running the same QT version.
-DH -
Emulating HTTP POST for file upload with J2ME
I have search through a lot of site and couldn't find the actual code. I try to emulate below html with J2ME.
<form method="POST" enctype="multipart/form-data" action="Insert.asp">
<td>File :</td><td>
<input type="file" name="file" size="40"></td></tr>
<td> </td><td>
<input type="submit" value="Submit"></td></tr>
</form>
here is my code :
HttpConnection c = null;
InputStream is = null;
OutputStream os = null;
byte[] filecontent = file byte content ...
try {
c = (HttpConnection)Connector.open("http://xx.com/insert.asp");
c.setRequestMethod(HttpConnection.POST);
c.setRequestProperty("Content-Length", String.valueOf(cmg.length + 15));
c.setRequestProperty("Content-type","multipart/form-data");
os = c.openOutputStream();
os.write("file=c:\\abc.png".getBytes());
os.write(filecontent);
os.flush();
I can emulate form with text field and it work, but when it come to file upload, above code not working, I don't know what to put for the outputstream, filename ? content ? or both ? since the html only has one field that is the "file" field. The file is actually store in rms with filename abc.png, and I just put in the c:\ for the server as a dump path.File upload is more complicated then that... you need multi-part MIME formatting.... But I have just the code...
http://forum.java.sun.com/thread.jspa?forumID=256&threadID=451245 -
I downloaded the latest firefox 4 and updated my file, firefox 4 will not work with my version of Mac OS X, how do I get my old firefox back?
You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
-
File upload with 'asp vb' backend
Hello,
I am trying to get file uploading with flex (flash buider) working. There are plenty of examples with a php backend, but i need the script for a 'asp vb' backend.
I' ve tried lots of different approaches but can't get it right. Someone out there with a solution?
Thanx!!Believe it or not I have to do this also.
I have legacy ASP code that uses ASPUpload that I'd like to get working with my Flash CS5 and FlashBuilder Burrito front-ends.
it's just multipart encoded.
So, if you first test it with ASPUpload and a simple form, trying just FILE1 first, and it works with ASP backend then tackle the FlashBuilder side with some debugging.
ASPUpload is still an extremely embedded component on tens of thousands if not more sites, and it was just updated, but I think the previous version just before this update, the one that's out there in code on so many sites, that is what Flash needs to work with.
ASPUpload is doing its part, as it follows all the multipart encoded RFC rules and has worked for years.
I'd love to join you in finding out what's going on here.
This is a long-standing issue.
I've done PHP also. But again, enhancing an interface with FlashBuilder4 or Burrito, to integrate with working legacy code makes it hard when something is not working on the Flash side (it appears anyway) as ASPUpload form posts are extremely easy. -
Multiple File Upload With Metadata Using REST
hi all
I want to upload multiple files with metadata to document library using REST API. I am using this msdn article
http://msdn.microsoft.com/en-us/library/office/dn769086(v=office.15).aspx for uploading file. I am able to upload single file to document library but it is not working for multiple file. when I select multiple file it is uploading last selected file. can
anyone help with this. I am using office 365 environment.
Thanks in advanceHi,
According to your post, my understanding is that you wanted to use the REST to upload multiple files.
Per my knowledge, the REST API is not supported for uploading multiple files via a single call.
You can write your own loop to upload multiple files via an individual call.
http://sharepoint.stackexchange.com/questions/108525/multiple-file-upload-with-metadata-using-rest/108532#108532
More reference:
http://sharepointfieldnotes.blogspot.com/2014/04/uploading-documents-and-setting.html
http://www.shillier.com/archive/2013/03/26/uploading-files-in-sharepoint-2013-using-csom-and-rest.aspx
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Hello there
I've been trying to integrate with WSRP a Struts 1.1 web app which provides a simple File Upload functionality.
It works fine as a standalone web application (direct access to the web app).
But I can't get it to work through WSRP from BEA Weblogic Portal 8.1SP4 to BEA Weblogic Server 8.1SP4.
I followed all the steps indicated at http://e-docs.bea.com/wlp/docs81/wsrp/workprod.html#1010271.
Plus I set up the wsrp-producer-config.xml file to handle attachments as follows:
<markup secure="false" rewrite-urls="true" transport="attachment" accepts-mime="true"/>
The start page of the portlet displays fine on the Consumer side.
But upon file upload it never reaches the actual Struts Action on the Producer side.
No error is displayed either on the Consumer or on the Producer side but the file does not get uploaded.
Any idea why ?
Am I missing anything in the configuration ?
Thanks
Patrick
==================================
All I get in the Producer logs is
<6-mar-2006 18.30.32 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP request from/to 10.102.194.96>
<6-mar-2006 18.30.32 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP response from/to 10.102.194.96>
<6-mar-2006 18.30.33 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP request from/to 10.102.194.96>
<6-mar-2006 18.30.33 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP response from/to 10.102.194.96>
<6-mar-2006 18.30.33 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP request from/to 10.102.194.96>
<6-mar-2006 18.30.33 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP response from/to 10.102.194.96>
========
For info here's the Request from the monitor:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<urn:performBlockingInteraction xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<urn:registrationContext xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<urn:portletContext>
<urn:portletHandle>stdgui243 portlet</urn:portletHandle>
</urn:portletContext>
<urn:runtimeContext>
<urn:userAuthentication>wsrp:none</urn:userAuthentication>
<urn:portletInstanceKey>T8005</urn:portletInstanceKey>
<urn:namespacePrefix>T8005</urn:namespacePrefix>
<urn:sessionID>GMlX1KDR8G2dTCHX12FLZy2htBzz5rsTy9H592pWMx0YBtthZgfs!-383570453</urn:sessionID>
<urn:extensions>
<urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types">
<urn1:skeletonId>default</urn1:skeletonId>
<urn1:skeletonPath>/framework/skeletons/</urn1:skeletonPath>
<urn1:skinId>avitek</urn1:skinId>
<urn1:skinPath>/framework/skins/</urn1:skinPath>
</urn1:LookAndFeelDescriptor>
</urn:extensions>
</urn:runtimeContext>
<urn:userContext xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<urn:markupParams>
<urn:secureClientCommunication>false</urn:secureClientCommunication>
<urn:locales>it</urn:locales>
<urn:mimeTypes>text/html</urn:mimeTypes>
<urn:mimeTypes>image/gif</urn:mimeTypes>
<urn:mimeTypes>image/x-xbitmap</urn:mimeTypes>
<urn:mimeTypes>image/jpeg</urn:mimeTypes>
<urn:mimeTypes>image/pjpeg</urn:mimeTypes>
<urn:mimeTypes>application/x-shockwave-flash</urn:mimeTypes>
<urn:mimeTypes>application/vnd.ms-powerpoint</urn:mimeTypes>
<urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes>
<urn:mimeTypes>application/msword</urn:mimeTypes>
<urn:mimeTypes>*/*</urn:mimeTypes>
<urn:mode>wsrp:view</urn:mode>
<urn:windowState>wsrp:normal</urn:windowState>
<urn:clientData>
<urn:userAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)</urn:userAgent>
</urn:clientData>
<urn:navigationalState/>
<urn:markupCharacterSets>UTF-8</urn:markupCharacterSets>
<urn:markupCharacterSets>UTF-8</urn:markupCharacterSets>
</urn:markupParams>
<urn:interactionParams>
<urn:portletStateChange>readOnly</urn:portletStateChange>
<urn:interactionState>action=%2Fstdgui243%2Fupload%26module=%2Fstdgui243</urn:interactionState>
</urn:interactionParams>
</urn:performBlockingInteraction>
</soapenv:Body>
</soapenv:Envelope>Hi Patrick,
Can you try this without accept-mime attribute?
Subbu
>
I've been trying to integrate with WSRP a Struts 1.1 web app which provides a simple File Upload functionality.
It works fine as a standalone web application (direct access to the web app).
But I can't get it to work through WSRP from BEA Weblogic Portal 8.1SP4 to BEA Weblogic Server 8.1SP4.
I followed all the steps indicated at http://e-docs.bea.com/wlp/docs81/wsrp/workprod.html#1010271.
Plus I set up the wsrp-producer-config.xml file to handle attachments as follows:
<markup secure="false" rewrite-urls="true" transport="attachment" accepts-mime="true"/>
The start page of the portlet displays fine on the Consumer side.
But upon file upload it never reaches the actual Struts Action on the Producer side.
No error is displayed either on the Consumer or on the Producer side but the file does not get uploaded.
Any idea why ?
Am I missing anything in the configuration ?
Thanks
Patrick
==================================
All I get in the Producer logs is
<6-mar-2006 18.30.32 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP request from/to 10.102.194.96>
<6-mar-2006 18.30.32 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP response from/to 10.102.194.96>
<6-mar-2006 18.30.33 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP request from/to 10.102.194.96>
<6-mar-2006 18.30.33 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP response from/to 10.102.194.96>
<6-mar-2006 18.30.33 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP request from/to 10.102.194.96>
<6-mar-2006 18.30.33 CET> <Debug> <WSRP-Consumer> <BEA-420550> <SOAP response from/to 10.102.194.96>
========
For info here's the Request from the monitor:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<urn:performBlockingInteraction xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<urn:registrationContext xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<urn:portletContext>
<urn:portletHandle>stdgui243 portlet</urn:portletHandle>
</urn:portletContext>
<urn:runtimeContext>
<urn:userAuthentication>wsrp:none</urn:userAuthentication>
<urn:portletInstanceKey>T8005</urn:portletInstanceKey>
<urn:namespacePrefix>T8005</urn:namespacePrefix>
<urn:sessionID>GMlX1KDR8G2dTCHX12FLZy2htBzz5rsTy9H592pWMx0YBtthZgfs!-383570453</urn:sessionID>
<urn:extensions>
<urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types">
<urn1:skeletonId>default</urn1:skeletonId>
<urn1:skeletonPath>/framework/skeletons/</urn1:skeletonPath>
<urn1:skinId>avitek</urn1:skinId>
<urn1:skinPath>/framework/skins/</urn1:skinPath>
</urn1:LookAndFeelDescriptor>
</urn:extensions>
</urn:runtimeContext>
<urn:userContext xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<urn:markupParams>
<urn:secureClientCommunication>false</urn:secureClientCommunication>
<urn:locales>it</urn:locales>
<urn:mimeTypes>text/html</urn:mimeTypes>
<urn:mimeTypes>image/gif</urn:mimeTypes>
<urn:mimeTypes>image/x-xbitmap</urn:mimeTypes>
<urn:mimeTypes>image/jpeg</urn:mimeTypes>
<urn:mimeTypes>image/pjpeg</urn:mimeTypes>
<urn:mimeTypes>application/x-shockwave-flash</urn:mimeTypes>
<urn:mimeTypes>application/vnd.ms-powerpoint</urn:mimeTypes>
<urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes>
<urn:mimeTypes>application/msword</urn:mimeTypes>
<urn:mimeTypes>*/*</urn:mimeTypes>
<urn:mode>wsrp:view</urn:mode>999
<urn:windowState>wsrp:normal</urn:windowState>
<urn:clientData>
<urn:userAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)</urn:userAgent>
</urn:clientData>
<urn:navigationalState/>
<urn:markupCharacterSets>UTF-8</urn:markupCharacterSets>
<urn:markupCharacterSets>UTF-8</urn:markupCharacterSets>
</urn:markupParams>
<urn:interactionParams>
<urn:portletStateChange>readOnly</urn:portletStateChange>
<urn:interactionState>action=%2Fstdgui243%2Fupload%26module=%2Fstdgui243</urn:interactionState>
</urn:interactionParams>
</urn:performBlockingInteraction>
</soapenv:Body>
</soapenv:Envelope> -
Hi all, Excel upload program is not working in SAP CRM 7.2 Service Pack 10 with IE 11. Same is working fine in SP08. Below is the code.
The debugger is not coming into Servervent handler method . any notes suggested ? sorry for posting the big code lines.
<thtmlb:fileUpload id="fileUpDown" />
<thtmlb:button id = "UPLOAD"
iconSrc = "ICON_XLS"
tooltip = "Upload Excel file"
text = "Upload"
onClick = "upload_file( );" />--%>
<thtmlb:textArea id = "Excel_Data"
text = " "
width = "0"
height = "0"
rows = "0" />
<%-- Registering server event--%>
<bsp:htmlbEvent name = "nameUpload"
id = "idUpload"
onClick = "SERVEREVENT"
<%-- serverEvent"--%>
p1 = "p1"
p2 = "p2"
p3 = "p3" />
<script language="javascript" type="text/javascript">
function upload_file( ){
var iRow="1",
jCol="1",
ActiveRows="0",
fileName="",
sValue=" ";
fileName=document.getElementById("<%= controller->component_id %>_fileUpDown").value;
if ( fileName == "" ) {
alert("Upload." + "\n" + " " + "\n" + "Please choose an Excel file as source.");
return;
if ( fileName != "") {
<%--alert("Upload." + "\n" + " " + "\n" + "This file is to be uploaded:" + "\n" + fileName);--%>
var r=confirm("Upload." + "\n" + " " + "\n" + "This file is to be uploaded:" + "\n" + fileName);
if (r!=true)
return;
Excel = new ActiveXObject("Excel.Application");
Book = Excel.Workbooks.Open( fileName );
ActiveRows = Book.Worksheets("Input").Range("A1.IV64000").CurrentRegion.Rows.Count;
<%--ActiveRows = Range("A1.IV64000").CurrentRegion.Rows.Count;--%>
for (iRow=1; iRow<=ActiveRows; iRow++) {
for (jCol=1; jCol<=4; jCol++) {
cData = Book.Worksheets("Input").Cells(iRow,jCol).value;
<%--cData = Cells(iRow,jCol).value;--%>
sValue = sValue.concat(cData,"\n");
sValue = sValue.concat("\n\r");
document.getElementById("<%= controller->component_id %>_Excel_Data").value = sValue;
Excel.Workbooks.Close;
<%--return statement here calls the server event SERVERVENT--%>
return nameUpload();
</script>
regards,ramaHello all,
Excel = new ActiveXObject("Excel.Application");
the above statement is not working in Service pack 10 CRM 7.2. any help is appropriated
thanks,rama -
ipad i have load swf file but swf is not working proper(flex 4.6) but android is fine to work how
On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed. -
File type associations is not working in the App-V 4.6 SP3
Hello,
I found issue, that file type associations is not working in App-V 4.6 SP3. When I try to open associated file with double click I receive next window:
Translate: This action is only valid for products that are currently installed.
I have checked associations in App-V Console and in OSD file, everything looks like OK.
Maybe someone has some ideas?
Could you please share them with me?
Thank you in advance.Is this only happening on one client machine? If so can you completely clear the application and re-stream\cache it again?
If that fails, you could try to create the FTA locally on the client
PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
rorymon.com Twitter: @Rorymon -
Application "FINDER"not responding,Desktop files disappeared & " also "Trash" not working svn after relaunching several times.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Step 1
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
Enter the name of the crashed application or process (Finder) in the Filter text field. Post the messages from the time of the last crash, if any — the text, please, not a screenshot.
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into a message.
Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
Step 2
Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful. -
I am trying to change the date on an imported home video clip. I entered 9/7/2012 and got 6/9/0339! I checked modify original file, but it is not working. Any ideas?
Are you using the Adjust Date and Time option or the Batch Change option? If it's the former try the latter. If you get the same results launch iPhoto with the Option key held down and create a new, test library. Import the same video file and check to see if the same problem persists.
OT
Maybe you are looking for
-
AD Not all users groups brought into BO
Post Author: ChrisNorris CA Forum: Authentication Hi, We have an issue that shows itself on a few sites. User A belongs to AD groups X, Y, Z. All of those groups are already existing in BOXI R2. What we find is that often with new users A will be i
-
Can I backup to a flash drive?
Is there a way I can back up my current Windows 8.1 to a flash drive? For example, need to format my drive.
-
X-fi xtrememusic. can't get mic to work
Iv been trying to get it to work for hours. I know the mic works as i have tested it on another pc. Iv changed loads of settings many times and iv included a screenshot http://img72.imageshack.us/img72/860/soundscreenyr4.jpg)? I'm not sure if those s
-
How to execute multiple sql statements in oracle?
I want to execute multiple statements in a single transaction in oracle. Following are my queries: Create table temp_table as Select * from table; SELECT * FROM temp_table d; drop table temp_table ; I am using sql comment text in asp.net I am using e
-
Can anyone tell me how you would keep all the characters from within one pair of tags together each time characters() is called? the character() method doesn't read all the character data at once, and i would like to create a buffer of what it has re