Setting subject in submitForm function

Hi,
LiveCycle's purpose-built submit buttons don't allow programming so I've made my own data submission button.
Here's the code on the button's click event:
var email = ************;
event.target.submitForm({
    cURL: email,
    cSubmitAs:"XML",
    cCharSet:"utf-8"
So it functions as I want it to except that it uses a default subject of the xml file name.  It's going to an email address, not a server, so for the purpose of possible debugging, I'd like to be able to have a dynamic subject field.  Using the event.target.mailForm function, you can use the parameter cSubject.
Any ideas?
Thanks!

Hi,
Have a look at the example here, which shows three approaches. The standard Submit by Email button, a Regular button with a submit type and a Regular button with a custom script.
http://assure.ly/dYQFb4.
Hope that helps,
Niall
Testing link...
Message was edited by: Niall O\'Donovan

Similar Messages

  • Mdx error : Query (11, 9) Two sets specified in the function have different dimensionality.

    Hi all
    i am getting the fallowing error for the below mdx , what may be the issue?
    Query (11, 9) Two sets specified in the function have different dimensionality.
    WITH SET LastSample AS TAIL(NONEMPTY([Date].[Hierarchy].members *[Time].[Hierarchy].members,[Measures].[Overall LU SR]))
    MEMBER [KPI Name] AS "Overall LU SR"
    MEMBER [KPI Value] As KPIValue("Overall LU SR")
    MEMBER [KPI Status] AS KPIStatus("Overall LU SR")
    MEMBER ObjectName as "Overall LU SR"
    MEMBER [Critical Threshold] as  [KPI Thresholds].[Threshold1].&[Overall LU SR].member_value
    MEMBER [Major Threshold] AS  [KPI Thresholds].[Threshold2].&[Overall LU SR].member_value
    MEMBER [Minor Threshold] AS 0
    MEMBER latestDate as [Date].[Hierarchy].membervalue, format_string = 'mm/dd/YYYY'
    MEMBER latestTime as [Time].[Hierarchy].member_caption
    SELECT  {latestDate,latestTime,ObjectName, [KPI Name], [KPI Value],[KPI Status],[Measures].[Critical Threshold],[Measures].[Major Threshold],[Measures].[Minor Threshold]} ON COLUMNS
    ,nonempty(LastSample) ON ROWS
    FROM [DRA]
    Surendra Thota

    hi all
    i got the solution . i have add measures dimension to the name  ie ,[Measures].[KPI Name],
    WITH SET LastSample AS TAIL(NONEMPTY([Date].[Hierarchy].members *[Time].[Hierarchy].members,[Measures].[Overall LU SR]))
    MEMBER [KPI Name] AS "Overall LU"
    MEMBER [KPI Value] As KPIValue("Overall LU SR")
    MEMBER [KPI Status] AS KPIStatus("Overall LU SR")
    MEMBER ObjectName as "Overall LU SR"
    MEMBER [Critical Threshold] as  [KPI Thresholds].[Threshold1].&[Overall LU SR].member_value
    MEMBER [Major Threshold] AS  [KPI Thresholds].[Threshold2].&[Overall LU SR].member_value
    MEMBER [Minor Threshold] AS 0
    MEMBER latestDate as [Date].[Hierarchy].membervalue, format_string = 'mm/dd/YYYY'
    MEMBER latestTime as [Time].[Hierarchy].member_caption
    SELECT  {latestDate,latestTime,ObjectName,[Measures].[KPI Name], [KPI Value],[KPI Status],[Measures].[Critical Threshold],[Measures].[Major Threshold],[Measures].[Minor Threshold]} ON COLUMNS
    ,nonempty(LastSample) ON ROWS
    FROM [DRA]
    Surendra Thota

  • Using SET DATEFIRST inside a function to call into a view

    Hi,
    I need to use the statement SET DATEFIRST inside a function. This operation is not available, but I need to use this command into a function to call inside a view.
    How can I solve this issue?
    Thanks

    Eventually you will learn 2 very important things.  First, the term "working day" has no absolute definition and varies by country, organization, culture, etc.  Second is that circumstances will occur that change what should be considered a working
    day to a non-working day (or vice versa).  While you might attempt to create logic that "forecasts" whether a given date in the future is a working day, you cannot apply that logic to past dates.  The best solution is to create a calendar table for
    this purpose - some forum/internet searching will find many different variations.

  • Set-up Maintenance Optimizer function not found

    Hi Experts,
    I have Solution Manager 7.0 system and I want to config Maintenance Optimizer. The document said go to the:
    SPRO -> SAP Reference IMG -> SAP Solution Manager -> Configuration -> Basic Settings -> Standard Configuration of Basic Settings -> Solution Manager -> Set-Up Maintenance Optimizer
    But in my system, I cannot see "Set-Up Maintenance Optimizer" function when flowing
    SPRO -> SAP Reference IMG -> SAP Solution Manager -> Configuration -> Basic Settings -> Standard Configuration of Basic Settings -> Solution Manager
    what should I do?
    Thank you so much,

    >
    LuongDK wrote:
    > I have Solution Manager 7.0 system and I want to config Maintenance Optimizer. The document said go to the:
    > SPRO -> SAP Reference IMG -> SAP Solution Manager -> Configuration -> Basic Settings -> Standard Configuration of Basic Settings -> Solution Manager -> Set-Up Maintenance Optimizer
    >
    > But in my system, I cannot see "Set-Up Maintenance Optimizer" function when flowing
    > SPRO -> SAP Reference IMG -> SAP Solution Manager -> Configuration -> Basic Settings -> Standard Configuration of Basic Settings -> Solution Manager
    Hi Luong,
    The configuration of the Maintenance Optimizer has been integrated in the standard configuration of Basic Settings (Transaction SOLMAN_SETUP). Therefore the path in SPRO has been changed.
    Best regards,
    Ruediger

  • There was a failure to validate setting INSTANCENAME in validaton function ValidateUsers

    Hello,
    I'm trying to install SQL Server 2012 and I'm having trouble entering in the INSTANCENAME.
    I have read on some forums that the default value for this is MSSQLSERVER.  Regardless of what values I put in, I get the following error message.
    TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    There was a failure to validate setting INSTANCENAME in validaton function ValidateInstanceName.
    Error code 0x85640004.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&EvtType=0x2990711A%25400x38AD03A5
    BUTTONS:
    OK
    Any help would greatly be appreciated!

    You have to choose:
        o DEFAULT INSTANCE
        o NAMED INSTANCE
    You need to enter name for named instance only.
    Default instance is the same name as the host computer.
    Examples: MYCOMPUTER, MYCOMPUTER\SQL12
    In services they show up as SQL Server (MSSQLSERVER), SQL Server(SQL12) .
    Kalman Toth Database & OLAP Architect
    sqlusa.com
    New Book / Kindle: Pass SQL Exam 70-461 & Job Interview: Programming SQL Server 2012

  • When recording a video, only the microphone pointing away at the subject appears to function. Can both microphones be on for both of us?

    When recording a video, only the microphone pointing away at the subject appears to function. Can both microphones be on for both of us?

    I'm in telecom sector working for all providers in suriname. I just came from the company that supports 3g on 850mhz.
    They did a trace om the imei/imsi.
    The ipad 2 connect to 3g networks(seen at switch level) and the ipad3 never tries to connect to 3g it goes directly to edge. It not that it fails or smth similair it just doesnt connect 3g network.
    I think the att 3g is locked because as above the att 3g sim with international data works on the same network on 3g.
    I'm going to buy a verizon version as both have same umts:hspa frequencies on lte differ and here we don't have lte.
    I have seen the verizon version working on hspa+(4g) att network.
    I know for a fact that the 3g freq is not lock. I'll keep everybody posted.
    I'm going to test the just installed(we installed hauwei equipmenth 3g network different carrier. This carrier is on 2100
    From research i know att uses 850/1900 mhz for umts/hpsa in the usa

  • I do not want the learner to be able to click through the project until they hear the audio recorded on each slide, however I also would like them to have click to advance to the next slide.  Is there a way to set up these 2 functions together?

    I do not want the learner to be able to click through the project until they hear the audio recorded on each slide, however I also would like them to have click to advance to the next slide.  Is there a way to set up these 2 functions together?

    I don't like that approach for adult learners, cannot refrain from mentioning that.
    Don't use a playbar but create custom navigation. You'll need a next button on each slide that appears after the audio (in timeline). Since slides will not all have the same duration you'll need an individual button per slide, a shape button on master slide or timed for the rest of the project will not be possible.

  • Not able to access the result set from one member function to another

    Im new to jdbc
    I have declared a connection object , a result set object and statement object in one member function and i am not able to access these in another member function. But both are in the same class
    Kindly help
    Thanks
    Shasi

    Kindly refrain from double-posting:
    http://forum.java.sun.com/thread.jspa?threadID=700659&tstart=0
    - Saish

  • I have remote access from my IMAC to my windows PC at work. How do I set up the keyboard functions to work on the work PC when I work from home?

    I have remote access using my IMAC. The computer at work is a Windows PC, how do I set up the IMAC's keyboard to function as the same one at work?

    Port 3389 should be open on your work network. Check with your admin. They know what ports are open on your work firewall.

  • Kanban issue - Setting for new Kanban functionality in ECC 6.0

    Hi, I am facing a problem while recieving stock from a production order. The system does not create a transfer requirement or a TO.
    Let me give you a brief background.
    This is a new functionality introduced in ECC 6.0 for working with kanban in WM.
    Supply area is created for WM location.
    Control cycle is created for material, supply area. Warehouse, storage type and Bin is maintained in control cycle record. When the GR is done for production order material is recieved in this bin.
    1) Now when the Kanban is set empty a production order is automatically created.
    2) Once the production order is confirmed the material automatically shows up in the bin.
    A material document is created which shows IM movement type 101 and WM movement type 103. Also in material document Immediate auto TO checkmark is blank.
    3) PROBLEM - System does not create a TR or a TO. the material automatically shows up in the Bin. How can we enable an auto TR and TO creation.
    Following are the settings which I have already checked:
    1) In IMG, WM movement type 103 has auto TO indicator set.
    2) IM-WM interface for 102 movement type and 103 movement type is maintained.
    The main problem is: Although the material document displays WM movement type 103 and the stock lies in WM bin, System never created a Transfer requirement or a Transfer order.
    I would really appreciate if anyone can help me in this.
    Thanks

    Hello,
    I am not sure about your settings, please refer below sap link
    [Kanban Replenishment |http://help.sap.com/saphelp_47x200/helpdata/en/95/e81fa4f57011d194aa0000e83dcfd4/content.htm]
    Regards
    Pradeep Kumar

  • Incorrect result set with using isnull() function  in IQ 16

    Hi team,
    We have IQ 16 on HP UX.
    When we use isnull() function in where clause we get incorrect result set if we do not use column name in the result set.
    In first select we get result with one row but in second one we get an empty result set.
    select ID, dat_start, dat_end, dat_stop
    from table_test
    where ID=1105935925
    and isnull(dat_stop,dat_start) <> dat_end
    select ID
    from table_test
    where ID=1105935925
    and isnull(dat_stop,dat_start) <> dat_end
    It depends on number of row or volume of data in table, It is possible to use option Revert_To_V15_Optimizer to get the correct result.
    Do you have any different idea how to solve it?
    Thanks Milos.

    We have tested two versions:
    Sybase IQ/16.0.0.653/131122/P/sp03/ITANIUM/HP-UXi 11.31/64bit/2013-11-22 01:49:18
    SAP IQ/16.0.0.807/140507/P/sp08/ITANIUM/HP-UXi 11.31/64bit/2014-05-07 21:11:45
    Both versions have given same mistake.
    We have not opened any support case for this issue because it is data depended issue. It is not easy to simulate it as an example.
    Do you think we should open a support case for it?
    Miloš

  • How to set Menu and Title functionality for a remote control in a menu?

    I have a main menu (countries) and under each country there is a submenu (regions). When I play my DVD on my Mac it seems to function alright:
    If I go to country C and hit the "menu" button, nothing happens (I see the "action prohibited" line popping up). And nothing should happen of you hit menu in a submenu. Only if you hit Title/Top menu you should be able to go to the main menu.
    However... When I play my DVD on a DVD player (and I tested it on 2 different ones) and I go to a the Country C and hit the "menu" button, I am suddenly transfered to Country A. And if I go from the main menu to Country D and I hit the "menu" button, I go to... Country A. The menu button seems to be linked to the first submenu. Which is very odd!
    So there is definately something going very wrong when using the menu/title buttons during playback when I am in a submenu (not while playing a track).
    Can someone help me? Is there a way to define what happens with the remote control buttons menu or title when you are in a submenu and NOT playing a track? I can not find any controls for that.
    Thanks!

    Does this mean I should select "not set" in the general tab at the dropdown menu's for Title, Menu and Return in the Remote Control section? I can't find any other place where I can select menu or title.
    But if I set these to "not set",the menu and title buttons still work in simulation mode... So I guess I should do something else in order to disable menu and title? Sorry for the amount of questions from my side!

  • 'Image Set' in Contacts print function not working for envelopes

    I'm using 'Image Set' in Apple Contacts to insert a pic into my Christmas address labels, which works fine, but when I try to use the same function to try and print envelopes the 'set image' function will not work, and no image will appear. Ive tried quitting and restarts to no avail - any thoughts?

    I used to use this to print a report:
    ...but it doesn't work on my Windows 7 computers.  So, now I use this:
    ...and I'm happy again.    You may be, too, if you're using Windows 7.  I found this post helpful when I experienced this problem.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • How can we set Entitlment to "Edit " functionality of Portlet.

    Hi All,
    I have requirement, where in default "Edit " functionality is used in a portlet.
    Edit is mapped to JPF.
    This "Edit" is for Administrators only.
    I am wondering : Is there a way for setting Delegator Admin Entitlement for
    this "Edit" functionality in portlet??
    TIA,
    RAM

    Thanks Philip, pls do let me know how can it be applied to "Edit" - Prashnath
    Bhat.
    "Phil Griffin" <BEA> wrote:
    There is no direct support for this. A workaround may be to recreate
    the DA role as a visitor role and apply it to edit.
    -Phil
    "RAM" <[email protected]> wrote in message news:403c20f7$[email protected]..
    Hi All,
    I have requirement, where in default "Edit " functionality is usedin a
    portlet.
    Edit is mapped to JPF.
    This "Edit" is for Administrators only.
    I am wondering : Is there a way for setting Delegator Admin Entitlementfor
    this "Edit" functionality in portlet??
    TIA,
    RAM

  • Problems for the setting weights in the function evaluateScore()

    Hi,
    I am a new user for Oracle interMedia and i have following problem.
    I would like to get the Score by the comparison of two images. I use the function evaluateScore() and set the weight for image signature. I have tried as follows:
    a). "color=1"
    b). "color=1 texture=1"
    c). "color=1.0"
    d). "color=0.7 texture=0.3"
    a) and b) are correct. d) and d) not. In the documentation of Oracle interMedia i have read that the weight can be set between 0.0 and 1.0. The same examples i have read too.
    Why get i always the error message?
    java.sql.SQLException: ORA-29400: Data Cartridge-Fehler
    IMG-00803: Ung�ltiger Attributwert
    ORA-06512: in "ORDSYS.ORDIMAGESIGNATURE", Zeile 5
    ORA-06512: in Zeile 1
    Can you help me?
    thank you very much and greeting from germany
    rabbit

    Hi larry,
    thank you for your suggestion. I have tried to out the numbers in double quotes in java ("color=\"0.6\" texture=\"0.3\" location=\"0.1\""). But i get the same error message.
    java.sql.SQLException: ORA-29400: Data Cartridge-Fehler
    IMG-00803: Ung�ltiger Attributwert
    ORA-06512: in "ORDSYS.ORDIMAGESIGNATURE", Zeile 5
    ORA-06512: in Zeile 1
    I use the following tables:
    CREATE TABLE bildtable_intern(bild_id int PRIMARY KEY not null, bild ORDSYS.ORDImage)
    CREATE TABLE bildtable_intern_signature(bild_id int PRIMARY KEY not null, bild_signature ORDSYS.ORDImageSignature)
    My java programm:
    public class OracleBild_intern {     
    public Connection connect() throws Exception{
    //thin driver is used
    conn.setAutoCommit(false);
    public void bildmessung(Connection con) throws Exception{
    PreparedStatement pstmt = con.prepareStatement("INSERT INTO bildtable_intern VALUES(?, ORDSYS.ORDImage.init())");     
    for (int ef=1; ef<=10; ef++){
    stmt_sig.executeUpdate("INSERT INTO bildtable_intern_signature VALUES(" + ef + ", ORDSYS.ORDImageSignature.init())");
    pstmt.setInt(1, ef);
    pstmt.execute();
    OracleResultSet rs = (OracleResultSet)stmt.executeQuery("SELECT * FROM bildtable_intern WHERE bild_id = " + ef + " FOR UPDATE");
    while(rs.next()) {
    OrdImage imgObj = (OrdImage)rs.getCustomDatum(2, OrdImage.getFactory());
    //I have also tried to use loadDataFromInputStream() and loadDataFromByteArray()
    imgObj.loadDataFromFile(f_location[ef]);
    imgObj.setProperties();      
    OraclePreparedStatement orpstmt = (OraclePreparedStatement)con.prepareStatement("UPDATE bildtable_intern SET bild = ? WHERE bild_id =" + ef);
    orpstmt.setCustomDatum(1,imgObj);
    orpstmt.execute();
    orpstmt.close();
    pstmt.close();               
    getsignature(con);               
    evaluieren(con, 5, 10);          
    public void getsignature(Connection con) throws Exception{
    OracleResultSet rs_img = (OracleResultSet)stmt_img.executeQuery("SELECT * FROM bildtable_intern");
    while (rs_img.next()){
    id = rs_img.getInt(1);
    OrdImage imgObj = (OrdImage)rs_img.getCustomDatum(2, OrdImage.getFactory());
    OracleResultSet rs_sig = (OracleResultSet)stmt_sig.executeQuery("SELECT * FROM bildtable_intern_signature WHERE bild_id = " + id + " FOR UPDATE");
    while (rs_sig.next()){
    OrdImageSignature imgObj_sig = (OrdImageSignature)rs_sig.getCustomDatum(2, OrdImageSignature.getFactory());
    imgObj_sig.generateSignature(imgObj);
    OraclePreparedStatement pstmt = (OraclePreparedStatement)con.prepareStatement("UPDATE bildtable_intern_signature SET bild_signature = ? WHERE bild_id =" + id);
    pstmt.setCustomDatum(1,imgObj_sig);
    pstmt.execute();
    pstmt.close();
    public void evaluieren(Connection con, int musterbild_id, int bildsumme) throws Exception{
    OracleResultSet rs_muster = (OracleResultSet)stmt_muster.executeQuery("SELECT * FROM bildtable_intern_signature where bild_id = " + musterbild_id);
    while (rs_muster.next()){
    OrdImageSignature muster_sig = (OrdImageSignature)rs_muster.getCustomDatum(2, OrdImageSignature.getFactory());      
    OracleResultSet rs_bild = (OracleResultSet)stmt_bild.executeQuery("SELECT * FROM bildtable_intern_signature WHERE bild_id <> " + musterbild_id);
    while (rs_bild.next()){
    OrdImageSignature bild_sig = (OrdImageSignature)rs_bild.getCustomDatum(2, OrdImageSignature.getFactory());      
    score[nr] = OrdImageSignature.evaluateScore(muster_sig, bild_sig, "color=\"0.6\" texture=\"0.3\" location=\"0.1\"");
    // score[nr] = OrdImageSignature.evaluateScore(muster_sig, bild_sig, "color=0.6 texture=0.3 location=0.1");
    // score[nr] = OrdImageSignature.evaluateScore(muster_sig, bild_sig, "color=1 texture=1 location=1");
    // score[nr] = OrdImageSignature.evaluateScore(muster_sig, bild_sig, "color=1");
    nr++;
    public static void main(String[] args) throws Exception{
    //call the methode connect()
    con.commit();
    con.close();     
    I cannot find, where the problem lies. Can you help me?
    thank you very much and greeting aus germany!
    rabbit

Maybe you are looking for

  • Window location for .terminal file

    Hi, I have a custom .terminal file that opens a terminal window to a specific number of columns and rows, and runs a command. Although I can cause plain ol' Terminal to open at the top left of the screen by moving it there, then closing it, my custom

  • SharePoint 2007:Cannot connect to the configuration database.

    The share point 2007 server under Windows Server 2008 R2 runs well formerly, but suddenly the user can't visit the site with error on page: Cannot connect to the configuration database. I also checked windows log with bellow main errors: Log Name:   

  • Customer exit for changing order quantiy and scrap quantiy in MD11?

    Hi gurus, My objective is to update the order quantity and scrap quantiy field as per some logic and overwrite the existing values in MD11 (create planned order). Can you suggest the correct exit for incorporating these changes Thanks

  • How do I import my old buddy list to my new screenname?

    Hello everyone. I use my AIM account with iChat to chat with my buddies. I recently created a new AIM account, and would like to transfer my old buddy list to my new screenname. Does anyone know how to do this? Thanks, Vikram

  • OS X Panther "Prepares for installation" but nothing happens afterwards.

    Hi, Long story short, I tried updating my computer without checking My computer would actually allow it. Couldn't find my Panther discs so my brother leant me his 10.1 discs and it booted and the installation went fine but now I have the Panther disc