File Dialog's using Remote Panels (via web server)
I am aware that the web server remote panel access will not allow us to open a file dialog box on a remote computer. I have read people comment that you should create your own file dialog box, using LabVIEW to use instead of the file dialog box.
Has anyone actually done this? I would like know if anybody has source code for this, rather than re-inventing the wheel. Also, will the sub-vi actually just appear on the webserver? i.e. will it actually work?
Thanks for any help
Slade
Hi Emilie,
I have a program that I run on an industrial PC, with no keyboard, video or mouse. We currently control the application using the web server. We have a button to load and a button to save settings. If the files are missing for the load & save, it pops up a file open dialog to choose the file to import. However, while we are viewing the page this way, these dialog boxes do not work.
I would like to know if anyone has made up a file dialog box that I could use, that would display correctly in the web server's remote control.
Regards,
Slade
Similar Messages
-
I work for a bankruptcy attorney. We use the Court's file upload to file our documents. When I am on the Court's site and I have to pick a file to upload, the "open file" dialog box pops up. In Firefox, the default "file type" is always "image" files. I need it to be "all files". How can I change this setting?
Two observations.
First — "Tools-> ...." is specific to Acrobat X and XI. It did not exist prior to Acrobat X.
Second — Acrobat 9 Pro / Standard (nor earlier release) does not support viewing a PDF page containing a scanned image and performing a right-click ... Save Image As.
The context menu provided by Acrobat 9 Pro with a right-click on a scanned image is:
The context menu,from a right-click with the TouchUp Object tool selected, for Acrobat 9 Pro is:
So, to paraphrase what Paul Harvey used to say ... What's the rest of the story?
Be well... -
Open a file dialog box using java
Duncan & Frank or anyone
Can you please tell, or give me a link, which explains how to open a file dialog box using java, and not webutil.
I'm trying to read a file on the desktop and update a database table.
ThanksSee Open File Dialog on the WEB... If you can get me the full version numbers I can tell you your supported position.
Regards
Grant -
How to display SubVI on secondary monitor using remote panels?
I am trying to have a SubVI called from a Main VI open on a secondary monitor. I am using Remote Panels to control my Main application, which is opened in a web browser on the secondary monitor. I have tried setting the VI Properties - Window Run-Time Position - Monitor to "1" and also tried setting this value programatically using the Front Panel Property Node but neither seems to work. My SubVI still appears on my primary monitor.
I'm using LV 8.6.1 RT and my application is running on a CRIO.
I'd appreciate any help.
Thanks
Dan
Solved!
Go to Solution.Mike,
All the SubVI does is prompt the user for some text. The front panel is a simple string control. The SubVI is called from my Main application (not using VI Server) and I have the Window Properties for the SubVI set so that the front panel opens when called, and closes when finshed. The SubVI displays teh fornt panel when called but does not open a new browser window. I have attached the SubVI in case you want ot have a look.
Attachments:
New Name.vi 25 KB -
Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.
Hi,
You didnt mention which version of IWS. follow these steps.
(1)Goto Web Server Administration Server, select the server you want to manage.
(2)Select Preference >> Perfomance Tuning.
(3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
(4) Apply changes and restart the server.
*Setting the timeout to a lower value, however, may prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before the connection is closed is 432000 bits (2400 multiplied by 180)
Regards
T.Raghulan
[email protected] -
When using the built in web server, is there a way to specify a different
When using the built in web server, is there a way to specify a different error handler when you try to access a NON .CFM file? Right now I get the standard:
java.io.FileNotFoundException: filename.ext
Is there any setting to override this and direct the message to your own .cfm template? The missing template handler in the CF Admin work only for .cfm files.
ThxThe in-built web server for ColdFusion 8 is JRun. I am on ColdFusion 10, however, and so cannot offer hands-on advice. (CF10 replaced JRun with Tomcat.)
My guess is that you have to modify the file {CF_ROOT}/WEB-INF/web.xml. Don't forget to create a back-up first!
You may then proceed as follows.
1) In the ColdFusion root (CF_ROOT), create the file myCustomFileNotFound.cfm. Give it some content, like
My custom File Not Found page. Current time: <cfoutput>#now()#</cfoutput>
2) Open the file {CF_ROOT}/WEB-INF/web.xml in a text editor. Add the following error-handling specification just before the end tag </web-app>:
<error-page>
<error-code>404</error-code>
<location>/myCustomFileNotFound.cfm</location>
</error-page>
Save the file web.xml.
3) Restart ColdFusion. Test by browsing to a URL requesting filename.ext -
How to use fp-2010 as web server
how to use fp-2010 as web server
mazharHi Mazhar,
It is fairly straighforward to set up front panels for your RealTime executable. This knowledgebase has the information on how to do this.
Hope this helps!
Warm regards,
Karunya R
National Instruments
Applications Engineer -
Using Tomcat as a web server at deployment stage
Hi everyone,
Does anyone of you ever used Tomcat as a web server at deployment stage?
Has he then faced performance problems? or any other of any kind?
Was he limited in the number of users to get an acceptable request process time? Is there a special configuration to set in the web.xml file?
Any help would be greatly appreciated.
Thanks in advance.
JenniferWe have a Tomcat server in production (no Apache/IIS, Tomcat is on port 80) and it runs great. We have about 200 heavy use users on it. The server (version 4.18) is on a Windows 2000 Server / 512 Meg RAM / P3-800 DELL Box. Its connected to a SQL 2000 Server on another box through the built in Tomcat DBCP connection pool.
We were initially going to run it through IIS; but we found it such a pain to set up we decided to leave it on Tomcat. For our application it probably would not have shown a difference in speed anyways.
Its very fast and reliable for us.
As far as tuning, there is a document here that will to you what to do; its very basic actually; just two changes.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html#Production%20Configuration
Also, make sure you don't have any reloadable="true"'s in your Context's.
- Chris -
How to use addwatermarkfromfile on a web server
how to use addwatermarkfromfile on a web server. Where do you put the js on a windows 2008 server, so that the URL can pick it up when a user opens a PDF.
You don't. JS files can exist in three places.
1. In the PDF file
2. In the User Profile
3. In the Application folders
* Note while you can execute some browser based JS to the embedded viewer in a web browser all of the API calls are non-editing. -
Using WebLogic as a Web Server
Are there any disadvantages to using WebLogic as a Web Server also, if the
majority of the site is not static HTML, as compared to plugging Weblogic
into IIS?
Thanks.
[email protected]There are a lot of benefits using WebLogic as the Web server. For one, it
greatly simplifies deployment and management.
If you already have a Webserver deploy, it sometimes makes sense to
integrate us with that existing server.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Marc Lippman" <[email protected]> wrote in message
news:39c90c1b$[email protected]..
Are there any disadvantages to using WebLogic as a Web Server also, if the
majority of the site is not static HTML, as compared to plugging Weblogic
into IIS?
Thanks.
[email protected] -
How to use JSP in apache web server
hi all,
can anybody tell me how to use JSPs in Apache Web Server.
Thanks
sirYou would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
HTH -
Show browse files dialog by listing remote machin files in web application
Hi all,
I want to develop a web application which has "Browse Server" button to browse remote server. After selecting files and folders from remote server, need to read all files and folders from server and store that information in Database. Please provide some ideas and help regarding this.
I think that i need to develop a custom component based on jfilechooser to connect to server and show the selection dialog like windows file upload.
I don't no how to list server files and show as browse dialog to select and read those files.
Thanks in advance.
Regards,
Venkata Subba ReddyMost web browsers can browse FTP. You can achieve what you want without writing a single line of code. How cool is that?
-
Dear All
i have a vi with using remote control on the web.
But how can i use remote control on the web after bulid executable application(*.exe)
maybe add someting to installer or ............A simple search for "executable LabVIEW web" should generate some relevant results.
Try to take over the world! -
Unable to upload File to DMS (Document Managemt Sys) Via web Dynpro App
Hi .
I want add file to DMS i,e, SAP Document Management System .
I first tried calling BAPI : BAPI_CREATE_DOCUMENT2 in Report and I was successfull.
I am trying out same thing via Web Dynpro Application but I am getting error in Return of BAPI .Error is Error while checking in and storing: C:\Documents and Settings\Desktop\Hi.doc.
I am pasting code I have written on click of Upload .
method ONACTIONON_UPLOAD .
implicitly available data objects
wd_Context type ref to if_wd_context_node.
wd_This type ref to if_FileUpload.
DATA: gv_documento TYPE draw-doknr ,
gv_clase TYPE draw-dokar VALUE 'Z99' ,
gv_version TYPE draw-dokvr VALUE '00',
gv_part TYPE draw-doktl VALUE '000',
gv_descripcion TYPE drat-dktxt VALUE 'Description111',
gv_return TYPE bapiret2,
filename(60) type c ,
lt_documentdata TYPE STANDARD TABLE OF bapi_doc_draw2,
ls_documentdata LIKE LINE OF lt_documentdata,
lt_characteristicvalues TYPE STANDARD TABLE OF bapi_characteristic_values ,
lt_classallocations TYPE STANDARD TABLE OF bapi_class_allocation ,
lt_documentfiles TYPE STANDARD TABLE OF bapi_doc_files2 ,
ls_documentfiles LIKE LINE OF lt_documentfiles ,
lv_content type xstring ,
size type i.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_filename LIKE ls_context-filename.
get element via lead selection
lo_el_context = wd_context->get_element( ).
get single attribute
lo_el_context->get_attribute(
EXPORTING
name = `FILENAME`
IMPORTING
value = lv_filename ).
ls_documentdata-documenttype = 'Z99'.
ls_documentdata-documentversion = '000'.
ls_documentdata-documentpart = '00'.
ls_documentdata-description = 'Test Document Created Parag'.
ls_documentdata-STATUSEXTERN = 'WR'.
ls_documentdata-USERNAME = 'I046361'.
ls_documentdata-WSAPPLICATION1 = 'DOC'.
ls_documentdata-DOCFILE1 = lv_filename.
ls_documentdata-DATACARRIER1 = 'DEFAULT'.
ls_documentfiles-wsapplication = 'DOC'.
ls_documentfiles-docfile = lv_filename.
ls_documentfiles-storagecategory = 'DMS_C1_ST'.
ls_documentfiles-checkedin = 'X'.
APPEND ls_documentfiles to lt_documentfiles.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = ls_documentdata
pf_http_dest = 'SAPHTTP'
IMPORTING
return = gv_return
TABLES
documentfiles = lt_documentfiles.
IF gv_return-type CA 'AE'.
WRITE gv_return-message.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDIF .
endmethod.
Now Can anyone tell
In case of Web Dynpro what Is this code right ?
Do I need to change value of Parameters I have Set ?
Do i need to some change as I am trying to Upload file Via WebApplication ?
Do I have to change data Carrier ?
Please let me know urgently .Points will be surely Given ...
Regards ,
ParagHi ,
Finally I was successfull in Uploading Docs.It seems I was not getting right Parameters ..anyways correct code is as follows ...
method ONACTIONON_UPLOAD .
implicitly available data objects
wd_Context type ref to if_wd_context_node.
wd_This type ref to if_FileUpload.
DATA: gv_documento TYPE draw-doknr ,
gv_clase TYPE draw-dokar VALUE 'Z99' ,
gv_version TYPE draw-dokvr VALUE '00',
gv_part TYPE draw-doktl VALUE '000',
gv_descripcion TYPE drat-dktxt VALUE 'Description111',
gv_return TYPE BAPIRETURN ,
gv_return TYPE BAPIRET2 ,
gv_ruta TYPE bapi_doc_files2-docfile VALUE 'C:\BAPI_DMS.doc' ,
filename(60) type c ,
lt_documentdata TYPE STANDARD TABLE OF bapi_doc_draw2,
ls_documentdata LIKE LINE OF lt_documentdata,
lt_characteristicvalues TYPE STANDARD TABLE OF bapi_characteristic_values ,
lt_classallocations TYPE STANDARD TABLE OF bapi_class_allocation ,
lt_documentfiles TYPE STANDARD TABLE OF bapi_doc_files2 ,
ls_documentfiles LIKE LINE OF lt_documentfiles ,
lv_content type xstring ,
size type i ,
lt_binary TYPE TABLE OF sdokcntbin ,
ls_binary LIKE LINE OF lt_binary ,
lv_size TYPE I ,
ls_doc_status TYPE CVAPI_DOC_STATUS ,
ls_API_ctrl TYPE CVAPI_API_CONTROL ,
l_MSG TYPE MESSAGES ,
lt_files type STANDARD TABLE OF CVAPI_DOC_FILE ,
lt_drao TYPE STANDARD TABLE OF DRAO ,
ls_drao LIKE LINE OF lt_drao ,
lv_documenttype TYPE DRAW-DOKAR ,
lv_documentnumber TYPE DRAW-DOKNR ,
lv_documentversion TYPE DRAW-DOKVR ,
lv_documentpart TYPE DRAW-DOKTL ,
lv_text TYPE string .
FIELD-SYMBOLS <fs> TYPE ANY.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_filename LIKE ls_context-filename .
get element via lead selection
lo_el_context = wd_context->get_element( ).
get single attribute
lo_el_context->get_attribute( EXPORTING name = `FILENAME` IMPORTING value = lv_filename ).
lo_el_context->get_attribute( EXPORTING name = `FILECONTENT` IMPORTING value = lv_content ).
CONCATENATE lv_text 'by' sy-uname 'cretaed at ' sy-uzeit INTO lv_text .
ls_documentdata-documenttype = 'Z99'.
ls_documentdata-documentversion = '00'.
ls_documentdata-documentpart = '000'.
ls_documentdata-description = 'Test Document Created in Web Dynpro ABAP '.
ls_documentdata-STATUSEXTERN = 'WR'.
ls_documentdata-USERNAME = 'I046361'.
ls_documentdata-WSAPPLICATION1 = 'DOC'.
ls_documentdata-DOCFILE1 = lv_filename.
ls_documentdata-DATACARRIER1 = 'DEFAULT'.
ls_documentfiles-DOCUMENTTYPE = 'Z99'.
ls_documentfiles-WSAPPLICATION = 'DOC'.
ls_documentfiles-DOCUMENTVERSION = '00'.
ls_documentfiles-DOCUMENTPART = '000'.
ls_documentfiles-DOCFILE = lv_filename.
ls_documentfiles-description = 'Test Document Created in Web Dynpro ABAP '.
ls_documentfiles-CREATED_BY = sy-uname.
ls_documentfiles-CHECKEDIN = 'X'.
ls_documentfiles-DOCFILE = lv_filename.
APPEND ls_documentfiles to lt_documentfiles .
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = ls_documentdata
pf_http_dest = 'SAPHTTPA'
IMPORTING
DOCUMENTNUMBER = lv_DOCUMENTNUMBER
return = gv_return
TABLES
documentfiles = lt_documentfiles.
IF gv_return-type CA 'AE'.
WRITE gv_return-message.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING wait = 'X'.
get message manager
data lo_api_controller type ref to if_wd_controller.
data lo_message_manager type ref to if_wd_message_manager.
lo_api_controller ?= wd_This->Wd_Get_Api( ).
CALL METHOD lo_api_controller->GET_MESSAGE_MANAGER
RECEIVING
MESSAGE_MANAGER = lo_message_manager
CLEAR lv_text .
CONCATENATE 'Dcoument ' lv_filename 'Successfully stored with Document No. ' lv_DOCUMENTNUMBER INTO lv_text .
report message
CALL METHOD lo_message_manager->REPORT_SUCCESS
EXPORTING
MESSAGE_TEXT = lv_text
PARAMS =
MSG_USER_DATA =
IS_PERMANENT = ABAP_FALSE
SCOPE_PERMANENT_MSG = CO_MSG_SCOPE_CONTROLLER
VIEW =
SHOW_AS_POPUP =
CONTROLLER_PERMANENT_MSG =
MSG_INDEX =
CANCEL_NAVIGATION =
ENDIF .
endmethod. -
Accessing JNDI fscontext provider .bindings file via Web Server
The filesystem context provider produces a .bindings file. I've been referencing this over a web server with a URL of the form "file://<host><path>/.bindings".
This works find with IIS. With Netscape Enterprise Web Server it won't show files with a name starting with a period (.).
How can I make the fscontext .bindings file visible over a web server?Look for a configuration option regarding "hidden files". On UNIX, files beginning with a '.' are considered 'hidden', so I would guess they use that terminology.
Good luck,
-Derek
Maybe you are looking for
-
Downgraded to ios 7.1.2 after ios 8 disaster. Now iTunes 11.0.4.18 and windows 7 and my ipad2 will not sync. I received an error message that the sync failed to finish. I have lost all my apps I think but that is another problem. Why won't my pad sy
-
Reading file in UFT-8 format using OWB
Is it possible to read a flat file having data in UFT-8 format with OWB?
-
Posted: Nov 5, 2006 3:52 PM ok am using fcp5.1 on g5 and am very new to fcp...used to use another program but this is different... placed the original file on v1 and a copy on v2. have hidden v1 so i don't get confused. just need to block out a small
-
I'm trying to send a clip to Motion, but every time I try to send something, I get the color wheel, and Final Cut freezes. The clip is only 6 seconds long, and Final cut used to send things without a problem. Anybody have any advice?
-
Document ( no preliminary one )
Hello... i have a problem... when i create voucher from Tcode F-64 i get a message "Document is an accounting document (not a preliminary one)" when i see it in FBV3... when i have posted it. i can't find it in BSIS/BSAS.but when i run program RFSEPA