How to open an URL from Forms in blocking mode?
Can anyone tell me if it is possible to open a website from within forms in blocking mode? The reason why I have to use blocking mode is that the user has to take some action in the website and has to end that session explicitly with a button on the website. After that, a file is written on the server that is needed for further action. Without that file the process can't go on.
I use Forms (32-bits) versie 10.1.2.0.2.
Thanks for your answer.
Your suggestion is only possible with a timer-trigger (correct me if I'm wrong). And that's the point.... The time the user can act in the website is unlimited. So, how to set up a timer-trigger? Another work around is to make a process that works at some time and searches for the files on the server. But that's not what we want to do.
Does anyone have another idea?
Similar Messages
-
How to open word doc. from forms 10g
hi all
i am trying to open word doc. from forms 10g using ole2.
but it is not working.
basiccaly this command is not working
app := CLIENT_OLE2.CREATE_OBJ('Word.Application');
can anybody help
thanxI found this searching this forum and it works..however, my issue is to open up Microsoft Word passing in data from a query.
I am working on Forms 10g
DECLARE AppID PLS_INTEGER;
BEGIN
AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\OFFICE11\winword.exe C:\test.doc',
DDE.APP_MODE_NORMAL);
END; -
How to call a URL from forms ?
Dear All,
I would like to invoke / call a URL from forms. I know we can make a call Using Web.show_document. But this will execute in a browser.
What i need to do is, i have to send a request to by calling an URL, that should not visible to any body.
This is my requirement, please help if you know.
Thanks
Balajihi,
here is a quick example : (data from url returns as a clob. you need to write it at db. and call from forms.)
FUNCTION Get_DataFromUrl(pUrl IN VARCHAR2,pProxy IN VARCHAR2,pData IN OUT CLOB) RETURN NUMBER IS
vRcv UTL_HTTP.HTML_PIECES;
vData CLOB;
eNoDataReceived EXCEPTION;
BEGIN
UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(TRUE);
-- Get data pieces from Url
vRcv := UTL_HTTP.REQUEST_PIECES(pUrl,Proxy => pProxy);
IF vRcv.COUNT < 1 THEN
RAISE eNoDataReceived;
ELSE
-- Append varchar2 table data into clob variable
DBMS_LOB.CreateTemporary(vData,FALSE,DBMS_LOB.CALL);
FOR i IN 1..vRcv.COUNT LOOP
DBMS_LOB.WriteAppend(vData,LENGTH(vRcv(i)),vRcv(i));
END LOOP;
-- Copy local data into return variable
DBMS_LOB.Copy(pData,vData,DBMS_LOB.GetLength(vData));
DBMS_LOB.FreeTemporary(vData);
END IF;
RETURN SUCCESS;
EXCEPTION
WHEN eNoDataReceived THEN
RETURN FAILURE;
WHEN UTL_HTTP.INIT_FAILED THEN
RETURN FAILURE;
WHEN UTL_HTTP.Request_Failed THEN
RETURN FAILURE;
WHEN OTHERS THEN
RETURN FAILURE;
END Get_DataFromUrl;
hope this helps.
Engin. -
How to open a scanner from Forms
HI,
Can any one tell me how can I open a scanner from the click of a button . I know u can use the HOST command to call an exe file . But its not working . Please let me know if any one has an Idea .
Thanks in advance.hi
use OCX control if u are using Forms6i
then call some packages
1) AdminLib_CONSTANTS
2) ImgeditLib_CONSTANTS
3) Wang_Scan
4) Wang_Admin
5) Wang_Edit
6) Wang_Scan_Events
then call from button
declare
my_ole OLEOBJ;
dummy number;
begin
forms_ole.activate_server('scan');
my_ole := forms_ole.get_interface_pointer('SCAN');
if Wang_Scan.ScannerAvailable(my_ole) <> 0 then
dummy := Wang_Scan.StartScan(my_ole);
else
message('no scanner found !');
message('no scanner found !');
end if;
end;
Rizwzn -
How to open a url from a desktop application
Hi this may seem like a very easy question but all the topics online point to the following code....
var url = "http://www.adobe,com";
var urlReq = new air.URLRequest(url);
air.navigateToURL(urlReq);
However when I try to use this I keep getting an 1120 error saying that a definition for air could not be found.
Can someone please give me some fast direction?I tried your suggestion...
Then after hitting myself in the head multiple times I came to say thanks
I really appreciate the help. -
Anybody has any idea of how to open an url (or webpage) from a webform in the same window. I cannot use Web.Show_Document() as it opens the webpage in a new window.
Thanx in advance.Taken from help
SHOW_DOCUMENT(url, target);
Built-in Type: unrestricted procedure
Enter Query Mode: yes
Description:
Specifies the URL and target window of a Web application.
Parameters:
url Datatype is VARCHAR2. Specifies the Uniform Resource Locator of the document to be loaded.
target Datatype is VARCHAR2. Specifies one of the following targets:
_SELF Causes the document to load into the same frame or window as the source document.
PARENT Causes the target document to load into the parent window or frameset containing the hypertext reference. If the reference is in a window or top-level frame, it is equivalent to the target self.
_TOP Causes the document to load into the window containing the hypertext link, replacing any frames currently displayed in the window.
_BLANK Causes the document to load into a new, unnamed top-level window.
Restrictions:
Can only be used from within a form run from the Web.
Example:
** Built-in: WEB.SHOW_DOCUMENT
** Example: Display the specified URL in the target window.
BEGIN
Web.Show_Document(http://www.abc.com, _self);
END; -
Opening Browser with URL from Forms
Hi,
We can open internet browser by using HOST command in FORMS. How to open specific URL into the browser through FORMS.Hi,
The following Host built-in takes you to the specified site,
Host('Netscape http://www.oracle.com');
Best Regards,
Deepak Rai
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Rama Ala ([email protected]):
Hi,
We can open internet browser by using HOST command in FORMS. How to open specific URL into the browser through FORMS.<HR></BLOCKQUOTE>
null -
Hello.
I have: a link, a report, a form
When I set the link on a column on the report, it calls the form. (I also have edited the link so that the primary key columns are passed as parameters to the form to provide UPDATE/DELETE.)
What I want to do is: Once the user submits the form, the form should redirect to the page where the report was displayed, and pass the parameters that were on that previous page. (basically, go back to where the user came from--exact url, which shows the update on the report) Does anyone know how to do this?
The best solution would be for the form to open on the same page, then the form automatically refreshes the same url. Any ideas?
(I have been looking at it too long, need fresh eyes/thoughts.!)
Thanks!
Robin
Message was edited by:
robin.millerTake a look at this thread, I think it'll help you.
How to get page url from a Dynamic Page? -
How to open web pages from japplet??
Hi
Does anybody know how to open web pages from java japplet??
Any help is apreciated!
zickthe getAppletContext() method of the Applet class will get you an AppletContext, with which you can call the ShowDocument(URL url) or ShowDocument(URL url, String target) method...
check it out at http://java.sun.com/j2se/1.4/docs/api/java/applet/AppletContext.html
have a good one :)
Jay -
How to open the Url type in Attachments Table
Hi All,
If we attached the any files, files are stored in the fnd_lobs table, pickup the data from the fnd lobs table and stored in the local system but if attached the url type how to open the url type.is there any standard ?
Thanks,
VenkatYou can do it one of two ways:
1. Insert some CSS that will change the target to "_new".
2. Change the field that the user enters information in to a single line of text, then create a calculated column that is:
=CONCATENATE("<a href=",[URL Field]." target=new>Click here</a>")
Format that as a number.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
How do I keep URLs from printing after Events?
Version 3.0.8 (1287) - How do I keep URLs from printing after Events?
Open the Pages preferences > uncheck Automatic detect email and web addresses
-
How to open "All Tabs" from previously shown pages history?
Hi,
How to open "All Tabs" from previously shown pages history. I am not asking about "Reopen from last session". I am asking about how to open all tabs from previous webpage links from a past date from history, currently its allowing me to select each page link manually by clicking it.
Thank you!Select the first item you wish to open, scroll down to the last, Shift-click that one & all those between should be selected too. Double-click on them & they should all start to open... or you can copy & then drag/paste into a new or existing bookmarks folder.
-
How to open a URL without session ID and reuse the current browser session?
Hi All,
I have a question about HTMLDB 2.0
How to open a URL without session ID and reuse the current browser session?
That was the behaviour in HTMLDB 1.6 ...
My usecase for this is the following:
We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
In these email we've put a link to some page, with some parameters in the URL.
The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
Then he receives another email (e.g. for another ticked). He clicks on the link and :
a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
Best regards,
Mihail DaskalovMihail - I detailed a couple of approaches here: Re: Application Link
Scott -
How can print a report from form 6i, when I press a button?
hi Friends,
How can print a report from form 6i, when I press a button?
When i press a button from Form 6i, the report should print through printer.
I have done it by using report parameter DESTYPE Printer but problem is that when I press a button printer dialogue box appear and then I give command Print to printer, I don’t want to show Printer dialogue box.
I want when I press a button form Forms 6i , printer will print my report directly.
Please send me the solution of this problem.
Best regards,
ShahzadHi
If You are using Client server application then to passing to Add all Print Parameter in the Host Command.
Means Print command in unix to Host(lp.............) and Other Parameter to file name of the report to print.
If You not Use Client Server Application the Also Passing a Host Command in Button-Pressed Event and Run. -
How to open a pdf from pdf target with page no using javascript
Hi
How to open a pdf from pdf target with page no using javascript
Thanks in Advance.Hello,
<p>Web.show_document calling .htm files saved on disk.....</p>
Francois
Maybe you are looking for
-
I just got a Canopus ADVC 110. Everything connects fine and works well. I can moniter play and watch video in the capture windo. I have my VCR connected to the converter via RCA then to the computer with FireWire. When I try to capture "now" the wind
-
Airport Express works, but MacBook doesn't when connected directly to Modem
I have an interesting problem. I have Verizon DSL. Airport Express works, but Linksys and Netgear wifi routers don't work. Further more, if I disconnect the wifi router and directly connect a MacBook or a Windows notebook they don't work. These devic
-
Black Screen after flashing the latest BIOS
Nothing but Black screen (fan, leds work) after flashing the latest bios... Is there anything I can do, or just new bios/motherboard can help? (I tried resting the battery, F8 key..) Thanks in advance
-
Hello all, We have central SLD which is contectecd to XI sandbox, dev, NWDI and Portal. This SLD is extremely slow even when trying from the server. Even when I go useradmin web page, it takes about 2 minutes to display page. This server has 4 Gi
-
IPhone songs worked fine before Match
So, I had about 575 songs downloaded to my iPhone that worked fine (only 16GB model, so I have to limit tracks). I enabled Match this morning because I like the idea of seeing my entire library and being able to download songs on the fly without hav