XML data connection and XML submit button

Hi Guys,
another one that 'should' be straight forward.  I have an xml data connection that is used ot pull in event details (name, location, cost etc) that allows you to select various events, then fill in your contact details and then submit the form.  I need to have the form submit with the data that the user entered into the form as well as their selection of event.  When I set up the email submit button, the XML file attached to the email is actually the XML file that the form pulls the event details from not the data that the user has entered into the form.  Again I reckon this one should be straight forwad to fix, seems like a fairly normal way to operate, but I just cant find a solution.  please help

>We are letting user know that u have thrown email to someone and we also let user know how is going to contact them.
This is good, but you cannot stop the email from opening and the user
needing to send it. This is, as I said, fundamental to security and
cannot be switched off.
>I tried using HTTP request but it still opening email option to send mail.
This suggests you did not do it right, because when you use http, no
mail is sent locally. Can you describe what you do?
>
>I want to do the way we do in the html page using javascript to set action event at click event and send data to specified email id.
HTML cannot silently send an email either.
Perhaps you could outline what sort of HTML JavaScript you use, so
that we can suggest an equivalent if there is one.
Aandi Inston

Similar Messages

  • Inserting XML data into and XML template

    I have XML data structured according to a schema. I also have a
    template structured with the same schema, plus a schema for document formatting. I want to merge the XML data into the Template to produce an output file.
    I know I can write a program to use XPath or DOM, but I am sure a generic solution already exists for this. I did not have any luck with google.
    Suggestions?
    thanks
    d1

    I have XML data structured according to a schema. I also have a
    template structured with the same schema, plus a schema for document formatting. I want to merge the XML data into the Template to produce an output file.
    I know I can write a program to use XPath or DOM, but I am sure a generic solution already exists for this. I did not have any luck with google.
    Suggestions?
    thanks
    d1

  • Xml data connection issue.

    Hi all,
    I have created an XML data connection in xcelsious that reads data from xml file and creates the stacked bar chart. Also used connection refresh button to refresh the data from xml file.
    For using xml data connection we have to give the fix structure of xml file, like we have to add range according to the data source and also have to give the name of range in xml file.
    The issue is if data is changed at run time then the xml file structure will not be fixed, in that case bar chart shows only the data of the range given in xml data connection and new data is not shown by the connection.
    For example if we want to show the monthly revenue of some areas in stack bar chart, but the number of areas are not fixed. So we canu2019t fix the number of stacks [number of range] in xml data connection. In that case it only shows the no of areas that are fixed in xml data connection.
    Is there any way to change the range in xml data connection so new changed data can also be displayed in bar chart or is there some other way so we donu2019t have to fix the structure of xml file?
    Thanks in advance.
    Regards,
    Neera Sharma
    Palewar Techno Solutions
    (Mobile Solutions for Your Business)
    www.palewar.com

    Hi,
    Which product are you using and in which version?
    Didier

  • Incorrect MIME type for XML Data Connection POST requests

    It appears that Xcelsius 2008u2019s XML Data Connection logic does not specify the correct MIME type for the data it sends to the server in its POST request.  Using an HTTP debug proxy, I was able to see that Xcelsius sends XML data in the POST, but is setting a content-type of u201Cx-www-form-urlencodedu201D.  According to the W3C spec:
      http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
    Data sent with a MIME type of u201Cxxu201D should be encoded as key?value pairs, like this:
      key1=val1&key2=val2&Submit=Submit
    So, what Xcelsius is doing is clearly incorrect.  Worse, if your server process is a Java servlet, you may find that the POSTed data will be gobbled up by the servlet container and you wonu2019t be able to read it using a getInputStream(), or getReader() call because itu2019s already been processed by a call to the getParameter() method.
    The correct mime type for POSTing an XML formatted request from Xcelsius should be "text/xml".
    Wayne

    Hi,
    The Error #2032 your getting is due to the Flash player security.
    To remove this this error you need one crossdomain Xml file in the root directory which actually provides a lot more control over who has access to your data from a SWF. The cross domain policy is attached as crossdomain.xml.
    In the XML file, it is used a wildcard (*). This allows a SWF located on any machine to access your data source. You can certainly use an IP address or domain name to restrict access rather to opening it up completely. I always start with the wildcard to make sure my dashboard works, then start restricting access as necessary.
    Here is a whitepaper with everything you need to know about Flash player security:
    http://www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf
    Please let me know if you need any more clarification.
    Regards,
    Sanjay

  • How to execute the Code-Behind of .aspx linked using XML Data Connection

    I have a dashboard with a live XML Data Connection tied to a Default.aspx file.  That .aspx file has a Default.aspx.vb code-behind file tied to it with some logic in the Page_Load sub routine.  If i open the .aspx on my own in the browser, the code-behind executes properly.
    However, when I tie the .aspx to my dashboard and launch it I know for a fact the .aspx is being called (i have a placeholder on the dashboard to let me know if it executed or not) but its code-behind file is not.  I can't seem to find a solution through Google, would anyone be able to lead me in the right direction with this?  My code is as follows:
    Default.aspx
    <%@ Page Language="vb" aspcompat="true" Debug="true" validaterequest="false" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="scheduleAppointment._Default" %>
    <%    
        'tester to see that script executes, this puts "ScriptExecuted" on a label on my dashboard
        Dim sXML As String   
        sXML = "<data><variable name=" + Chr(34) + "Range_0" + Chr(34)
                      + "><row><column>ScriptExecuted</column></row></variable></data>"
        Response.Write(sXML)
    %>
    Default.aspx.vb
    Imports Microsoft.Office.Interop
    Partial Public Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
                (I have code here creating a Microsoft Outlook appointment and saving/scheduling it. This is not being
                 executed when running the dashboard itself, but I know the code works if I run the .aspx on my own
                 in Internet Explorer browser)
        End Sub
    End Class

    Easy fix, apparently code-behind doesn't execute in Preview mode.  Exported to .swf and ran in the Internet Explorer browser and it worked.

  • XML data connection works in the preview, but not in the final swf

    Hello,
    I have set-up a dashboard with an XML data connection button to load XML data from an internet source. Everthing works perfect in the preview-swf within Xcelsius 4.5. But pressing the button in the exported swf does not have any effect. The dashboard is busy for 2 seconds, but no data is loaded. What could be the reason?
    Thanks.

    Yes, the location is registered. The problem also occours when the swf is opened directly on the web server where the xml-source is running.

  • XML Data Connection : Relative path

    Hi,
    I'm new to Xcelsius
    I have added an XML Data Connection with a static path pointing to a xml file in my C:/
    Now I would like to point the path to a relative path like ./ where the XML file be place in the same place as the dashbord.
    How can I do this?
    ~SaNv...

    I have inserted a text field to get the xml file input path and inserted that  on a cell.
    Then made tha XML connection to read this cell for loading the XML file. This works fine in the xcelsius preview, however when I exported this as an swf/pdf i get the below error in accessing the XML.
    To access external data, this file must be trusted.
    For a PDF file, in Adobe Reader, click Edit > Preferences > Security (Enhanced).
    For any other file type:
    **Do NOT click OK until you have read all the following steps.**
    1. Click OK to close this message and open the Adobe Settings Manager in a web browser.
    2. Click Global Security Settings Panel.
    3. On the Global Security Settings Panel:
       a). In the u201CAlways trust files in these locationsu201D drop-down, select Add location.
       b). Click Browse for files.
       c). Do one of the following:
           - For a PowerPoint file, navigate to the PowerPoint.exe location.
           - For all other file types, navigate to the location of this file.
       d). Click Open.
    4. Close the Adobe Settings Manager. Re-open this file.
    If the problem persists, contact the file creator or your system administrator.
    Error: Error #2148
    Connection Type: XML Data
    File URL: file:///C:/Documents%20and%20Settings/santhosh/Desktop/final.swf
    External Data URL: C:\Documents and Settings\santhosh\Desktop\test.xml
    I have also added the XML file in the Global secuirity testing
    ~SaNv...

  • Getting data via "XML Data" connectivity

    Hi,
    I need to retrieve data in Dashboard Design SP2 from one table stored on a SQL Server 2000. As I need to refresh the data I only have the option to use the "XML Data" connection (we are using BO4.0 Edge and can't use QaaWS).
    However, I am completly new in this XML topic... In which way should data be delivered so that I can use it in Dashboard Design (in Data Manager -> "XML Data" I have to input a "XML Data URL"...)?
    Thanks!

    Hi steve,
    Please refer below tutorial. It shows an example to create dashboard with XML file as data source.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0efea0a-f515-2e10-2daa-cc5a4d23c1a8]
    Hope it helps you.
    Regards,
    Nikhil Joy

  • Problem on refreshing with XML Data Connection

    Hi all,
    I have just created a Xcelcius 2008 interface which is consuming data from XML Data connection that I created using an ASPX web form (webservices). On Xcelsius 2008, I set to refresh the data on every 30 seconds.
    And I have found problem that the Xcelsius 2008 refresh XML Data intermittently. It doesn't want to refresh the latest data, and it still shows the previous data. But the strange thing is when I open the web services to check the validity of the data, the xcelsius is able to update and show the data exactly same with the opened data that I checked.
    And next, I repeatly refrehsed my browser (F5), oddly, the Xcelsius Flash reload data, and when I stop to refresh it. The Xcelsius stop to refresh the data also.
    So what happen to this Xcelsius? Any solutions?
    Regards,
    Devin Wood

    Hi Devin,
    I am also facing the same problem, what codes you exactly use to control the cache. I have used the following but getting same old data.
    Response.Cache.SetExpires(System.DateTime.Now);
                        Response.CacheControl = "no-cache";
                        Response.AddHeader("Pragma", "no-cache");
                        Response.AddHeader("Pragma", "no-store");
                        Response.AddHeader("cache-control", "no-cache");
                        Response.Cache.SetCacheability(HttpCacheability.NoCache);
                        Response.Cache.SetNoServerCaching();
    Hope to get help from you.
    Regards
    Bikram

  • Document on XML date rules and date management

    Hi,
    Could you Please send a document on XML date rules and date management. I really in need of it. You may send it to [email protected]

    Hello
    Could you please email this to me:  [email protected]
    Thanks in advance
    Kevin

  • XML data extraction and new row display

    I have a table named, SAPDATABROWSER, which has multiple columns and rows. A column named SAPTEXT (DataType: CLOB) consist of xml data. Each XML data is different in terms of number of nodes, but has the same following structure:
    <SAP_BAPI_PROP>
    <SelectedProperty>
    <Structure>
    <Field></Field>
    <Length></Length>
    <FieldValue></FieldValue>
    <Type></Type>
    <Priority></Priority>
    </Structure>
    </SelectedProperty>
    </SAP_BAPI_PROP>
    So now what I would like to do is, to extract the values: Field, FieldValue and Length from every row (total 72) and display the result as following,
    Field FieldValue Length
    XXXX YYYY ZZZZ
    PPPP QQQQ RRRR
    AAAA BBBB CCCC
    MMMM NNNN OOOO
    Again, each row (total 72) has multiple nodes inside XML data, i.e there are multiple Field,Length and FieldType Nodes and no two XML row/data are similar!
    I am using the following code:
    SELECT
    EXTRACT (xmltype (saptext), '/SAP_BAPI_PROP/SelectedProperty/Structure/Field/text()'),
    EXTRACT (xmltype (saptext), '/SAP_BAPI_PROP/SelectedProperty/Structure/Length/text()' ),
    EXTRACT (xmltype (saptext), '/SAP_BAPI_PROP/SelectedProperty/Structure/FieldValue/text()' )
    FROM sapdatabrowser ;
    The above code generate result as following:
    /SAP_BAPI_PROP/..../Field/text() /SAP_BAPI_PROP/..../Length/text() /SAP_BAPI_PROP/..../FieldValue/text()
    1. XXXXPPPPAAAA YYYYQQQQBBBB ZZZZRRRRCCCC
    2. MMMM NNNN OOOO
    Any suggestions?! Thank you very much. :)

    Thank you everyone for your input. But I am still stuck. Let me start with my SQL version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - ProductionI believe my explaination was not clear so let me rephrase my question. Following is a screenshot of the Table SAPDATABROWSER
    http://img585.imageshack.us/img585/2724/55760509.jpgSo there are total 72 rows, and my interest is in Column 6, SAPTEXT (type:CLOB). Each of the row has following structure:
    <SelectedProperty>
    <Structure>
    <Field></Field>
    <Length></Length>
    <FieldValue></FieldValue>
    <Type></Type>
    <Priority></Priority>
    </Structure>
    </SelectedProperty>Each row has multiple nodes Field, Length, FieldValue.... etc. Now I would like to extract ALL: Field, Length and FieldValue nodes from ALL rows and display them in following format
    Field                  Length                   FieldValue
      1                       1                           1
      2                       2                           2
      3                       3                           3
      4                       4                           4Example Output:
    ROW 1:
    <SelectedProperty>
    <Structure>
    <Field>X</Field>
    <Length>Y</Length>
    <FieldValue>Z</FieldValue>
    <Type></Type>
    <Priority></Priority>
    </Structure>
    <Structure>
    <Field>P</Field>
    <Length>Q</Length>
    <FieldValue>R</FieldValue>
    <Type></Type>
    <Priority></Priority>
    </Structure>
    </SelectedProperty>
    ROW 2:
    <SelectedProperty>
    <Structure>
    <Field>A</Field>
    <Length>B</Length>
    <FieldValue>C</FieldValue>
    <Type></Type>
    <Priority></Priority>
    </Structure>
    <Structure>
    <Field>M</Field>
    <Length>N</Length>
    <FieldValue>O</FieldValue>
    <Type></Type>
    <Priority></Priority>
    </Structure>
    </SelectedProperty>Required Output:
    Field                  Length                   FieldValue
      X                       Y                           Z
      P                       Q                           R
      A                       B                           C
      M                       N                           O

  • Xml data into non-xml database.. solution anyone?

    Hi,
    My current project requires me to store the client's data on our servers. We're using Oracle9i. Daily, I will download the client's data for that day and load it into our database. My problem is that the data file is not a flat file so I can't use sql*loader to load the data. Instead, the data file is an xml file. What is the best way to load xml data into a non-xml database? Are there any tools similar to sql*Loader that will load xml data into non-xml database? Is it the best solution for the client to give me an XML dump of their data to load into our database, or should I request a flat file? My last resort would be to write some sort of a script to parse the xml data into a flat file, and then run it through sql*loader. Is this the best solution? One thing to note is that these files could be very large.
    Thanks in advance.
    -PV

    I assume that just putting the XML file into an
    extremely large VARCHAR field is not what you want.
    Instead, you want to extract data elements from the
    XML and write them to columns in a table in your
    database. Right?Yes. Your assumption is correct.
    It sounds like you already have a script that loads a
    flat file into your database. In that case I would
    write an XSL transformation that converts the client's
    XML into a correctly-formatted flat file.Thank you. I'll look into that. Other suggestions are welcome.

  • Simple Examples of data connectivity and transfer of data from an .asp.vb to javascript in an .aspx file

    What forum might be useful in solving this issue:
    Simple Examples of data connectivity and transfer of data from an .asp.vb to javascript in an .aspx file

    They'll help you here in the Microsoft ASP.net forums.
    http://forums.asp.net/
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Help I am trying to update my card info and the submit button on the site is not working

    Help I am trying to update my card info and the submit button on the site is not working

    What does the message say exactly? Are you sure it's not telling you the phone has no more space?

  • Hide and Display submit button on the Simple search page.

    Heading 1: h1 Hide and Display submit button on the Simple search page.
    I'm trying to set the enabled property of the submit button on the simple search page. The business case is to disable the button if the VO has not returned any rows.
    The Submit button is on the page button bar.
    regards
    Abhi

    Hi,
    I have already added this in my ProcessRequest, the issue I am facing is it the submit button is disabled while I load >the page which is fine. but when I do a search and the query returns rows still the submit button is disabled.---Will nt reuired SPEL here..
    ---On go button click setsession value.
    Follow below steps:
    CO PR:*
    OASubmitButtonBean continueBtn=(OASubmitButtonBean)flowLayout.findChildRecursive("continueBtn");
    if(continueBtn != null && "D".equals(oapagecontext.getSessionValue("Flag"))
    continueBtn.setDisabled(false);
    else if(continueBtn != null )
    continueBtn.setDisabled(true);
    CO PFR:_
    if(pageContext.getParameter("Go") != null)
    oapagecontext.putSessionValue("Flag","D");
    Regards
    Meher Irk
    Edited by: Meher Irk on Mar 22, 2011 7:48 PM
    Edited by: Meher Irk on Mar 22, 2011 7:48 PM

Maybe you are looking for

  • Macbook Pro Mid 2012 didnt turn on, pink screen, now okay! problem? :)

    My Macbook Pro v10.7.3 Mid-2012 edition was SUBMERGED "totally" in the water when the pipe in the restroom burst and my mac was in the floor. It was inside a leather case. When I went to turn it on, it turned on (wow). After a month of using it, toda

  • How can I map CHAR jdbc type to the char java type

    Hi, I would like to make all changes in the DB schema file and use source generation tools as a process. Now I foound that JDBC integer type corresponds to the Java int type. But having: <column name="ACTIVATION_STATUS" type="char" not-null="true" si

  • Cannot get an invoice created with IWork Numbers to open correctly in Excel

    I used the Template in Numbers to create an invoice,and it's great. However, I cannot seem to open this file in Excel no matter how I send it, no matter how I save it. Have saved as windows friendly, have saved as Excel file. I have to be able to hav

  • PDF Form giving different data compare to smart form

    Hi Friends, There are few scenerion in my system where my application produce a PDF form (Smart Form Convert to PDF through OTF) In some case when I execute/print the form it shows me all PO form  represnt me a differnt PO form althought their smartf

  • KPI -How does the periodicity works in SM

    Periodicity is @ Context level only? That means we have to define different contexts for weekly &monthly? That doesnu2019t fly good How does the periodicity works in SM..data entry as well as frontend display?