Assigning Name to XML file

Hi Y'all,
I'd like the XML file name being submitted with "Submit via Email" button be value entered in one of the required text fields.
In current case name of the field is ClubNumber. For xample if user entered 22155 in the field, the XML file would be named 22155.xml.
How can I do that?
Thanks,

You can set the subject line using the ?subject= parameter in the mailto target. For example:
if (SCODAchievementsData.rawValue != null)
var oSubmitTarget = this.resolveNode("#event.#submit").target;
var nLoc = oSubmitTarget.indexOf("?subject=");
if (nLoc > -1)
var target = oSubmitTarget.substring(0, nLoc);
this.resolveNode("#event.#submit").target = target + "?subject=" + SCODAchievementsData.rawValue;

Similar Messages

  • Change name of .xml file.

    Can anyone help me?
    Being new to podcasing and not realising that I only need one xml file even for multiple episodes I gave my file a specific name relating to the subject of my first episode. Realising my mistake I would like to re-name the .xml file, is that possible now that iTunes have already accepted my podcast?

    Sure, just copy your old file over to the new URL.
    Then edit the "old" copy and cram this into it:
    http://www.apple.com/itunes/store/podcaststechspecs.html#_Toc526931687
    So when Apple visits the old one, they find the new one.
    You can also do the fancy 301 redirect (not 302) if you know what that means, or want to figure it out. It's an HTTP response code in the HTTP protocol to note that a document has "permanently moved"

  • Assigning a blank xml file to a region.......

    I want to assign a blank xml file to a region in sitestudio.......I am using SS_SWITCH_REGION_ASSOCIATION service for that....but to no avail....Is there any other way out??
    Anybody can help me out on this..........
    Edited by: user11110762 on Nov 15, 2009 9:24 AM

    There is a setting for this usually like "allow switch region content" if you are calling the service and the region definition does not have this enabled it will not work.

  • How to get the column name and table name from xml file

    I have one XML file, I generated xsd file from that xml file but the problem is i dont know table name and column name. So my question is how can I retrieve the data from that xml file?

    Here's an example using binary XML storage (instead of Object-Relational storage as described in the article).
    begin
      dbms_xmlschema.registerSchema(
        schemaURL       => 'my_schema.xsd'
      , schemaDoc       => xmltype(bfilename('TEST_DIR','my_schema.xsd'), nls_charset_id('AL32UTF8'))
      , local           => true
      , genTypes        => false
      , genTables       => true
      , enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS
      , options         => dbms_xmlschema.REGISTER_BINARYXML
    end;
    genTables => true : means that a default schema-based XMLType table will be created during registration.
    enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS : indicates that a repository resource conforming to the schema will be automatically stored in the default table.
    If the schema is not annotated, the name of the default table is system-generated but derived from the root element name :
    SQL> select table_name
      2  from user_xml_tables
      3  where xmlschema = 'my_schema.xsd'
      4  and element_name = 'employee';
    TABLE_NAME
    employee1121_TAB
    (warning : the name is case-sensitive)
    To annotate the schema and control the naming, modify the content to :
    <?xml version="1.0" encoding="UTF-8" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
      <xs:element name="employee" xdb:defaultTable="EMPLOYEE_XML">
        <xs:complexType>
    Next step : create a resource, or just directly insert an XML document into the table.
    Example of creating a resource :
    declare
      res  boolean;
      doc  xmltype := xmltype(
    '<employee>
      <details>
        <emp_id>1</emp_id>
        <emp_name>SMITH</emp_name>
        <emp_age>40</emp_age>
        <emp_dept>10</emp_dept>
      </details>
    </employee>'
    begin
      res := dbms_xdb.CreateResource(
               abspath   => '/public/test.xml'
             , data      => doc
             , schemaurl => 'my_schema.xsd'
             , elem      => 'employee'
    end;
    The resource has to be schema-based so that the default storage mechanism is triggered.
    It could also be achieved if the document possesses an xsi:noNamespaceSchemaLocation attribute :
    SQL> declare
      2 
      3    res  boolean;
      4    doc  xmltype := xmltype(
      5  '<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      6             xsi:noNamespaceSchemaLocation="my_schema.xsd">
      7    <details>
      8      <emp_id>1</emp_id>
      9      <emp_name>SMITH</emp_name>
    10      <emp_age>40</emp_age>
    11      <emp_dept>10</emp_dept>
    12    </details>
    13   </employee>'
    14   );
    15 
    16  begin
    17    res := dbms_xdb.CreateResource(
    18             abspath   => '/public/test.xml'
    19           , data      => doc
    20           );
    21  end;
    22  /
    PL/SQL procedure successfully completed
    SQL> set long 5000
    SQL> select * from "employee1121_TAB";
    SYS_NC_ROWINFO$
    <employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceS
      <details>
        <emp_id>1</emp_id>
        <emp_name>SMITH</emp_name>
        <emp_age>40</emp_age>
        <emp_dept>10</emp_dept>
      </details>
    </employee>
    Then use XMLTABLE to shred the XML into relational format :
    SQL> select x.*
      2  from "employee1121_TAB" t
      3     , xmltable('/employee/details'
      4         passing t.object_value
      5         columns emp_id   integer      path 'emp_id'
      6               , emp_name varchar2(30) path 'emp_name'
      7       ) x
      8  ;
                                     EMP_ID EMP_NAME
                                          1 SMITH

  • Missing slide name in xml file

    Before I upgrade from Captivate 5.5 to 7 I need to understand why - When I open the xml file to  review the quiz results, I cannot find the slide name.  When I give management the test results, I would like to have the slide name, with the rest of the information.  Is there a complete tutorial I can review to show me how to.

    Hi Lisa,
    What I understood from your question is: SAP is generating a file and you want to add few more things to that file in XI.
    If we both are on the same page then you can create a xsd or extend the current xsd with the additional fields and then can load the file and send across XI.
    If we are not on the same page then can you throw some more light on this?
    Regards,
    ---Satish

  • Change MessageType name in xml file

    Hi experts,
    I have developed a receiver interface that creates an xml file and put it on an external server.
    Now other side says that this tag:
    <ns0:MT_MexElectronicInvoice_EDICOM xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
    is not correct, they want another description:
    <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
    My question is: is possible to change MessageType tag in xml file without changing the message type structure name in Integration Repository?
    thanks
    fabio

    use another mapping which has the target  MT as  <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">
    Add this mapping after the original mapping in your interface/operation mapping.
    This will be the easiest way to handle this requirement as you will only need to do a one to one mapping.
    Another option will be to write a java mapping to do a simple replace function for the string <ns0:MT_MexElectronicInvoice_EDICOM xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice"> to  <ns0:MT_MexElectronicInvoice_myFirm xmlns:ns0="urn:Myfirm-EDICOM:MexElectronicInvoice">

  • Example of storing a prefix name space xml file in XML DB ?

    I have lots of XML file pass to me with prefix name space all over the file. Is there any example of how to stored and retrieved this type of XML file to XML DB?
    Example of the XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <ddms:Resource xmlns:ddms="http://metadata.dod.mil/mdr/ns/DDMS/1.3/" xmlns:ICISM="http://metadata.dod.mil/mdr/ns/DDMS/1.3"
         xmlns:gml="http://metadata.dod.mil/mdr/ns/DDMS/1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://metadata.dod.mil/mdr/ns/DDMS/1.3/ ../DDMS-v1_3_1033.xsd">
    <ddms:identifier ddms:qualifier="http://metadata.dod.mil/mdr/ns/MDR/0.1/MDR.owl#URI"
              ddms:value="http://www.whitehouse.gov/news/releases/2005/06/20050621.html"/>
    </ddms:Resource>

    Hi
    What is the error you get if you try to load the file ?
    May be you have to change the schema location of the xsd to an absolute path in your exable it is relative
    xsi:schemaLocation="http://metadata.dod.mil/mdr/ns/DDMS/1.3/ ../DDMS-v1_3_1033.xsd"
    regards Patrick

  • EJB2.0 CMP Bean table Name in XML file

    hai all,
    I have a doubt in ejb-jar.xml . I have noticed that we mention the field names <cmr-field> ... But where do we mention name of the table in the XML. do we have to make the bean name as that of table name .
    Can Any one help me ?
    Thnks
    Sundar

    Hi pls see this DD for CMP. in this "abstract-schema-name" is the Data Base table name...
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>LocalCustomerHome</local-home>
    <local>LocalCustomer</local>
    <ejb-class>CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <abstract-schema-name>Customer</abstract-schema-name>
    <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    ... other cmp fields
    <ejb-local-ref>
    <ejb-ref-name>ejb/AddressRef</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>LocalAddressHome</local-home>
    <local>LocalAddress</local>
    <ejb-link>AddressBean</
    </ejb-local-ref>

  • XML file error while loading import manager

    Hi all,
    I am new to MDM.
    I have archive repository(.a2a file),xsd files,import maps and export maps.I have unarchived the repository in console and I am trying to load import manager by selecting the file type as XML schema, client system as MDM, XMl schema name and file name as XML file of given XSD in import manager folder of server.
    I am getting error like "failed to parse XML file".
    Please help me out regarding this.
    Thanks in advance.
    Ravi.

    Hi ravi,
    Is it MSXML 4.0 SP2 parser?
    <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en</a>
    Try installing this and let me know.
    Thanks and Regards,
    <b>Sagar Sonje</b>
    Message was edited by:
            Sagar Sonje

  • XML File and in Studio - How to Code

    Hi all.
    I have the following code in my Method, it's code will be part of an .xml file that I am producing from the system:
    content = "<?xml version='1.0' encoding='utf-8'?>"
    +"\n<Documents>"
    +"\n<Document>"
    +"\n<Images>"
    +"\n<Image Location='\\\\SrMachineName\\folder\\' />"
    +"\n</Images>"
    +"\n</Document>"
    +"\n</Documents>"
    intact as Fuego.Io.File = Fuego.Io.File("\\\\Lasc-records\\efile_pdf\\xml\\intact.xml";)
    fileok = createNewFile(intact, silent : false)
    openForWriting(DelimitedFile, name : "\\\\Lasc-records\\efile_pdf\\xml\\intact.xml";, append : false, fieldSeparator : "", lineSeparator : "")
    writeLineTo(DelimitedFile, fields : [content])
    I would like to have the Image Location to includ an attribute...somthing like \\Machine\folder\method Name.pdf where method name is the name of my file.
    How do you includ an attribute with in a definition Name in xml file
    Anyone know the syntax to produce this line of code?
    -Lilach

    Hi Lilach,
    I'm probably missing what it is that you wanted, but here's a shot at your XML and then hitting it using xpath to test the result.
    content as String = "<?xml version='1.0' encoding='utf-8'?>"
        +"\n<Documents>"
        +"\n<Document>"
        +"\n<Images>"
        +"\n<Image Location=\"//SrMachineName/folder\"/>"
        +"\n</Images>"
        +"\n</Document>"
        +"\n</Documents>"
    xmlObject as Fuego.Xml.XMLObject
    load(xmlObject, xmlText : content)
    // this is just for testing
    for each i in selectNodes(xmlObject, xpath : "/Documents/Document/Images/Image") do
         display i
    endKnow you know this, but if your question was related to how you'd concatenate your machine name and folder and file name into this XML you'd change the line:
        +"\n<Image Location=\"//SrMachineName/folder\"/>"to instead be:
        +"\n<Image Location=\"//" + machineNameVar + "/" + folderNameVar + "/" + fileNameVar + "\"/>"Hope this helps,
    Dan

  • Download a xml file from a server

    Hi guys,
    First of all excuse me for my disorganized english.
    I have a JSP applicaction using tomcat 4.1 wich is accesed from internet using an IIS server for the redirection.
    In my servlet I'm generating a XML file wich will be downloaded by the client, in the servlet I set up this header, like in the others forums some fellows told.
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0);
    response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment;filename=\"" + nombreBorrador + "\"");
    I'm having a problem downloading a file from a server, the download dialog box says in the filename the name of the servlet instead of the name of the XML file.
    Any comments will be really appreciated.
    Best Regards
    JCh.-

    hai,
    give a print of ur variable "nombreBorrador" and check whether the name of xml file is getting passed correctly.
    Ani

  • Receiving xml file from B2B - assign the data to a variable

    Hi,
    I am receiving an xml file from B2B and assigning the file content to a variable.
    I have a B2B adapter - mediator - bpel process. In the bpel process I am assigning the inputVariable to a userdefinedvarible.
    But I am not getting the value correctly. Only the root tag of the xml is shown as the value for the userdefinedvarible.
    In the composite audit level,
    <process>
    <scope name=main>
    receiveInputreceiveInput
    Sep 17, 2010 9:31:10 AM Received "inputVariable" call from partner "processorder_client"Received "inputVariable" call from partner "processorder_client"
    View XML Document (******* the xml doc shows the complete xml********)
    Assign_1Assign_1
    Sep 17, 2010 9:31:10 AM Updated variable "Order"Updated variable "Order"
    <payload>
    <Order>
    <orders/> (******* the variable shows only the root element********)
    </Order>
    Sep 17, 2010 9:31:10 AM Completed assignCompleted assign
    Sep 17, 2010 9:31:10 AM BPEL process instance "40004" completedBPEL process instance "40004" completed
    I have connected the mediator interface to bpel interface and did not do any other special config? Is that ok?
    Can anyone please tell me the procedure to assign the xml file content from a b2b message to a bpel variable Or direct me to any samples on this?
    I dont understand if the prob is in mediator or assigning? I do see the inputvariable having the complete xml...!!
    Thanks in advance.
    Ganesh

    Hi Ganesh,
    Might be problem with the parts.
    receiveInputreceiveInput
    Sep 17, 2010 9:31:10 AM Received "inputVariable" call from partner "processorder_client"Received "inputVariable" call from partner "processorder_client"
    View XML Document (******* the xml doc shows the complete xml********)Check the part in the xml and part you defined for inputvariable.
    Regards
    PavanKumar.M

  • Random file name for xml output

    Hi:
    You know how when you're in design mode and select PDF preview, then click an email submit XML data button it assigns a random number as the XML file name? How can I set that same thing up when a user clicks the submit button from the web site? The default it assigns is the name of the pdf form.
    Many thanks for any suggestions,
    Ginger

    Virginia,
    The email submit button can only do what you described in your message.
    - The random file name generated in PDF preview is because you are in the design mode (not everyone has the working xpd file saved when he/she does a PDF preview. This results in a random file _x3432gd4343.xml is generated. It could have been called untitle1.xml if the product developers decide to do so).
    - When you open a PDF file (which has a name) in acrobat, the PDF filename is being used for the email attachment.
    Jimmy
    [email protected]

  • XML assign name to a string

    Hi All,
    In my application I need to save some data into a file, using XML functions. I created my own string containing the date (as "03/05/2006, 04:25 PM") using Get Date/Time String and Concatenate Strings and I sent the result to Flatten to XML. The value is saved in the XML file, but the <Name> tag is left blank. How can I assign a value for the Name tag?
    Regards,
    Nick

    Nick
    This seems to work. I have used the typecast function to inherit the "Date And Time" label property which then fills out the tag Name for you.
    David
    Message Edited by David Crawford on 09-04-2006 09:43 AM
    Attachments:
    XML Name Tag without using Control.jpg ‏7 KB

  • I am receiving the 'Could not sign you in [Access denied: 530]. Check your user name and password' problem on Adobe Muse CC 2014 and I cannot access the xml file that is supposed to fix this issue?

    I am a PC user and I have Adobe Creative Cloud Muse 2014. I have received the 'Could not sign you in [Access denied: 530]. Check your user name and password' error when trying to upload my muse site to my ftp host, GoDaddy. I have successfully done this in the past and only recently it has stopped working. I looked online at the FAQ Adobe Muse Help | Uploading an Adobe Muse Site to a third-party hosting service and it said to download the ftpprefs.xml file but this file simply leads to a blank page that says /*Not found*//*Not found*/.
    Can someone direct me to a working page with this file or provide a different solution? Thank you!

    Hello,
    As you are getting error [Access denied: 530] it means issue is with access. Either the username and password you are entering is incorrect or you do not have proper permissions.
    I would suggest you to contact Godaddy to either reset password or reset the permissions.
    Regards
    Vivek

Maybe you are looking for