Adding content from a database

Hi there, I'm looking for a way to add content to a JComboBox from a database. I have the code to connect the database to my application working fine but am struggling to find the appropriate way to make my JComboBox display data from my database. I'll leave all the code I have at present...
import java.sql.*;
import java.io.IOException;
import java.io.*;
import java.util.Properties;
public class ConnectDB {
     public static void init(String fileName)
     throws  IOException, ClassNotFoundException
          Properties props = new Properties();
          FileInputStream in = new FileInputStream(fileName);
          props.load(in);
          String driver = props.getProperty("jdbc.driver");
          url = props.getProperty("jdbc.url");
          username = props.getProperty("jdbc.username");
          password = props.getProperty("jdbc.password");
          Class.forName(driver);  
     public static Connection getConnection() throws SQLException
          return DriverManager.getConnection(url,username,password);
     private static String url;
     private static String username;
     private static String password;
}     (I obviously have a text file in my folder with my connection details)
Then I'm trying to build a GUI in netbeans that will retrieve and update my database so I have something like this...
    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        jComboBox1.addItem("Please Click Button");
        try{
        ConnectDB myDB = new ConnectDB();
        myDB.init("DBoracle.txt");
        Connection conn = null;
        conn = myDB.getConnection();
        String query = "select * from Employee";
        Statement stmt = null;
        stmt = conn.createStatement();
        ResultSet rs = stmt.executeQuery(query);
        rs.next();
        String s = rs.getString(2);
        //Return the second entry from my database and add it to my JComboBox
        // in theory i'll be adding a loop later to add all the entries to my JComboBox
        jComboBox.setItem(s);
        catch(Exception e){}
    }                                     

Thanks cotton for at least trying to point out my errors, I am only too aware of my lack of experience in doing this sort of thing hence why I'm posting here I'm a student trying to learn about these things and at the moment am admittingly struggling with it. I have read and followed the JDBC tutorial, infact that's where I started with this but it is at best limited and could maybe do with some more sample code on expanding the idea. It does however point to the fact that it is kinda limited in how it returns data:
The ResultSet.getXXX methods are the only way to retrieve data from a ResultSet object, which means that you have to make a method call for each column of a row. It is unlikely that this is the cause of a performance problem, however, because it is difficult to see how a column could be fetched without at least the cost of a function call in any scenario. We welcome input from developers on this issue.
Perhaps some of the developers on here could help solve this issue...
I know my code is a bit messy but it's the trial and error approach I use, cumbersome I know but it's all I know with my limited knowledge. Probably not the best for posting on here but this is my near complete code. The extra textfield will be used to return data from a trigger which tested ok too. So my problem is I want to make textfield1 a combobox that returns all my primary keys from my table and then I could click on one and all my textfields would reflect my choice. e I'm guessing I'd be using an actionListener approach? I don't need the actual code for it I'm quite happy to plough on and try and figure it out for myself cos it's how I'll learn just want a suggestion on how I would approach it..
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
public class NewJFrame extends javax.swing.JFrame {
    /** Creates new form NewJFrame */
    public NewJFrame() {
        initComponents();
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
   //Removed this code cos post too big!
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
        try{
        ConnectDB myDB = new ConnectDB();
        myDB.init("DBoracle.txt");
        Connection conn = null;      
        conn = myDB.getConnection();
        String query = "select * from SYSTEM.monitoringLab";
     Statement stmt = null;
        stmt = conn.createStatement();
        ResultSet rs = stmt.executeQuery(query);
        //rs.next();
        // this was being used earlier to test that I was getting my results set
        String s = rs.getString(1);
        String t = rs.getString(2);
        String u = rs.getString(3);
        String v = rs.getString(4);
        String w = rs.getString(5);
        String x = rs.getString(6);
        jTextField1.setText(s);
        jTextField2.setText(t);
        jTextField3.setText(u);
        jTextField4.setText(v);
        jTextField5.setText(w);
        jTextField6.setText(x);
        conn.close();
        stmt.close();
        catch(Exception e){
        System.err.println("Got an exception! ");
        System.err.println(e.getMessage());
    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
        jTextField1.setText(null);
        jTextField2.setText(null);
        jTextField3.setText(null);
        jTextField4.setText(null);
        jTextField5.setText(null);
        jTextField6.setText(null);
    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
        try{
        ConnectDB myDB = new ConnectDB();
        myDB.init("DBoracle.txt");
        Connection conn = null;
        conn = myDB.getConnection();
        Statement stmt = null;
        stmt = conn.createStatement();
        stmt.executeUpdate("INSERT INTO SYSTEM.monitoringLab values ("
                + jTextField1.getText() + "," + jTextField2.getText() + ","
                + jTextField3.getText() + "," + jTextField4.getText() + ","
                + jTextField5.getText() + "," + jTextField6.getText() + ")");
        conn.close();
        stmt.close();
        catch(Exception e){
        System.err.println("Got an exception! ");
        System.err.println(e.getMessage());
    * @param args the command line arguments
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new NewJFrame().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JTextField jTextField4;
    private javax.swing.JTextField jTextField5;
    private javax.swing.JTextField jTextField6;
    private javax.swing.JTextField jTextField7;
    // End of variables declaration
}Edited by: jojololo on Dec 11, 2009 4:44 AM

Similar Messages

  • Deleteing the contents from the database table

    The aim of this code is to delete the whole contents from these 12 tables.  Is there any way to write the code more efficiently.
    TABLES: ZFFMCTL_AP, ZFFMHDR_AP, ZFFM_CHANGE_LOG, ZFFMDTL_AR, ZFFMHDR_AR,        ZFFMDTL_JV, ZFFMHDR_JV, ZFFMDTL_SKF,ZFFMHDR_SKF,ZFINVOICE_DETAIL,       ZFFMMASTER, ZFFMLOGREAD_CLUS, ZFFMCTL.
    DELETE ZFFMCTL_AP.
    IF SY-SUBRC = 0.
       DELETE ZFFMMHDR_AP.
       IF SY-SUBRC = 0.
          DELETE ZFFM_CHANGE_LOG.
          IF SY-SUBRC = 0.
             DELETE ZFFMDTL_AR.
             IF SY-SUBRC = 0.
                DELETE ZFFMHDR_AR.
                IF SY-SUBRC = 0.
                   DELETE ZFFMDTL_JV.
                   IF SY-SUBRC = 0.
                      DELETE ZFFMHDR_JV.
                      IF SY-SUBRC = 0.
                         DELETE ZFFMDTL_SKF.
                         IF SY-SUBRC = 0.
                            DELETE ZFFMHDR_SKF.
                            IF SY-SUBRC = 0.
                               DELETE ZFINVOICE_DETAIL.
                               IF SY-SUBRC = 0.
                                  DELETE ZFFMMASTER.
                                  IF SY-SUBRC = 0.
                                     DELETE ZFFMLOGREAD_CLUS.
                                     IF SY-SUBRC = 0.
                                        DELETE ZFFMCTL.
                                     ENDIF.
                                   ENDIF.
                                 ENDIF.
                              ENDIF.
                           ENDIF.
                        ENDIF.
                    ENDIF.
                 ENDIF.
               ENDIF.
            ENDIF.
         ENDIF.
    ENDIF.
    This is very urgent,
    Thanks in advance
    John

    Hi ,
    One more thing , Deleting conents of all table in single Loop may cause program .
    This depends on How much data you have in you Table . IF the data is Huge you can split the tables to be deleted . Check for Entry Exists in Table , if not go for Deletion  in the same pre-requisite order.
    Regards,
    sudhi

  • How to display contents from a database to a jsp page

    hi im using hibernate , i want to display the conetents from a databse to jsp page which is having a form
    i want to get the data on the form fields after changing the values i want to write it back to the database
    im using struts and hibernate
    im struck with this plz help me

    j2ee_struts_hibernate wrote:
    hi im using hibernate , You probably shouldn't be using Hibernate.
    i want to display the conetents from a databse to jsp page which is having a form "contents", "database"
    i want to get the data on the form fields after changing the values i want to write it back to the databaseWhat don't you understand? (Sounds like you don't understand anything.)
    im using struts and hibernate How well do you know Struts? Hibernate? JSP? Java?
    im struck with this plz help meAsk a specific question and we'll see what we can do.
    Write a JSP with the form in it; submit to Struts; Struts interacts with the database. That's the flow.
    %

  • CREATING A CODE WHICH GETS CONTENT FROM ACCESS DATABASE

    HI .I kindly ask you to help me to get a code in visual basic. The system keeps the START_DATE and END_DATE of several items in DataGridView of access databases . like if Start_date is today and end_ date
    is tomorrow but one,then If the end_date comes , should show a massage like "CONGZ!! TODAY IS YOUR BIRTHDAY". Thank u very much 
    [email protected]

    Hi Eustus Muhanguzi,
    for keeping your own privacy, please remove your email address from your message by clicking the "Edit" link above the message.
    I'm not sure if I understood your question correctly. Do you want to get this message at midnight at the transition from End_Date - 1 to End_Date?
    I suggest you add a Timer that ticks every second or every couple of seconds.  Whenever it ticks, compare DateTime.ToDay to End_Date.Date. You can do this in a loop processing all rows from the DataGridView (DGV). If the End_Date is reached, you have
    to remember that for this row the day has already been recognized as the birthday. You can do this in the same row or by keeping another List. After that, call MessageBox.Show to display the message.
    Please let us know if the DGV is data bound or unbound.
    It is not clear what happens if the program is not always running. If it is started at End_Date, midnight has already been passed.
    I do not see which role the Start_date plays in this comparison.
    Armin

  • Repeating XML content from db and linked images

    I'm using XML to flow content from a database into an ID CS2 pub. There will be an .ai file associated with each record which will be placed into a tagged inline frame in each repeating element. I would like to store the .ai files in their own directory and have a field in the database that references the path to each specific file for each particular record.
    So...do I simply need to put a placeholder image in the layout and tag the path to the link with the same name as the db field referencing the image path? How do I tag the path to the linked image?
    On a related note, I would also to include a symbol with certain records (there's a field in the db that's a "yes-no" checkbox--if this box is checked for any record, I would like the symbol to appear on the page with that record).
    Hope I'm being clear here.
    Thanks for the help.

    Hello bshannon,
    Thanks for your answer, I tried your suggestion but when I use URLDataSource I get the error message http 500 (in my original post I said that using URLDataSource the mail was sent but without the image... my mistake, I was getting this same error). I traced the error and I found that it is caused by a null pointer exception... let me explain
    This is the code for the jsp that returns the image:
    4        <jsp:useBean id="coverImage" class="com.mqm.struts.getImageAction" scope="session" />
    5       <%
    6           // Desired size of the image to return
    7           int heigth = Integer.parseInt(request.getParameter("heigth"));
    8          int width = Integer.parseInt(request.getParameter("width"));
    9          
    10          // Each item can have up to 6 images (ordered by id), this indicates wich of one we have to return
    11            int imageIndex = Integer.parseInt(request.getParameter("imageIndex"));
    12        byte[] imgData = coverImage.getItemImageAction(request.getParameter("itemId"), request,heigth, width, imageIndex );
    13        response.setContentType("image/jpeg");
    14        OutputStream o = response.getOutputStream();
    15         o.write(imgData);
    16         o.flush();
    17         out.clearBuffer();
    18         o.close();
            %> getImageAction is my DAO class that actually reads the image data from the DB, when I use this 'getImage.jsp' inside any other jsp in the app it works, but when used as described in the first post the request parameter in the line 12 doesn't have the session info, apparently creates a new session or something and since I use information in the session to create the DAO factory I can't connect to the DB and get this error..
    pls tell me if I explained my self or I'm just talking non sense
    regards

  • Can BPEL handle file attachment from oracle database?

    Hello All,
    Need some help for this below incident.
    1. user attach a file from Human Task Work List. (this will store the attachment into the database)
    2. Get the attachment from the database.
    3. Sent it via email as attachment. (attachment can be all types of file format)
    Question.
    1. Is this possible to be done?
    2. I manage to decode and sent successful as an attachment in .txt format only. But for others i can't, any idea? i get this error in my flow (XML Parsing Error: reference to invalid character number)
    your help will helped others as well. Thanks

    Hei all.
    I get it works already. Direct copy the content from the database with the email content body.
    Problem is:
    1. PDF with large size will fail. (That's why I keep on getting error) but anyone out there know whats the size of the limit?
    2. It wont work for Text file. Its shows base64 format. I not sure why this is happen. But this can be fix with a base64 encoder.

  • Adding contents to Existing web applicaitons

    Hi All,
    Following link talks of adding contents from oracle content server to exsting webapplications. Does any one has an idea or some sample examples on this.
    http://www.oracle.com/us/products/middleware/content-management/revolutionary-one-click-mgmt-ds-077616.pdf
    I tried adding Site studio tag libraries to a webapplication, that shows site studio services in the component panel. Such as Placeholder, DataFile, IdcService, which I can drag and drop on the jsp page. When I run the application, it gives me follwoing error
    "oracle.stellent.wcm.server.request.RequestException: No sites are configured"
    Could you please provide some pointers.
    Regards,
    Sanjay

    Hi
    When you have to run the sites / contents from UCM on an external application then you will have to create a Site using SS Designer - Create the Sections / Pges /Layouts . These Pages / Layouts are where your Placeholders would be placed which can be then ported to an existing external application / site and used to retrieve contents from UCM .
    If you are using UCM 11g then you can use Jdev to port your existing application on Jdev and add the Site Studio elements / assets to these apps directly . In SS / UCM 11g there is this added capability to have a completely external site (w.r.t UCM) and run your applications .
    Hope this helps .
    Thanks
    Srinath

  • How to retrive contents from SCM system to EP

    Dear All,
    I want to add newly added contents from SCM system to EP.
    What is the best possible way to do that..
    Regards,
    Aditya

    Hi,
    thnks for your concerns pradeep n ameya,
    Pradeep as per your point , see the scene is like this ->There is an existing iview which contains one drop down box in those boxes there are entries of various planning books made by SCM consultants, So now he has made new ones so i want to add those also with the existing ones on the same iview.
    is it possible ?
    I hope now you will understand my problem or still i elaborate ?
    plez reply
    regards,
    Aditya

  • Everything is updated!!  iPhone, iPad, iTunes and MacBook Pro...  All I am trying to do is drag content from my iTunes Library to the devices.  iTunes gets stuck EVERY single time!  What usually triggers the Non-Sense is when I am adding a 2nd file!

    Everything is updated!!  iPhone, iPad, iTunes and MacBook Pro...  All I am trying to do is drag content from my iTunes Library to the devices.  iTunes gets stuck EVERY single time!  What usually triggers the Non-Sense is when I am adding a 2nd file!
    Why does iTunes SUCK??
    1) Many items greyed out in the menu bar, for well over 2 years, maybe more!
    2) I Can't drag more than one piece of content from your iTunes library to any device (iPhone, iPad)
    If you do it gets stuck for HOURS and HOURS in "Preparing To Update" and the little activity circle never completes, ever!!
    I used to be able to drag over 1000 tunes, movies, etc. go have breakfast come back and it would all be on my device!!
    Can't do it anymore, one song at a time, maybe an album at a time, or one movie, and that is it!!
    If you do a 2nd item the other items stop loading and never continue!!
    This is so BAD, I don't understand how they don't have this fixed yet!!
    Please tell me I am not the only one!!
    ...and If I am tell me how to fix it!
    Very appreciated,
    Joe

    Everything is updated!!  iPhone, iPad, iTunes and MacBook Pro...  All I am trying to do is drag content from my iTunes Library to the devices.  iTunes gets stuck EVERY single time!  What usually triggers the Non-Sense is when I am adding a 2nd file!
    Why does iTunes SUCK??
    1) Many items greyed out in the menu bar, for well over 2 years, maybe more!
    2) I Can't drag more than one piece of content from your iTunes library to any device (iPhone, iPad)
    If you do it gets stuck for HOURS and HOURS in "Preparing To Update" and the little activity circle never completes, ever!!
    I used to be able to drag over 1000 tunes, movies, etc. go have breakfast come back and it would all be on my device!!
    Can't do it anymore, one song at a time, maybe an album at a time, or one movie, and that is it!!
    If you do a 2nd item the other items stop loading and never continue!!
    This is so BAD, I don't understand how they don't have this fixed yet!!
    Please tell me I am not the only one!!
    ...and If I am tell me how to fix it!
    Very appreciated,
    Joe

  • How to display the content from a file  stored in database

    when i am trying to display the content from a file which stored in database on oracle report 10g
    data are displaying as following. please help me to display the data in readable format
    <HTML LANG="en-US" DIR="LTR">
    <!-- Generated: 1/11/2006, postxslt.pl [1012] v1
    Source: amsug304286.xml
    File: amsug304286.htm
    Context: nil
    Tiers: ALWAYS
    Pretrans: YES
    Label: Release 12 -->
    <HEAD>
    <!-- $Header: amsug304286.htm 120.4 2006/11/01 20:57:29 appldev noship $ -->
    <!--BOLOC ug1_OMPO1010302_TTL--><TITLE>Product Overview (ORACLE MARKETING)</TITLE><!--EOLOC ug1_OMPO1010302_TTL-->
    <LINK REL="stylesheet" HREF="../fnd/iHelp.css">
    </HEAD>
    <BODY BGCOLOR="#F8F8F8">
    <A NAME="T304286"></A><A NAME="ProdOve"></A>
    <CENTER><H2><!--BOLOC ug1_OMPO1010302--><B>Product Overview</B><!--EOLOC ug1_OMPO1010302--></H2></CENTER>
    <p><!--BOLOC ug1_OMPO1010304-->Oracle Marketing drives profit, not just responses, by intelligently marketing to the total customer/prospect base. By leveraging a single repository of customer information, you can better target and personalize your campaigns, and refine them in real time with powerful analytical tools.<!--EOLOC ug1_OMPO1010304--></p>
    <p><!--BOLOC ug1_OMPO1006611-->With tools necessary to automate the planning, budgeting, execution, and tracking of your marketing initiatives, Oracle Marketing provides you with:<!--EOLOC ug1_OMPO1006611--></p>
    <ul>
    <li>
    <p><!--BOLOC ug1_OMPO1006612--><B>Customer Insight</B> - With sophisticated customer management and list generation, Oracle Marketing enables you to quickly generate target lists and segments using an intuitive user interface. The easy to use Natural Query Language Builder (NLQB) lets you query for customers or prospects using a natural language while hiding data complexity; fatigue management ensures that you do not over-contact the same customers with marketing messages; and predictive analytics helps you predict customer behavior that you can leverage to produce significant increases in marketing return on investments (ROI).<!--EOLOC ug1_OMPO1006612--></p>
    </li>
    <li>
    ls.<!--EOLOC ug1_OMPO1010304--></p>
    <p><!--BOLOC ug1_OMPO1006611-->With tools necessary to automate the planning, budgeting, execution, and tracking of your marketing initiatives, Oracle Marketing provides you with:<!--EOLOC ug1_OMPO1006611--></p>
    <ul>
    <li>
    <p><!--BOLOC ug1_OMPO1006612--><B>Customer Insight</B> - With sophisticated customer management and list generation, Oracle Marketing enables you to quickly generate target lists and segments using an intuitive user interface. The easy to use Natural Query Language Builder (NLQB) lets you query for customers or prospects using a natural language while hiding data complexity; fatigue management ensures that you do not over-contact the same customers with marketing messages; and predictive analytics helps you predict customer behavior that you can leverage to produce significant increases in marketing return on investments (ROI).<!--EOLOC ug1_OMPO1006612--></p>
    </li>
    <li>
    <p><!--BOLOC ug1_OMPO1006613--><B>Sales Alignment</B> - Oracle Marketing's leads management helps you compile and distribute viable leads so that sales professionals can follow up valuable opportunities and not just contact interactions. Additionally, support for distributing proposals and marketing material drive speedy and consistent setups and collaboration of best practices.<!--EOLOC ug1_OMPO1006613--></p>
    </li>
    <li>
    <p><!--BOLOC ug1_OMPO1006614--><B>Marketing Insight</B> - While Oracle Marketing Home page reports and Daily Business Intelligence (DBI) for Marketing and Sales provide aggregated management level information in almost real time, operational metrics help in tracking the effectiveness of individual marketing activities.<!--EOLOC ug1_OMPO1006614--></p>
    </li></ul>
    </BODY>
    </HTML>
    <!-- Q6z5Ntkiuhw&JhsLdhtX.cg&Zp4q0b3A9f.&RQwJ4twK3pA (signum appsdocopis 1162406236 2673 Wed Nov 1 10:37:16 2006) -->

    Hi,
    you can try to use the:
    <b>ConsumerTreeListPreview</b>
    layout for KM navigation ivew (or customize to your own).
    This layout shows a folder tree on the left, a document list on the right. When you click on a document from the list it shows the contents of the file on the bottom of the iview.
    Hope this helps,
    Romano

  • Failed to retrieve data from the database when adding jdbc datasource

    I'm having problems adding some tables to the selected tables list using the database expert.
    I get the error messages "Failed to retrieve data from the database" followed by "Unknown Database Connection Error".
    I thought it may be a permissions issue as it only affects some tables, but I can access the same tables fine using the same user through Oracle SQL Developer.
    The database is Oracle 10g Express Editions
    Crystal version is 12.0.0.683
    Running on Windows XP
    Any suggestions would be much appreciated.

    Hi Stuart
    Please refer SAP note 1218714 for this issue. The link to this article ia as follows:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733313334%7D.do
    You can search for this note on the SDN site.
    Hope this helps.
    Thanks!

  • Problem adding more than 1 table from a database

    I am running Crystal Reports 2008 on windows server 2008 and connecting to an ODBC database using IBM Client access driver.  When I create a new report and only add one table from the database, everything works fine.  If I try to go add a second table to the report, then I get an error - Crystal Reports has stopped working - there is no other useful information.  I have also tried creating a new report and adding 2 tables at the same time, it also blows up before I even get to the linking screen.
    I have also tried opening a report that was created in Crystal 11 that has 2 or more tables in it.  The report will open and run successfully in Crystal 2008.

    Hi Gwyn,
    Moved this post to the Database Connectivity Forum.
    Have you installed any CR patches? If not please do so. Also you can find our DataDirect ODBC drivers from this link also:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    Select Crystal Report, 2008 and you'll find Service Pack 2 and the Data Direct ODBC drivers. Try both and then reply if you have still have a problem or if it now works.
    Thank you
    Don

  • Adding a record from the database to radiobutton

    hi everyone
    i am trying to retrive the records from the ms Access database and add it to the radiobuttons.
    i did retrieve the data from the database and added it to the table and then added it to the radiobutton but the view of it is not clear.
    if anyone can give suggestions on it , it will be helpful
    thank you

    Can you elaborate on "but the view of it is not clear." ? Does it mean it looks blur on your monitor?? or it has been trying to hide at the corner of your screen??

  • Search content from seperate Content Database using Scope

    Hi there,
    I am asked to move all non-active old sites to a seperate Archive Content Database (ACDB). Management don't want to see any content from ACDB. If required to search content from ACDB, scope should be used anywhere in the webapplication to search only from
    ACDB.
    I am thinking to create a Archive Content DB and move all non-active site collection to it. Create a scope and make it available to all site collections.
    Is it so simple of I am missing some more steps.
    Please advise.
    Thanks
    Mickey

    Hi Mickey,
    Your direction is right.
    One point that you need to note is that you need to create the scope in SharePoint Central Administration, then configure the scope displaying in site collections.
    More information about how to configure scopes in SharePoint 2010, you can refer to:
    http://www.surfray.com/blog/2013/06/17/how-to-configure-scopes-in-sharepoint-2010/
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Migrating Publisher Database and related content from CMS in LSO

    Dear Folks,
    I am trying to migrate/move the published content from the existing server to a new server. My out come should be I should be play the same content through content player in the new server.
    What is the process that is generally followed while moving content from server to server and how the publisher database details are moved?
    Regards
    S

    Hey Hubert,
    Still I am trying to get a break through, but looks like this is a technical data migration (BASIS). I was able to freeze on the respective tables. Btw the content is not SCORM or AICC compliant so the learning transactional data will not take a hit while I am moving.
    Regards
    S

Maybe you are looking for

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All, I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on

  • "No iPod Connected" in iTunes under Edit - Preferences

    I bought this 20gb clickwheel iPod from a friend as a Christmas gift for my boyfriend... I'm trying to install it on my PC first so I can put some songs on it so it is ready to go when I give it to him. I do not have the original software that came w

  • Maintaining X-Axis Values

    I am trying to create a column chart from the following data with 'day' as the x-axis and 'sixes', 'sevens', and 'eights' as stacked series for the y-axis. Initially the data provider is 'arrayOne' but it then switches to 'arrayTwo' based on a timer.

  • Alot of my music wont play after getting ios7

    can anyone help me out with this?

  • AR01 problem

    Hi Gurus, While i run AR01,system shows following error: Fiscal year change not yet made for company code 3000 Message no. AB059 Diagnosis You have not yet carried out a fiscal year change for company code 3000, although the current system date is in