How do I use a generic button to submit xml instead of pdf?

Hello All.
I am using the following javascript that I found to email a form:
var subject = form1.SF1.TxtFld1.rawValue.concat(_form1.SF1.TxtFld2.rawValue);
var myDoc = event.target;
try {
    myDoc.mailDoc({
        bUI: false,
        cTo: '[email protected]',
        cSubject: subject,
        cSubmitAs: "XML"
} catch (e) {
    // exception handling...
I would like to modify the above to email the xml instead of the pdf.  Can anybody help? 
The reason I'm not using the submit button is because I can't figure out how to customize the subject line as I have in the above script. 
If there's a better way of doing what I need, please let me know - I'm open to suggestions.
Thanks,
J

Add a regular button to the form.
Add/Modify the following script on the click event of the button:
event.target.submitForm({cURL:"mailto:"+"[email protected]"+"?&body="This is a test email "&subject="+ subject +", cSubmitAs:"PDF",cCharset:"utf-8"});
You will need an Adobe LiveCycle Reader Extensions Server to make this possible for users who only have Reader and not full Acrobat.
Please see the following thread for more information: http://forums.adobe.com/thread/286054

Similar Messages

  • How can i use a xsd while generating my xml document in oracle?

    Hi, how can i use a xsd while building my xml document query, so i know the xml was built properly?
    Cheers.

    Hi,
    Do you want to validate your xml against xsd?
    Read this
    validating
    There are some bugs also, for example  xml is invalid but no errors when calling schemaValidate()
    Ants

  • How do I use a push button digital trigger with my 6034E DAQ board?

    I am only a Lab View toddler.
    I am currently using a push button, wired to PFIO/TRIG1 and DGND, with a anolog trigger. However noise is causing my program to be triggered. I was told that a digital trigger would help to reduce the random triggering. How do I create a push button digital trigger?
    Thanks

    implement a schmitt trigger.
    Struggling with Labview wrote in message
    <[email protected]>...
    >I am only a Lab View toddler.
    >I am currently using a push button, wired to PFIO/TRIG1 and DGND, with
    >a anolog trigger. However noise is causing my program to be triggered.
    >I was told that a digital trigger would help to reduce the random
    >triggering. How do I create a push button digital trigger?
    >Thanks

  • How do I use directional PDA buttons in LabVIEW programs?

    Hi all,
    I've been assigned to get a LabVIEW program to work on a Palm PDA with LabVIEW 7.0 and palm PDA module 7.0.  I am basically totally new to LabVIEW, and my possibly very simple problem is, the PC program requires input from a serially connected number pad for the 8, 4, 5, 6, and 2 keys which are used as four directions (8, 4, 6, and 2) and an enter (5). 
    I am trying to rewrite the input vi to use the directional buttons and middle enter button on the PDA itself but am having trouble figuring out what to use.  I am using a PDA simulator because of the PALM OS5 we own.  The input demo vi example provided will not build for PDA because of size so I am unsure of how to approach this.  Another thing is, we have LabVIEW and PDA module for pocket PC 8.0, and a Dell Axim PDA on order.  From what I understand off of this website, the latest PDA module has example button vi's.  I would still like to figure out the way to do this on 7.0 so I can have a better understanding of LabVIEW.  Eventually the program's endgoal is to be used on a PDA and inputting with a bluetooth keyboard, but we are going step by step right now.
    I guess my biggest questions are, how do I assign the directional buttons on the PDA in my program, and will this differ greatly when we switch to 8.0 and pocketPC.
    Oh and I did try to look at the example asteroid.vi but from looking at the input subvi, still couldn't figure out how they assigned the buttons.
    Thanks,
    Stephen

    I can't help with any specifics (no access to the PDA module at the moment and I didn't use the buttons anyway), but I would like to say that it probably would make a big difference if you used LV 8. 7.0 was the first version of the PDA module and was extemely limited and problematic (it didn't even have a tab control). 7.1 was somewhat better and I understand that 8 is even better (although still very limited and buggy).
    I also remember reading about several differences between Palm and PocketPC and I think you will generally be better off with the PocketPC as it's related to windows and will probably support more stuff.
    Try to take over the world!

  • How can I use the media Buttons on my M40X with WinAmp?

    Hello
    Today I got my M40X and i have a question.
    There are 5 media Button left of the keybord (CD/DVD, Play/pause, Stop, <-/->)
    Is it possible to use them with WinAmp?
    In the Toshiba Assist i got the CD/DVD button used to start WinAmp (by use him to start a .exe) but the Play/pause...dont work. In the field media Apps the only Player i can choose is Win MP10 (I hate this piece of sh*t).
    How can I use these Button with WinAmp?

    Hello
    As far as I know the Toshiba Controls were tested and designed only for Microsoft Media Player and WinDVD. How this topic says:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=3621&messageID=11461#11461
    I dont have any experience with WinAmp but I found useful info in this forum about this theme:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=6673&messageID=24448#24448
    Check this.
    Bye

  • How can I use the find button in Edit ADF Table in JDeveloper 10.1.3

    Hi all,
    in JDeveloper 10.1.3
    How can I make the find button work in
    the same Edit ADF Table without adding new view ?
    thanks

    Hi there,
    it depends on what you mean by adding a new view object. You[b] don't have to create a new viewobject. You do have to add a second instance of your existing view object to your page.
    Form scratch works more or less like this. Drop your view object as ADF table on the form. Add the find and execute operations. Drop the same view object on your form but now as ADF search form. Place the fields form the search form in the corresponding columns next to the existing fields. For each #{row} field ,and the find button, set the rendered property
    #{bindings.testUserIterator.findMode ==false}. For each inputfield, and the execute, set the rendered property #{bindings.testUserIterator.findMode ==true}.
    Now it will work.
    I hope this is what you are looking for.
    Good luck
    Luc Bors

  • How do I use the money on my iTunes account instead of the credit card on family share

    I have money on my iTunes account from a gift card, but how do I use that money instead of the credit card on the family share account. Every time I try to make a purchase asked for the security code for the credit card instead of just using the money on my account.

    Buy stuff.
    If you are asking about getting the cash value out, it is not possible.  The credit balance can only be used for purchases in the iTunes Store.

  • How can I use the FTP server on Oracle XML DB for plain text files?

    Hi,
    I need to generate comma separated files for download via FTP. The files are generated from Oracle Table data and should be published on a FTP Server. Would it be able to use the FTP Server on Oracle XML DB?
    If not, any suggestions?
    Thanks
    Frederik Christensen

    You can create a temporary CLOB with your CSV content, and then folder the CLOB into the XDB repository with DBMS_XDB.createRESOURCE()...
    This would work fine....

  • Submit Button to submit xml data of form to a server folder

    I have Livecycle ES2 vs 9 on Windows 7.
    I have created a form that our users will fill out in adobe reader. I would like them to be able to hit the submit button and it send the xml data to a specified folder on our server.
    I created a submit button from from the generic "button", chose to use as a "submit" control type, then entered the servers url as http://<my server name>:<Open Port>/<Folder name on the server>/
    I chose to submit as XML data
    When I test the button, a box willl pop up saying "Preparing for submit..." then immediatley changes to "Receiving Data".
    The problem is that the box freezes on "receiving Data" but I do not need to receive data, I just need to dump the xml data to the folder on my server.
    I have used a variety of urls with and without the port#, or without the http: but with backslashes but get the error "An error occurred during the submit process. There was a problem connecting to the server."  I feel the latest URL with the port# is at least closer by trying to communicate with the server.
    Not sure what I am missing but I have seen in other forums where some have used PHP code or a servlet but I have no experience with either and the forums did not cover the scripting and where it needs to be placed.
    Can someone help me?
    Thanks

    As far as I know you canit simply write a file to the server using HTTP protocol. If your server was set up as an FTP server you coudl use the FTP protocol (but Acrobat does not support that). You can post the file to a server program (as you mentioned a servlet or JSP or whatever your server supports) and it can in turn write it to your server location.
    Hope that helps
    Paul

  • Using a mac OSX and a logitech M-UAG120 mouse, how do I use the wheel button to open a link in a new tab (but not switch to it)? Can't type a key in box.

    In the logitech control center I've clicked on my mouse (tilt wheel mouse), clicked on 'wheel button', and in the dropdown menu selected keystroke. Under 'configure keystroke', there's a "type a key..." box, and to the right, there's a "choose any modifier" selection.
    On this web page, http://www.accessfirefox.org/Firefox_Keyboard_and_Mouse_Shortcuts.html, the instruction for 'open link in new tab' is Cmd+Return Cmd+Click
    On this page, https://support.mozilla.org/en-US/kb/mouse-shortcuts-perform-common-tasks, the instruction for 'open link in new tab' is command+Left-click link Middle-click link
    I cannot figure out how to type these in correctly to make the function work.
    Help please?
    Thank you all.

    I do not know what the standard setting is. In my Mac system preferences, when I access the Logitech Control Center, I click on "wheel button" (button 3), and get a drop down menu with the following choices:
    Nothing<br />
    Click<br />
    Advanced Click<br />
    Cruise<br />
    Horizontal Scroll<br />
    Keystroke<br />
    Modifiers<br />
    Open Application<br />
    Open Document<br />
    Open Folder<br />
    Open Web Page<br />
    Back<br />
    Forward<br />
    Cover Flow<br />
    Display Control<br />
    Eject CD<br />
    End Session<br />
    Expose' Dashboard & Spaces<br />
    One-Touch Search<br />
    Quick Look<br />
    Screen Capture<br />
    Sound Control<br />
    Switch Application<br />
    Zoom
    I'm lost here. The mouse used to do it, then I needed to unplug it, and when I set it up again, the wheel button is inert when used on a link.

  • How can I use a generic indifferently in one of the generic's member functions?

    I'm curious about the following situation:
    I'd like to access another generic's private member in a constructor. How can I do that irrespective of the generic's actual type?
    Here's a sample of what I'm trying to accomplish:
    public class C<T>
    private int _hdc;
    // private T _someMember;
    public C()
    this._hdc = CreateHdc();
    public C(C src) // what would be the correct signature here to be able to run the assignment in ::f() below?
    this._hdc = src.hdc;
    function f()
    C<int> a = new C();
    C<string> b = new C(a); // how can I get this to work?
    Do I need to create a non-generic base class to be able to use a differently typed object in the construtor? Or is there some C# construct that will allow me to define an untyped generic parameter and only use the untyped members from that parameter?
    Still people out there alive using the keyboard?
    Working with SQL Server/Office/Windows and their poor keyboard support they seem extinct...

    >>I'd like to access another generic's private member in a constructor.
    You cannot access a class' private member from any other class directly. You could expose a private field through a property or define a public method (or constructor) that sets the private field though.
    >>How can I do that irrespective of the generic's actual type?
    You cannot assign a string field to an int value or the other way around without converting the value to a string/int first.
    A C<int> object always has an int field - the generic class is not really a type of its own but rather a "blue-print" or a template for a type - and you cannot assign this one to a string value.
    Since the C<string> class Always has a string field you need to convert the int value of the C<int> object to a string before you can ever assign the string field to this value:
    C<int> a = new C();
    C<string> b = new C(a.ToString());
    C<int> and C<string> are two completely different types. They are not related to each other and as mentioned you cannot assing a string field to an int value.
    >>Or is there some C# construct that will allow me to define an untyped generic parameter and only use the untyped members from that parameter?
    There is no such thing as "an unyped generic parameter" in C#. T always refers to a type and you must specify the type when you create an instance of the generic type.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • How do I use the back button to go back more than 1 step?

    In previous versions of Firefox and common in other browsers is a small pull-down option on the back button that will allow the user to go back more than 1 step in browsing history.
    Typically, the pulldown will show a chronological list of recent sites visited and the user could select one. Firefox 4 seems to have dropped that feature and you can only click it to go back 1 step at a time. I really miss that feature.
    Is there a way to enable or add on the ability to go back more than one without having to go to history?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • I am trying to include some widgets into my website through iweb.How to keep only the widget button on the homepage instead of the whole open widget?

    I found the HTML code for including the Facebook widget buttons on my webiste...now I also wanted to include some other widget so I looked at www.widgetbox.com....I can download the html code and once I put that on my webpage then I have the widget open. How can I only have the widget button instead? For example I wanted to have the weather widget, but only the button weather widget, as if it was on the iphone, so that user can click on it just if they want, but I couldn't manage to do it. Does anyone knows?

    Add an HTML snippet and put the code in it:
    Click to view full size
    OT

  • HT201195 The game i am trying to buy content for keeps trying to use my credit card balance instead of my iTunes credit amount, how can I use the money on my iTunes account instead of trying to debit my credit card?

    I am trying to buy content on my iPad but it keeps trying to debit a maxed out credit card instead of the balance I have on my iTunes account, how can I switch the option to debit the iTunes account instead?

    That is what I don't understand. I will maybe take a trip out to apple store to see what they say.  Funny thing is it let me buy the iOS app with no problems. When I went to the Mac App Store it wanted credit card info. I have working with Macs for many years and I have never had this happen. I will let you what I find out

  • How do I use Contains clause to find an XML value within a CLOB

    Hello:
    ( I have also posted this question on the PL/SQL forum )...
    I have a table with a CLOB column ( adt_xml_desc). Within it there is a value of "<EVENT><PINREQUEST TYPE='1'> .........
    I am trying to query the row with the following sql :
    select * from audit_v3 v where v.adt_id = 7418442 and
    CONTAINS(v.adt_xml_desc, '(1 WITHIN PINREQUEST@TYPE)') > 0;
    I am not getting any values back although the row is there. Any suggestion would be greatly appreciated.
    Thank you.

    Hi
    I am not sure if my problem is similar to this one but ...
    I am trying to extract all the cities listed in this column of xmltype.
    Example -
    <whrcond id = 1>
         <one>
              <value src="cities" type="cities"
              Chicago
              </value>
         </one>
    </whrcond>
    <whrcond id = 2>
         <one>
              <value src="cities" type="cities"
              NYC
              </value>
         </one>
    </whrcond>
    Anyone?

Maybe you are looking for

  • Import po, miro, migo, j1id

    1.how i can create custom vendor my xk01 or other code,is ther any tab for  for assign vendor number in PO condition type. 2.first i have done miro for custom duty ie basic custom duty(CVD),2% cvd, 1% cvd, 4 percent additional import duty, how i will

  • Running Payment Program before Due Date

    Hi Gurus, I have a problem. I want to run the payment program -Tcode F110- before the due date and I need the document posting date to be the same as the due date. How could I sort it out? Please help, Samuel

  • Multiple Hyperlinks in Tagged Text file

    Hi, I'm currently exporting a contact directory database from sql into tagged text so I can import it into InDesign and format it up automatically and unltimately export as pdf. So far I have got all the formatting working exactly as I want it to by

  • Problem with opening MS Excel files through Portal

    Hi All, I have a user that is complaining about the behaviour of MS Excel files in the Portal. The MS Excel files do not match their behaviour at the windows level. The issue has to do with how MS Excel files never seem to open in a maximized sate wh

  • Line item texts restriction for GL accounts

    Hi Gurus, I had lots of the Line item texts defined at the client level which can be choosen at the time of document postings.Can we restrict the line item texts with respect to GL accounts number to which we are postings.i.e.If I choose a particular