How do I extract email from a form and send the PDF to that user?
How do I extract email from a form and send the PDF to that user?
here you can add email to send to, CC, Subject, and body message
var oDoc = event.target;
oDoc.mailDoc({
bUI: false,
cTo: "Agency Contact Email",
cCC: "",
cSubject: "Write your title here,
cMsg: "Dear" + AgencyContact + "(" + AgencyContactEmail + ")\nThe student, " + FirstName + " " + LastName + " has applied to work at your agency. Please confirm they can work here blah blah blah.......\n\nThanks.\n\nrespectuflly,\n\nme"
Similar Messages
-
How do you extract SQL from Oracle Forms and Reports files?
I am developing an "as is" data model for a government client for a 14 year old system that has three databases, 20 schemas, over 1500 tables, and over 23,000 columns. Needless to say, I do not plan to perform a manual mapping of data to screens and reports.
Most of the system has been developed in Oracle Forms and Reports. I am trying to map the live tables and columns to forms and reports.
The process here has been to save the forms and reports files as .fmb and .rdf files. The client does not have an available copy of Oracle Designer, which I understand could be used to extract the SQL.
Is there a utility somewhere that can parse the .fmb and .rdf files to extract the SQL?
Thanks,
Jim GearingJim,
I don't know of any utility that will do this. You can convert and save each fmb as a fmt so you can view/search the contents , but I don't recommend that approach.
On the other hand, you download a copy of Oracle Designer:
http://www.oracle.com/technology/software/index.html
It usually is included with Oracle Forms and Reports. -
How do I make a button onj the form which will submit and send the pdf as an email?
how do I make a button on the form which will submit and send the pdf as an email?
You can set up a button with a "Submit a form" action and use a mailto type URL to specify the email address you want the forms sent do. If you want to send the entire PDF, select that option and not FDF or anything else. The mailto URL should not include any spaces and the "mailto" part should be lowercase, like:
mailto:[email protected]
This will attempt to initiate an email using the users default email client. If the user does not have one set up or there is some other problem, the email might not get initiated. If it needs to work with Reader versions prior to 11, then the form needs to be Reader-enabled, which you do in Acrobat 11 by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools -
How do I delete email from my iPad and iPhone without deleting it from my laptop?
how do I delete email from my iPad and iPhone without deleting it on my laptop. I'm trying to free up space.
It would depend on the type of mail account you are using. If you have an IMAP or Exchange account deleting mail from one client is going to sync to the other clients. You cannot remove from one device and not the others. POP mail however, does allow one to delete mail from one client and it remain on the other clients. Because POP mail is downloaded to the individual clients, whereas mail in IMAP and Exchange resides on the server, and is just viewed on the individual machines.
-
Extract data from database tables and download in pdf and csv
extract data from database tables and download in pdf and csv
hi how can i re-write my old form procedure in adf java. the procedure used to extract data from diffirent table and dowload the data in pdf and csv.am not downloading image, i what to extract data from diffirent tables in my database and download that data in pdf and csv. i would like to write this in java adf.i just what direction am not asking anyone to do my work this is my learning curve
the form code is
function merge_header3 return varchar2 is
begin
return '~FACILITY DESCRIPTION~ACCOUNT NO~BRANCH CODE~BANK REF NO.~P/P/ AMOUNT~Postal Address 1~Postal Address 2~Box Postal Code~Dep. Date~Month~BANK NAME~BRANCH NAME~ACCOUNT TYPE~DESCRIPTION~OBJECTIVE DESCRIPTION';
end;
procedure download_file (i_pbat integer) is
dir varchar2(80);
file_name1 varchar2(80);
file_name2 varchar2(80);
appl_code varchar2(80);
fil1 client_text_io.file_type;
fil2 client_text_io.file_type;
dat varchar2(1000);
DATA VARCHAR2(1000);
bvspro varchar2(100);
ssch varchar2(100);
bvspro_total number(20,2);
ssch_total number(20,2);
grand_total number(20,2);
cnt integer;
cursor pbat is
select *
from sms_payment_batches
where id = i_pbat
cursor pay (pb_id integer) is
select *
from sms_payment_vw
where pbat_id = pb_id
order by subsidy ASC,programme,beneficiary_name
cursor cgref (low varchar2) is
select *
from cg_ref_codes
where rv_domain ='SMS'
and rv_low_value = low
success boolean;
begin
set_application_property(cursor_style,'busy');
appl_code := sms_global.ref_code('SMS','APP_CODE','SMS',0);
dir := sms_global.ref_code('SMS','PAY_DIR','c:\sms\batch_payments',0);
success := webutil_file.create_directory(dir);
if webutil_file.file_is_directory(dir) then
null;
-- message ('directory exists');
else
-- message ('create directory ');
success := webutil_file.create_directory(dir);
-- if success then message ('directory exists'); end if;
end if;
for c_pbat in pbat loop
file_name1 := dir ||'\' || appl_code||c_pbat.batch_number||'-'||to_char(c_pbat.batch_dt,'yyyymmdd')||'pay.txt';
file_name2 := dir ||'\' || appl_code||c_pbat.batch_number||'-'||to_char(c_pbat.batch_dt,'yyyymmdd')||'merge.txt';
--message('create files ');
-- fil1 := client_text_io.fopen (file_name1,'W');
-- fil2 := client_text_io.fopen (file_name2,'W');
fil1 := client_text_io.fopen (file_name1,'W','');
fil2 := client_text_io.fopen (file_name2,'W','');
dat := 'FROM ACCOUNT NUMBER'
||'~'||'FROM ACCOUNT DESCRIPTION'
||'~'||'MY STATEMENT DESCRIPTION'
||'~'||'BENEFICIARY ACCOUNT NUMBER'
||'~'||'BENEFICIARY SUB ACCOUNT NUMBER'
||'~'||'BENEFICIARY BRANCH CODE'
||'~'||'BENEFICIARY NAME'
||'~'||'BENEFICIARY STATEMENT DESCRIPTION'
||'~'||'AMOUNT';
-- client_text_io.put_line(fil1,dat);
bvspro:= null;
ssch := null;
cnt := 0;
dat := '~'||lpad('~',16,'~');
for c_pay in pay(c_pbat.id) loop
--message('cpay loop ' || cnt);
if bvspro is null then
dat := lpad('~',16,'~');
dat := utility.put_field(1,c_pay.programme,dat,'~');
client_text_io.put_line(fil2,dat);
dat := utility.put_field(1,c_pay.subsidy,dat,'~');
client_text_io.put_line(fil2,dat);
dat := merge_header3;
client_text_io.put_line(fil2,dat);
bvspro := c_pay.programme;
ssch := c_pay.subsidy;
grand_total := 0;
bvspro_total := 0;
ssch_total := 0;
end if;
if bvspro <> c_pay.programme then
dat := lpad('~',16,'~');
dat := utility.put_field(5,ssch_total,dat,'~');
dat := lpad('~',16,'~');
dat := utility.put_field(5,bvspro_total,dat,'~');
dat := utility.put_field(1,'Total:' || bvspro,dat,'~');
client_text_io.put_line(fil2,dat);
dat := lpad('~',16,'~');
client_text_io.put_line(fil2,dat);
dat := utility.put_field(1,c_pay.programme,dat,'~');
client_text_io.put_line(fil2,dat);
bvspro := c_pay.programme;
dat := utility.put_field(1,c_pay.subsidy,dat,'~');
client_text_io.put_line(fil2,dat);
dat := merge_header3;
client_text_io.put_line(fil2,dat);
bvspro := c_pay.programme;
ssch := c_pay.subsidy;
bvspro_total := 0;
ssch_total := 0;
cnt :=0;
end if;
if ssch <> c_pay.subsidy then
dat := lpad('~',16,'~');
dat := utility.put_field(5,ssch_total,dat,'~');
dat := lpad('~',16,'~');
client_text_io.put_line(fil2,dat);
dat := utility.put_field(1,c_pay.subsidy,dat,'~');
client_text_io.put_line(fil2,dat);
dat := merge_header3;
client_text_io.put_line(fil2,dat);
ssch := c_pay.subsidy;
ssch_total := 0;
cnt :=0;
end if;
bvspro_total := bvspro_total + c_pay.amount;
ssch_total := ssch_total + c_pay.amount;
grand_total := grand_total + c_pay.amount;
cnt := cnt +1;
--message('bfore write file 2 ' );
client_text_io.put_line(fil2
,cnt
||'~'|| c_pay.beneficiary_name
||'~'||c_pay.BENEFICIARY_ACCOUNT_NUMBER ||''
||'~'||c_pay.BRANCH_CODE ||''
||'~'|| c_pay.BENEFICIARY_STATEMENT_DESC
||'~'|| c_pay.AMOUNT
||'~'|| c_pay.address_line1
||'~'|| c_pay.address_line2
||'~'|| c_pay.postal_code
||'~'|| TO_CHAR(c_pay.deposit_date,'DD-Mon-YYYY')
||'~'|| c_pay.month
||'~'|| c_pay.bank
||'~'|| c_pay.bank_branch
||'~'|| c_pay.account_type
||'~'|| c_pay.subsidy
||'~'|| c_pay.programme)
DATA := c_pay.FROM_ACCOUNT_NUMBER
||'~'||c_pay.FROM_ACCOUNT_DESCR
||'~'||c_pay.MY_STATEMENT_DESCR
||'~'||c_pay.BENEFICIARY_ACCOUNT_NUMBER
||'~'
||'~'||c_pay.BRANCH_CODE
||'~'||c_pay.BENEFICIARY_NAME
||'~'||c_pay.BENEFICIARY_STATEMENT_DESC
||'~'||c_pay.AMOUNT;
DATA := REPLACE(DATA, ',' , ' ' );
DATA := REPLACE(DATA, '~' , ',' );
--message (cnt ||' ' || data);
--message('bfore write file 1 ' );
client_text_io.put_line(fil1, data);
end loop;
--message ('end of write');
dat := lpad('~',16,'~');
dat := utility.put_field(6,ssch_total,dat,'~');
dat := lpad('~',16,'~');
dat := utility.put_field(1,'Total:' || bvspro,dat,'~');
dat := utility.put_field(5,bvspro_total,dat,'~');
client_text_io.put_line(fil2,dat);
dat := lpad('~',16,'~');
client_text_io.put_line(fil2,dat);
dat := utility.put_field(1,'Grand Total:' ,dat,'~');
dat := utility.put_field(5,grand_total,dat,'~');
client_text_io.put_line(fil2,dat);
-- close file
for i in 1..50 loop
if substr(i,-1) = 0 then
message ('flush ' || i);
end if;
client_text_io.put_line(fil1, lpad(' ',2000));
client_text_io.put_line(fil2, lpad(' ',2000));
client_text_io.put_line(fil1, lpad(' ',2000));
client_text_io.put_line(fil2, lpad(' ',2000));
end loop;
client_text_io.fclose(fil1);
client_text_io.fclose(fil2);
end loop;
set_application_property(cursor_style,'default');
exception
when others then
message(sqlcode ||' ' ||sqlerrm);
end download_file; i try this but this code onlydownload image not data from database tables
public void downloadImage(FacesContext facesContext, OutputStream outputStream)
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
// get an ADF attributevalue from the ADF page definitions
AttributeBinding attr = (AttributeBinding) bindings.getControlBinding("DocumentImage");
if (attr == null)
return;
// the value is a BlobDomain data type
BlobDomain blob = (BlobDomain) attr.getInputValue();
try
{ // copy the data from the BlobDomain to the output stream
IOUtils.copy(blob.getInputStream(), outputStream);
// cloase the blob to release the recources
blob.closeInputStream();
// flush the output stream
outputStream.flush();
catch (IOException e)
// handle errors
e.printStackTrace();
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), "");
FacesContext.getCurrentInstance().addMessage(null, msg);
}You should ask your forum in the ADF-forum.
-
Taking the data from interactive forms and load the data into SAP system?
hi all,
I want to know how to take the data from interactive forms and load the data into sap system?
if u have any sample scenario, explain with that.
thanks in advance
RajaHello,
Check the program...
SAPBC480_DEMO.
Check the below threads
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
Thanks
Seshu -
How to open a page from a Form and pass parameters to the form on that page
I found a similar example on this forum, but it did not work for me:
declare
l_names owa.vc_arr;
l_values owa.vc_arr;
i number;
begin
PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
FOR i in 1..l_names.count
LOOP
htp.p(l_names(i) || ' ' || l_values(i));
END LOOP;
end;
By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
Another method I tried:
To open a Form from a Form and pass parameters works fine like this:
--In the After processing page PL/SQL event.
declare
v_id number;
blk varchar2(10):='DEFAULT';
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
if v_id > 0 then
htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
htp.formSubmit(NULL,'Upload Files');
htp.formClose;
end if;
End;
But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
Best regards
HalvorHi,
You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
You can call this code in the success procedure of the calling form.
declare
v_id number;
blk varchar2(10):='DEFAULT';
v_url varchar2(2000);
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
v_url := <page_url>;
if v_id > 0 then
call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
end if;
End;
In the called form in "Before displaying form" plsql section write this code.
for i in 1..p_arg_names.count loop
if p_arg_names(i) = 'id' then
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_ID',
p_value => p_arg_values(i)
end if;
end loop;
This code picks up the value from p_arg_values and assigns it to the form field.
Hope that helps.
Thanks,
Sharmila -
How to get the value from a JavaScript and send the same to Java file?
Hi.
How to get the value from a JavaScript (this JS is called when an action invoked) and send the value from the JS to a Java file?
Thanks and regards,
Leslie VYes, I am trying with web application.
In the below code, a variable 'message' carries the needed info. I would like to send this 'message' variable with the 'request'.
How to send this 'message' with and to the 'request'?
Thanks for the help :-)
The actual JS code is:
function productdeselection()
var i=0;
var j=0;
var deselectedproduct = new Array(5);
var message = "Are you sure to delete Product ";
mvi=document.forms[0].MVI;
mei=document.forms[0].MEI;
lpi=document.forms[0].LPI;
if(null != mvi)
++i;
if(null != mei )
++i;
if(null != lpi)
++i;
if(null != mvi && mvi.checked)
deselectedproduct[++j]="MVI?";
if(null != mei && mei.checked)
deselectedproduct[++j]="GAP?";
if(null != lpi && lpi.checked)
deselectedproduct[++j]="LPI?";
if( 0!=j)
if(i!=j)
for (x=0; x<deselectedproduct.length; x++)
if(null != deselectedproduct[x])
message =message+ "-" +deselectedproduct[x];
alert(message);
else
//alert(" You cannot remove all products!");
return false;
return true;
} -
Extracting object from a picture and erase the background
Whats the best tool or way to extract an object, or person from a picture and earse the backgroung. Then puting it into illustrator? How do i save it to where theirs no background and only the picture that i selected?
There is no "best tool". It depends entirely on the image and the talent of the person using the tool (or more likely technique).
But you may wish to spend some time studying the Pen tool.
Also, knowing your version of Photoshop would also help those who wish to help you.
You topic title would also make a great Google search. :) -
Hi,
I have : - IMAQ1394 2.0.1
- NI Vision 7.1
In VB, I can Snap/Grab Image from 1394 camera and display the Image in CWIMAQVIEWER :
Dim Image0 As New CWIMAQImage
imaq1394SnapCW(sid0,Image0)
CWIMAQViewer1.Attach Image0
Now,How can I do this in VC++6.0?
I tried:
C_CWIMAQImage m_imgViewer1;
m_imgViewer1 = m_CWIMAQVision1.CreateCWIMAQImage();
m_CWIMAQViewer1.Attach(m_imgViewer1);
imaq1394SnapCW(Sid,m_imgViewer1); <--there is no "imaq1394SnapCW "function in VC++,why?
Please help me!
Thank you!For people looking back at these old posts regarding
CWIMAQViewer - it was not made to be used in the C environments and is made
for VB.
Refer to the following locations for displaying images in C
environments:
Start»All Programs»National Instruments»Vision»Documentation
Start»All
Programs»National Instruments»Vision»Text Based Examples
Make
sure that you look at the examples and documentation that is in
reference to the C environments not the VB environments
Vince M
Applications Engineer -
How can i extract text from Power point files,wod files,pdf files
hi friends,
i need to extract text from the power point files,word files,pdf files for my application.Is it possible to extract the text from the those files .If yes plz give solution to this problem.i would be thankful if u givve solution to this problem.My reply would be the same.
http://forum.java.sun.com/thread.jspa?threadID=676559&tstart=0 -
i have 4 ipods on itunes but my computer was running slow so i put windows 7 on it but it wants me to sync my ipod but if i do i will lose all my music on my ipod how do i take my music and send it to my playlist so i can sync myipod so i won't lose any music
Sync is only oneway, from PC to your device. Unless you have the music on your PC, iTunes is going to wipe out what you have on your device if you are syncing to a new library.
You can only transfer Purchased music over to Itunes on your PC.
iTunes Store: Transferring purchases from your iOS device or iPod to a computer
http://support.apple.com/kb/HT1848
As for you own music, you may have to use a third party software. A good Free one is called Sharepod which you can download from Download.com here:
http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 -
How do i delete messages from i phone 4 but make sure the line/number/details clears from my list on messages so i don't have a long list in there??
To delete a conversation, you can either swipe left to right, and delete the conversations, or use the edit button. If you have a conversation selected, edit will allow you to delete specific messages.
-
HT4915 How do you delete music from your phone and not the cloud?
How do you delete musci from your phone (not the cloud or your computer)
Swipe to delete is one way... or in your setings you can delete ALL your music.
-
HT1296 How can I take photos from my computer and send it to my ipad
How can I transfer my photos from my computer which is in my photo library on my Dell to my new IPAD? I have an app called Sky Drive but no help I have iCloud also. Can someone please help me or do I have to sit and send one photo at a time from my computer to my new 3rd generation IPAD. Please Help. Thank You Michelle Elia Mistye1945
Another way. You can use a USB flash drive & the camera connection kit.
Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
Secrets of the iPad Camera Connection Kit
http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
Cheers, Tom
Maybe you are looking for
-
Can I find an iphoto events in time machine
Using a macbook pro with Lion 10.7 how can I find an iphoto event in time machine hard drive back up. When I look in picture folder for a back up date I see some individual pictures and an icon for iphoto library. I thought clicking on that would s
-
I just downloaded a TV episode from the iTunes Store, but so far am having trouble playing the full episode. (It only plays the :20 "preview")...what am I doing wrong???
-
hi all, im built a query, which is running in 3 seconds in sql plus. But when i used the same query in jdeveloper ittakes 5 minutes to execute. Im using string buffer. What may be the problem.
-
Can I get help uploading video to Facebook???
I'm trying to upload a finished project to Facebook, but get the message "Online services encountered a problem." What would that problem be, and how do I solve it? Are there other ways to upload to Facebook/YouTube? Use avi, mpeg or FOV?
-
Making a procedure to work against 8i, 9i and 10g databases
Hello all, I made a procedure that gathers info from user. At some point I execute this part of code: CURSOR tabPrivs IS SELECT owner, table_name, privilege, grantable, hierarchy FROM dba_tab_privs WHERE grantee = uName; At first my procedure was onl