How to display the xml content into my datagrid

Hi Experts,
                 i have created a webservice for sales quotation through DI-Server.iam able to add a new sales quotation through my coding & iam able to get the sales quotation based on the DOcEntry in an *XML file*.
          The xml file that i got using DOCENTRY is in this way:--
<?xml version="1.0" encoding="utf-8" ?>
- <BOM>
- <BO>
- <AdmInfo>
  <Object>oRecordset</Object>
  </AdmInfo>
- <OQUT>
- <row>
  <DocEntry>8</DocEntry>
  <DocNum>8</DocNum>
  <DocDate>20080715</DocDate>
  <DocDueDate>20080815</DocDueDate>
  <CardCode>C0003</CardCode>
  <CardName>HP India</CardName>
  <DocTotal>14500.000000</DocTotal>
  <ItemCode>A00006</ItemCode>
  <Dscription>HP Officejet 7310 All-in-One</Dscription>
  <Quantity>1.000000</Quantity>
   <Price>14500.000000</Price>
  <Currency>INR</Currency>
   <DiscPrcnt>10.000000</DiscPrcnt>
  <LineTotal>14500.000000</LineTotal>
   </row>
  </OQUT>
  </BO>
  </BOM>
Now the problem is from this xml content i should display the values in my datagrid like:
DocEntryCardCodeDocDueDateItemCodeDscriptionQtyTotal
     8--C000320081116--A00006-HP-off jet-2 ---                     1000
can anybody suggest me some ideas that how to get the SPECIFIED values into my datagrid...........
regards,
shangai.

hi vincent,
                Thanks for your reply.iam unable to understand these lines in your code..iam working in vb.net
public static DataSet GetDataSetFromXML(XmlNode XMLNode)
grid.DataSource = GetDataSetFromXML(Result.SelectSingleNode(xpath_string));
this is my coding....it's throwing an error when i declare like this
Public Sub GetDataSetFromXML(ByVal XmlNode)
        Dim ds As New DataSet
        Dim reader As XmlNodeReader
        reader = New XmlNodeReader(XmlNode)
        ds.ReadXml(reader)
        reader.Close()
        'Return ds --->(error with syntax)
    End Sub
DataGrid1.DataSource = GetDataSetFromXML(oXmlReply.SelectSingleNode("//DocDueDate"))
            DataGrid1.DataBind()
regards,
shangai

Similar Messages

  • How to place the xml contents into textframe?(cs2_js)

    after flow the xml into indesign document,i able to get the particular xml element and its contents in a variable.
    i want to know how to get certain range of xml element's contents and how to place that in textframe?
    //for get content
    app.activeDocument.xmlElements.item("header1").contents
    if i place the particular element's contents in xml structure extra tags added at edge
    i want to avoid that duplication also
    thanks in advance
    by
    subha

    Hi,
    Use FM WS_FILE_COPY To FIrst Copy the File to some Location
    and Next Use FM TMP_GUI_DELETE_FILE To Delete the File from Old LOcation.
    Regards
    Bala.M

  • How to write the JTables Content into the CSV File.

    Hi Friends
    I managed to write the Database records into the CSV Files. Now i would like to add the JTables contend into the CSV Files.
    I just add the Code which Used to write the Database records into the CSV Files.
    void exportApi()throws Exception
              try
                   PrintWriter writing= new PrintWriter(new FileWriter("Report.csv"));
                   System.out.println("Connected");
                   stexport=conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
                   rsexport=stexport.executeQuery("Select * from IssuedBook ");
                   ResultSetMetaData md = rsexport.getMetaData();
                   int columns = md.getColumnCount();
                   String fieldNames[]={"No","Name","Author","Date","Id","Issued","Return"};
                   //write fields names
                   String rec = "";
                   for (int i=0; i < fieldNames.length; i++)
                        rec +='\"'+fieldNames[i]+'\"';
                        rec+=",";
                   if (rec.endsWith(",")) rec=rec.substring(0, (rec.length()-1));
                   writing.println(rec);
                   //write values from result set to file
                    rsexport.beforeFirst();
                   while(rsexport.next())
                        rec = "";
                         for (int i=1; i < (columns+1); i++)
                             try
                                    rec +="\""+rsexport.getString(i)+"\",";
                                    rec +="\""+rsexport.getInt(i)+"\",";
                             catch(SQLException sqle)
                                  // I would add this System.out.println("Exception in retrieval in for loop:\n"+sqle);
                         if (rec.endsWith(",")) rec=rec.substring(0,(rec.length()-1));
                        writing.println(rec);
                   writing.close();
         }With this Same code how to Write the JTable content into the CSV Files.
    Please tell me how to implement this.
    Thank you for your Service
    Jofin

    Hi Friends
    I just modified my code and tried according to your suggestion. But here it does not print the records inside CSV File. But when i use ResultSet it prints the Records inside the CSV. Now i want to Display only the JTable content.
    I am posting my code here. Please run this code and find the Report.csv file in your current Directory. and please help me to come out of this Problem.
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.table.*;
    public class Exporting extends JDialog implements ActionListener
         private JRadioButton rby,rbn,rbr,rbnore,rbnorest;
         private ButtonGroup bg;
         private JPanel exportpanel;
         private JButton btnExpots;
         FileReader reading=null;
         FileWriter writing=null;
         JTable table;
         JScrollPane scroll;
         public Exporting()throws Exception
              setSize(550,450);
              setTitle("Export Results");
              this.setLocation(100,100);
              String Heading[]={"BOOK ID","NAME","AUTHOR","PRICE"};
              String records[][]={{"B0201","JAVA PROGRAMING","JAMES","1234.00"},
                               {"B0202","SERVLET PROGRAMING","GOSLIN","1425.00"},
                               {"B0203","PHP DEVELOPMENT","SUNITHA","123"},
                               {"B0204","PRIAM","SELVI","1354"},
                               {"B0205","JAVA PROGRAMING","JAMES","1234.00"},
                               {"B0206","SERVLET PROGRAMING","GOSLIN","1425.00"},
                               {"B0207","PHP DEVELOPMENT","SUNITHA","123"},
                               {"B0208","PRIAM","SELVI","1354"}};
              btnExpots= new JButton("Export");
              btnExpots.addActionListener(this);
              btnExpots.setBounds(140,200,60,25);
              table = new JTable();
              scroll=new JScrollPane(table);
              ((DefaultTableModel)table.getModel()).setDataVector(records,Heading);
              System.out.println(table.getModel());
              exportpanel= new JPanel();
              exportpanel.add(btnExpots,BorderLayout.SOUTH);
              exportpanel.add(scroll);
              getContentPane().add(exportpanel);
              setVisible(true);
          public void actionPerformed(ActionEvent ae)
              Object obj=ae.getSource();
              try {
              PrintWriter writing= new PrintWriter(new FileWriter("Report.csv"));
              if(obj==btnExpots)
                   for(int row=0;row<table.getRowCount();++row)
                             for(int col=0;col<table.getColumnCount();++col)
                                  Object ob=table.getValueAt(row,col);
                                  //exportApi(ob);
                                  System.out.println(ob);
                                  System.out.println("Connected");
                                  String fieldNames[]={"BOOK ID","NAME","AUTHOR","PRICE"};
                                  String rec = "";
                                  for (int i=0; i <fieldNames.length; i++)
                                       rec +='\"'+fieldNames[i]+'\"';
                                       rec+=",";
                                  if (rec.endsWith(",")) rec=rec.substring(0, (rec.length()-1));
                                  writing.println(rec);
                                  //write values from result set to file
                                   rec +="\""+ob+"\",";     
                                   if (rec.endsWith(",")) rec=rec.substring(0,(rec.length()-1));
                                   writing.println(rec);
                                   writing.close();
         catch(Exception ex)
              ex.printStackTrace();
         public static void main(String arg[]) throws Exception
              Exporting ex= new Exporting();
    }Could anyone Please modify my code and help me out.
    Thank you for your service
    Cheers
    Jofin

  • How to display the variable content in message?

    Hi anybody
    please let me know How to display the variable content in message?
    please send few lines of sample code to understand that
    thanks in advance

    Hi,
    Check out the link
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
    REPORT Y9020027 LINE-SIZE 130.    "Release 3.1G, 4.5A                  
    BREAK-POINT.
    MOVE: 'TESTREPORT for    "ASSIGN  FFeld+o(l)  TO  "        '     
            TO SY-TITLE.
          Declaration of variables    **********************
    FIELD-SYMBOLS <FS1>.
    DATA: FFELD8(8)   TYPE F VALUE '1022333'.   "Unusual: Explicit 8 bytes
    *DATA: ZFELD1(2)    TYPE N.            "Here slack bytes are (DW border)
                                         "necessary                      
                  "If you like computing error, please uncomment the above
    DATA: FFELDX(8)   TYPE F VALUE '7777777'.
    DATA: FFELDA(8)   TYPE F VALUE '7333213'.
    DATA: NFELDX(400) TYPE N.
    DATA: OFFX(4) TYPE I VALUE 160.
    DATA: LENX(4) TYPE I VALUE 8.
                  Main Section             *******************
        SKIP.
        WRITE: /5  'Example 1   **** inadmissible ASSIGN ***' COLOR 6.
        WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
      ASSIGN FFELD4+1(3) TO <FS1>.
        ULINE.
        SKIP 2.
        SKIP.
    ASSIGN FFELD8+8(8) TO <FS1>.     "<-- Assigning of variable  FFELDX  !!
        BREAK-POINT.
        WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
                  COLOR 3.
        WRITE: /5 'Example 2'.
        PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
        WRITE: /10 'Content of   FFELDX      :', FFELDX.
        ULINE. SKIP 2.
        SKIP.
    ASSIGN FFELD8+16(8) TO <FS1>.    "<-- Assiging a few FFELDA to <FS1>  
        BREAK-POINT.
        WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
                  COLOR 3.
        WRITE: /5 'Example 3'.
        WRITE: /10 'Content of   FFELDA      :', FFELDA.
        PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
        WRITE: /10 'Content of   FFELDA      :', FFELDA.
        ULINE. SKIP 2.
    BREAK-POINT.
       DO 4 TIMES.
         ASSIGN FFELD8+OFFX(LENX) TO <FS1>.     "Zuordnung auf OFFX zu <FS1>
            WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
                      COLOR 5.
             WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
             PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
             WRITE: /10 'Content of NFELDX145(40)  :', NFELDX145(40).
             ULINE. SKIP 2.
             ADD 8 TO OFFX.
       ENDDO.
                   Subroutines             *******************
               Display of data fields and field symbols                  *
    FORM DISPLAY-FFELD USING FFELD FNAME.
    WRITE: /10 'Content of', FNAME, ':', FFELD.
    PERFORM FELDEIGENSCHAFTEN USING FFELD.
    WRITE: /10 'Content of <FS1> :', <FS1>.
    PERFORM FELDEIGENSCHAFTEN USING <FS1>.
    ADD   111    TO <FS1>.               "<-- Das Feldsybmol wird verwendet
    WRITE: /10 'ADD 111 TO <FS1>'.
    ULINE.
    WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
    WRITE: /10 'Content of <FS1>',  35 ':', <FS1>.
    ENDFORM.
       Determination of field properties (only for information)          *
    FORM FELDEIGENSCHAFTEN USING ALLG.
    DATA: FLAENGE(2) TYPE N.
    DATA: FTYP(1) TYPE C.
    DATA: FOUT(2) TYPE N.
    DATA: FDEZ(2) TYPE N.
      ULINE.
      DESCRIBE FIELD ALLG LENGTH FLAENGE.
      WRITE: /10 'Field length  :', FLAENGE.
      DESCRIBE FIELD ALLG TYPE FTYP.
      WRITE: /10 'Field type    :', FTYP.
      DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
      WRITE: /10 'Output length :', FOUT.
      DESCRIBE FIELD ALLG DECIMALS FDEZ.
      WRITE: /10 'Decimals      :', FDEZ.
      SKIP 1.
    ENDFORM.
    END OF PROGRAM *************************************

  • How to display the same content in the two different main windows?

    Hi experts,
    How to display the same content in the two different main windows?
    Thanks in advance.
    sarath

    Hi
    Sorry but you can't have two main windows in sapscripts.
    Regards
    Gregory

  • How to display the file contents???

    Hi all,
    I have a JSP page which is suppose to display resource contents on clicking of href like this:
    <td><a href="">Click here</td>But the problem is, these contents are stored some where on the hard disk of the system inside the folder \\LMS\Resources\doc\knowledge.doc.
    some other file I have like:
    \\LMS\Resources\pdf\display.pdf
    It can be any file (PDF,DOC,SOUND AUDIO).
    Can anyone please tell me how to open the contents of the file directly from href???
    Or I should use some other way to display those files.??I just want a way to start with.......
    Thanks in advance
    Namrata

    Hello Namrata,
    There are millions of ways to do this.
    1. You can create a shared drive in your server as "\\LMS\Resources" pointing to K Drive etc... You can write a simple servlet which picks up the relative path from "\\LMS\Resources" which is "pdf\display.pdf" and it can read the file and then based on the file extension it can resend the response mime type for the browser to pick it up. This can be done in both Windows and Unix environments.
    2. Have a Content Management System like Lotus Domino, Fatwire, etc and upload all contents and point the href to the Content Management System URL.
    3. You can upload the documents into a database as BLOB data and then use it to render content.
    4. You can also have a regular program which synchronizes the data from \\LMS into the Server hardware in a particular location.
    In Options 1, 3, 4 you need the servlet to render the content out to the Client browser.
    All this can be done based on the Technology environment, cost available to spend, Skill sets available and other factors.
    Do let me know if you need any more information
    Thanks,
    Pazhanikanthan. P

  • How to populate the xml file into treeview including attributes using dom method in c# windows from???

    <?xml version="1.0" standalone="yes"?>
    <Student_Details>
    <Student Id="1">
    <Name>sandeep</Name>
    <Age>12</Age>
    <Mobile>123456789</Mobile>
    </Student>
    <Student Id="2">
    <Name>ololjk</Name>
    <Age>kjlokmo</Age>
    <Mobile>njonojniohuj</Mobile>
    </Student>
    <hello Id="10">
    </hello>
    <Student Id="3">
    <Name>Sandeep Pr</Name>
    <Age>12</Age>
    <Mobile>9865231870</Mobile>
    </Student>
    <Student Id="4">
    <Name>ololjk</Name>
    <Age>kjlokmo</Age>
    <Mobile>njonojniohuj</Mobile>
    </Student>
    all i can fount in internet is which will not display the attributes so pls upload a proper code which also creates an attribute node???
    Sandeep Puvvadi

    Enumerate your XML using
    XDocument. For each element
    Generate a new TreeNode with whatever text you want to show
    Insert the node into your tree
    Enumerate all the attributes of the element using the
    Attributes() method
    Insert a child node of the element node for each attribute with whatever text you want to show
    Note that your XML is not valid.  You have a <hello> element in the middle of it and the root element is not closed. You'll need to fix that before the XML can be parsed.
    Michael Taylor
    http://blogs.msmvps.com/p3net

  • How to import the xml file into bcc?

    My input file to atg is xml which contain category or products assets.
    I want the scheduler to run in such a way that it should auto create a project and send an email to client for approval.
    When the client approves the xml file,then run the scheduler to input the xml file datas into bcc.
    i will be using : SingletonSchedulableService for this
    Give me a guidance for the same.
    Thanks in advance.

    I want to implement this in bcc.
    Which listener will listen for the approval of the client for the email (which contains the xml to import)we sent to him?
    You would have to do custom development to hook your custom workflow with the inbound email. For sending email notifications the action is already there and while creating its element in ACC you can specify a JSP for the email template. You may refer following relevant documentation:
    Oracle ATG Web Commerce - Workflows
    Oracle ATG Web Commerce - Workflow Action Elements
    I recommend to refer the existing DeploymentEmailer source in <ATG>\Publishing\samples\Java and see different DeploymentEvent types and states can be used based on your requirement in your custom component. Also refer these API javadocs to know about the available deployment events and process:
    DeploymentEvent (ATG Java API)
    DeploymentServer (ATG Java API)
    ATG does have a /atg/dynamo/service/POP3Service component to retrieve mails from a POP3 e-mail server but it is primarily used for detecting the bounced email. Not too sure if it would help or fit in your case but still you can go through about its details to know what is already there:
    Oracle ATG Web Commerce - Bounced E-mail
    You may also refer to the InboundEmail event and API javadocs for InboundEmailMessage which are used in this bounced email detection feature:
    Oracle ATG Web Commerce - InboundEmail Event
    InboundEmailMessage (ATG Java API)
    Now based on all this, if you extend and customize a lot of things it would be bit complex and tedious to detect the inbound approval mail based on its content and then advance your workflow. Another approach can be to put a URL in the mail template of your notification email which the approver would have to click and on the landing page you can authenticate and advance your custom workflow as required.

  • How to chunk the XML files into smaller files using peoplecode.

    We are trying to load the Invoices through our XMLDoc PeopleCode that we have written long back.
      Previously the file is not that big and we are able to load them successfully. But now each file is more than 200MB and we are getting the below error when initiated the process..
      Process Request shows status of 'INITIATED' or 'PROCESSING' but no longer running “.
      I tried to chunk the file manually to 50MB it is able to run it properly but chuncking manually is not possible for all the files as it is time taking process..
      Is there any way that we can check on Webserver/Appserver whether whats happening and how to handle this error..
    Or any sample code to divide the big file into smaller files..
      Please let me know your thoughts..

    Good morning Ashok,
    Your data is in a SQL*Loader supported datatype, so basically it should not be a problem.
    Have you checked the Database Utilities guide (for Oracle9i for instance: http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96652/toc.htm) on how to handle this?
    I'll also repeat my previous question, have you ever been able to load data into the database using SQL*Loader (either using ASCII values or any other datatype)?
    For the OWB part, have you read "Importing Data Definitions" (typically chapter 4)? More specifically, "Specifying Field Properties" in "About Flat File Sources and Targets"?
    In "SQL*Loader Properties" it says the following:
    Type Describes the data type of the field for the SQL*Loader. You can use the Flat
    File Sample Wizard to import the following data types: CHAR, DATE, DECIMAL
    EXTERNAL, FLOAT EXTERNAL, INTEGER EXTERNAL, ZONED , AND ZONED
    EXTERNAL. For complete information on SQL*Loader field and data types, refer to
    Oracle9i Utilities. Currently, only portable datatypes are supported.
    If you check the database utitlities guide (chapter 6 Field List Reference) and look for "SQL*Loader Datatypes", you'll find (packed) decimal under the Nonportable Datatypes. This implies that OWB does not support it.
    This does not mean you can't use SQL*Loader, you'll only have to define everything separate from OWB and call it separately as well.
    Good luck, Patrick

  • How to populate the xml file into the treeview using c#(along with the attribute called id) using dom.

    <?xml version="1.0" standalone="yes"?>
    <Student_Details>
      <Student Id="1">
        <Name >sandeep</Name>
        <Age>12</Age>
        <Mobile>123456789</Mobile>
      </Student>
      <Student Id="2">
        <Name >ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student Id="3">
        <Name >Sandeep Pr</Name>
        <Age>12</Age>
        <Mobile>9865231870</Mobile>
      </Student>
      <Student Id="4">
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student Id="5">
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student Id="6">
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student Id="7">
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student Id="8">
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student Id="9">
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student Id="10">
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
    </Student_Details>
    Sandeep Puvvadi

    Have a look at the
    XmlDocument class. Read the
    documentation (it's all written there for us all). If you'll have implementation questions, feel free to ask again. At the moment, I can't see what you've already tried and what's not working.
    Armin

  • How to retrieve the xml data into datagrid in vb6.0 using dom method

    <?xml version="1.0" standalone="yes"?>
    <Student_Details>
      <Student>
        <Name>sandeep</Name>
        <Age>12</Age>
        <Mobile>123456789</Mobile>
      </Student>
      <Student>
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student>
        <Name>Sandeep Pr</Name>
        <Age>12</Age>
        <Mobile>9865231870</Mobile>
      </Student>
      <Student>
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student>
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student>
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>

    this forum is for vb.net, for vb6 you could try
    http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
    http://forums.codeguru.com/forumdisplay.php?4-Visual-Basic-6-0-Programming
    PS. vb6 is ancient software you might want to consider a language from this century

  • How to import a XML file into the document?

    Hai,
    i had created a table using xml file....
    Now i want to import that xml file tabel into the document...
    Can any one tell me how to import the xml file into the document?
    thanks
    senthil

    Hai...
    this is senthil...
    i'm beginner for creating adobe indesign plugins..
    i want to import a html file in the document...
    i want to create a table by using html tags and
    that table will be imported into the document..
    How shall i do it?
    can any one plzz explain me?

  • How to load the xml from swf

    Hi,
    I have one intro.swf from that am loading one interface.swf by using loader.In interface i am loading some of the swf and xml am getting the swf but the xml files are not loading.When i run from interface file it is loading fine. only when i load the intro file the xml files are not loading. can any one tell me what is the problem how to access the xml content.
    This is the code am using in interface.swf to to get the xmlpath
    MovieClip(root).param1 = xmlPath;
    to access the xml content i have written the code
    var xmlPath:String=MovieClip(stage.getChildAt(0)).param1;
    I am using one moviclip in interface to load the other swf and xml. I am not using any moviclip in intro file to load the interface swf for that i am using only the loader.

    Where are the files located relative to each other?  If the intro and interface are in different folders then the problem could be that you need to adjust the path the interface uses for targeting the files it loads.

  • How to display the data in XML files into JSP using Jdeveloper.

    Hi All,
    I have two XML files one XML file has the view names and the other has the table names of a particular views, how to display the data in JSP using JDeveloper where when i click a particular view the list of tables of that particular view from XML file two should be displayed in JSP Page.
    Are there any reference documents, regarding the above process please can anyone guide through how to do it.

    Let the servlet ask your business tier to provide the data, then stuff it into beans, and pack those into the Session instance. Then forward the request to the JSP, let the JSP get those beans and display them.

  • How to remove the item content from my alert Template (alerttemplates.xml) .

    I have enabled alerts to be send from my enterprise wiki & announcement list. Currently the alert email, will display the item content inside the email (the wiki page content or the announcement list content), which i do not want to have. So is
    there a way to remove the item content , so my alert message contains only the following info such as:-
    Our Group Intranet
    TestItem has been added
    Modify my alert settings
    |
    View TestItem
    |
    View News & Announcements
    |
    Mobile View

    Hi johnjohn123,
    According to your description, my understanding is that you want to change the notification message in the alert template.
    You can edit the ImmediateNotificationExcludedFields and DigestNotificationExcludedFields tags to achieve it. After editing the xml, remember apply the template
    to your site using the command below.
    execute command stsadm -o updatealerttemplates -filename <your modified xml file> -url <your site>
    Also, It is not suggested to edit the alert template directly, I suggest you back up the template firstly before customization.
    More information:
    How to change alert email notification message:
    http://dirkvandenberghe.com/2008/01/08/how-to-change-the-alert-email-notification-message-for-announcements.html
    AlertTemplates schema:
    http://msdn.microsoft.com/en-us/library/office/bb802961(v=office.15).aspx
    Best regards,
    Zhengyu Guo
    Zhengyu Guo
    TechNet Community Support

Maybe you are looking for

  • Need to transfer my whole contacts from my pc to iphone

    i transfered whole contacts from my nokia to pc .Now i need to transfer these contacts to my iphone4

  • Performance issue in ABAP

    Hi, This issue is becoming very big challenge for us.    "select adrnr            tplnr     appending table i_iloa     package size 50000     from iloa     where tplnr in s_mprn2     and owner eq '2'.   endselect. like this i have some other select s

  • Why a semi-colon is not enough when creating packages and package bodies?

    Hi, I'm struggling with a quite simple problem - when creating a package header and body in the same script, it does not work as expected. See for example this very simple package: CREATE OR REPLACE PACKAGE mypackage AS PROCEDURE test_proc(id INTEGER

  • Substitution exit for asset master is not getting triggered.

    Hi I have created a substitution exit program ZGGBS000 having exit U215 and U216. If the Asset affirm value is initial , then WBS elemnt value will copied to asset affirm value field in the table ANLA.But it is not getting tiggered, when i am trying

  • How to recognize FLVPlayback Component

    Publish to Flash 8 and using the FLVPlayback component as part of a larger elearning course. We have a legacy pause button that works by recursively looking through every item on stage and if the item is a movieclip following its children and so on.