Connecting a KM repository from another portal to KM via WebDAV - meda data

Hello there,
we are evaluating the option of connecting a KM repository from another portal to KM via WebDAV in our Federated Portal Scenario (in fact, we wish to get rid of the the remote roles as soon as possible).
This can be accomplised as described here [Connecting a KM repository from another portal to KM via WebDAV|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2783].
Or for BI as described in Note 969040 - Federated portal network and Information Broadcasting .
One question : in case meta- data properties are set, where are these stored? In the consumer portal, or in the source system, the producer portal?
I.e when I set properties on documents of the WebDav repository, and I go to the source system, will the same meta- data properties be set there?
Many thanks!

For testing I've integrated the remote KM repository as WebDAV and enabled the properties repository service :
- custom meta- data defined on the source (producer) KM system is not visible in the consumer portal if no value has been set on the source system :
Let's say you have a property 'country' on the source system, define a value for it + save, you can view the property in the consumer system.
- if you define both the same properties in consumer & producser system, you can view the properties in both system, and the value set in either one of the systems is displayed in both of them.
In short : the custom meta-data properties need to be defined on both systems

Similar Messages

  • How to Upload a file to KM Content repository from a Portal Application

    Hello All
    I have a urgent requirement where i have to upload a file to a KM Content Repository from my Portal Application which is a JSP DynPage Component..
    I am new to the area of Knowledge Management...Can anyone guide me of how to achieve this functionality from my component..
    I will be highly obliged..
    Thanks
    Sundeep

    Hello Sundeep,
    Check this:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=241883
    One more important doc:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f7ced90-0201-0010-589f-8eff15a14072
    Sample coding for content creating and retrieval
    String out = new String(“my content”);
    ByteArrayInputStream data = new
    ByteArrayInputStream(out.getBytes());
    IContent newContent =
    new Content(data, “text/plain”,
    data.available());
    resource.updateContent(newContent);
    IContent oldContent = resource.getContent();
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers
    Message was edited by:
            Praveen Gudapati

  • Connecting to a database from another computer...

    hi guys!
    i just wonder if there is a simple way to connect to my database from another computer?
    do you have to change something in this method?
        private static Connection getConnection() {     Connection con = null;     try {         Class.forName("com.mysql.jdbc.Driver");         String url = "jdbc:mysql://localhost/Movies";         String user = "root";         String pw = "x";         con = DriverManager.getConnection(url, user, pw);         System.out.println("****Connected****");     }     catch (ClassNotFoundException e)     {         System.out.println(e.getMessage());           System.out.println("1");         System.exit(0);     }     catch (SQLException e) {         System.out.println(e.getMessage());           System.out.println("2");           System.exit(0);     }         return con;     }
    thanks! :)
    Edited by: Shaor-1 on Dec 22, 2008 3:47 AM

    hey!
    is there no one who knows how to do this?
    Here is my program that i want to change so it can connect to my mysql database but from another computer.
    import java.sql.*;
    import java.text.NumberFormat;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    public class ListMovies {
            static String exist = "existed";
        static int ye = 2221;
        static double pr = 21.12;
    public static void main (String[] args) throws InterruptedException {
    go();
    public static void go(){
           NumberFormat cf = NumberFormat.getCurrencyInstance();
        for(int i = 0; i < 1; i--){
        ResultSet movies = getMovies();
        try
            while (movies.next()){
                Movie m = getMovie(movies);
                String msg = Integer.toString(m.year);
                msg += ": " + m.title;
                msg += " (" + cf.format(m.price) + ")";
                System.out.println(msg);
              Thread.sleep(1000*10);
                catch (InterruptedException ex) {
                    Logger.getLogger(ListMovies.class.getName()).log(Level.SEVERE, null, ex);
                }    catch (SQLException e)
            System.out.println(e.getMessage());
    public static void loanMovie(String d) {
        Connection con = getConnection();
        try {
            Statement stmt = con.createStatement();
            String insert = "insert into movie "
                    + "(title, year, price) "
                    + "values ("
                    + "\"" + d + "\"" + ", "
                    + ye + ", " + pr +");";
            int i =stmt.executeUpdate(insert);
            if (i == 1){
                System.out.println("Loan recorded");
            else
                System.out.println("Loan not recorded");    
        catch (SQLException e){
            System.out.println(e.getMessage());
            System.out.println("CRAP"); 
    private static ResultSet getMovies()
        Connection con = getConnection();
        try {
            Statement s = con.createStatement();
            String select = "Select title, year, price " +
                    "from movie order by year";
            ResultSet rows;
            rows = s.executeQuery(select);
            return rows;
        catch (SQLException e)
            System.out.println(e.getMessage());
        return null;
        private static Connection getConnection() {
         Connection con = null;
         try {
             Class.forName("com.mysql.jdbc.Driver");
             String url = "jdbc:mysql://localhost/Movies";
             String user = "root";
             String pw = "x";
             con = DriverManager.getConnection(url, user, pw);
             System.out.println("****INFO****");
         catch (ClassNotFoundException e)
             System.out.println(e.getMessage());
               System.out.println("1");
             System.exit(0);
         catch (SQLException e) {
             System.out.println(e.getMessage());
               System.out.println("2");
              System.exit(0);
            return con;
        private static Movie getMovie(ResultSet movies) {
            try {
                String title = movies.getString("Title");
                int year = movies.getInt("Year");
                double price = movies.getDouble("price");
                return new Movie(title, year, price);
            catch (SQLException e)
            System.out.println(e.getMessage());   
            return null;
        private static class Movie
            public String title;
            public int year;
            public double price;
            public Movie(String title, int year, double price)
                this.title = title;
                this.year = year;
                this.price = price;
    BTW_
    my computers ip is: 81.229.40.17
    the database is on that computer.
    thanks!

  • Connect to Oracle 9i from another User

    I have Oracle 9i Installed on my machine and works fine.
    But I can not connect to to it from another user on the same machine (That has a domain other than my machine)
    How I can solve this?
    (Both users have Adminstrator rights)

    One post please.
    Limited Info would lead me to respond that you should try the:
    . oraenv script in a bash shell. But there could be many other problems...

  • I am wanting to put the new firmware on to my iPhone 4 and am wondering if I do this from another computer will I loose all my data - i.e music

    I am wanting to put the new firmware on to my iPhone 4 and am wondering if I do this from another computer will I loose all my data - i.e music

    No you will not lose any data. However a pop up will come up telling you if you want to sync with this computer, and that if you do, that it will erase the data. Just click "No" and you can still update your phone. I've done this a few times.

  • Connection to the repository from AMT application

    Hello all,
    I have the following issue:
    - I had Mobile Sales installed in my laptop.
    - I have installed AMT application afterwards, by executing application SetupAMTRTOs.exe (no connection parameters where asked for this).
    - I have created ODBC access to the Repository server (to the ars_db), Tested and it is OK.
    -  I have assigned AMT user subscription and Authorization subscriptions to my site.
    When I launch AMT, logon works OK, but message says: "Cannot connect to repository", then I cannot access objects from the repository.
    What should I do to connect to the repository?
    Thanks all!
    Judit.

    Hi,
    I remember there is (should be) another registry node for the amtbol settings (as AMT is using a different BOL than MSA) -> see below for 4.0...
    Did you also change the user/pwd for the DSN?
    Regards,
    Wolfhard
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol]
    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol\ars]
    "RelativePath"="
    bol
    apps
    amtbol
    ars
    "Path"=""
    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol\msgInfo]
    "RelativePath"="
    bol
    apps
    amtbol
    msginfo
    "Path"=""
    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol\VBA]
    "RelativePath"="
    bol
    apps
    amtbol
    vba
    amtbol
    prj"
    "Path"=""
    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\CRM\Mobile\BOL\Apps\amtbol\VBA\BOL]
    "0"="amtbol.classFactory"

  • Connect to oracle xe from another machine

    How i can set oracle xe for connect from another machine
    i can connect with :
    sqlplus system/pass@xe
    listener and tnsnames are fine
    on base machine, but I can't do it from another machine
    i can't do it with html db (from browser), too
    ist it possible and how ?

    Do you have updated the tnsnames.ora file on your client box before you have tried to access the remote machine? Can you please post the error message you receive.
    If you have set the TNSNAMES.ora please try to resolve the remote database with TNSPING.. Can you also please post the results of this?

  • Viewing the content  from another portal

    hi all,
    i have a scenario like this:
    there are 2 portals portal A and portal B. In portal A i have certain worksets. now i have to view these worksets from portal B.
    i have created a system for this in portal B. but how to view the worksets?
    any help in this regard will be greatly appreciated.
    Regards,
    Purushothaman.

    hi,
    Global portal concept helps in sharing information from one portal to another.
    See this documents
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/webinars/implementing a global portal strategy.pdf
    All for One and One for All - New Functions for the SAP NetWeaver Portal in 2004s
    Regards,
    Ganesh

  • How to restore a repository from another configuration/env?

    Hello,
    We've lost our 3.1 VM servers and manager. I've recreated a brand new set of servers and 1 manager and we are now running 3.2.
    1- How can I restore the repository (I see the LUNS) to the new server set ? Should I recreate one ? Will it detect it's already containing a repository made of OCFS ?
    2- What kind of issue should I expect on the VM side ? Will the repository be named the same internally and my files referenced correctly ? Can I rediscover the disk and change the configuration from the Manager ?
    Another way to look at this scenario (even though it has not been the case), is I've switch my repository to a remote site. I have a brand new set of servers/manager. How do I recover my repository without copying GB of VMs?
    Thank you for your help. As you can imagine, you will be more than welcome to help in here. Best Regards,
    Gregory

    Hello,
    1) You are absolutely right: I had to rebuild an OVM Manager with the same UUID from the original one. I've got the UUID from .ovsrepos file located in the repository. Other than that impossible to recover it! -Thank you very much for the hint...
    2) I've also faced an issue due to the fact the pool UUID is different from the rebuilt one. I had to apply note "Rediscover an Existing Repository in Oracle VM 3.1.1 [ID 1469703.1]" to change the pool ID from the FS and remount the FS
    IMPORTANT: Refresh the "Shared Filesystem" in the console AFTER you change the pool ID. If some inconsistent entries get registered in the OVS Repository, you'll get OVMRU_002037E errors. This is very annoying because this is the case even after you've fixed everything on the pool. The error actually comes from the repository check and doesn't seems to be able to recover by itself even if you refresh the Shared Filesystem.
    3) To ease and speed up things, I would suggest to backup the manager once re-installed. This should be faster to recover it.
    4) For some reasons, I could only recover the disks and not the VMs ! (No big deal since that was my primary concern). VMs appear in the Repository but not in the pool once the repository is published to the pool. The best solution I've found is to delete the VM directories first and recreate the VM manually from the screens once the directory restored.
    Thank you again. Best Regards,
    Gregory

  • Connecting to an ejb from another appserver

    Hello,
    I need to connect to an EJB running on a company's REMOTE Weblogic
    appserver. I have done so using normal class files but now I wish to use an
    EJB to do so. I am using Jboss but am getting errors from Jboss saying that
    it cannot find certain files. Should I be able to connect to the remote
    Weblogic server simply by giving JBOSS the url/t3 of it? This is what I am
    doing in the JBOSS deployed ejb:
    Properties properties = new Properties();
    properties.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    properties.put(Context.PROVIDER_URL, "t3://xxx.xxx.xx.xx");
    InitialContext ctx = new InitialContext(properties);
    should I just be using JBOSS context factory in my bean code or do I need
    weblogic's? Doing this the way I am above, Jboss says it cannot find
    "weblogic.jndi.WLInitialContextFactory". So I jared up the parent directory
    inserting it into jboss and the next time it told me it couldn't find
    com.java.util.collections.ArrayList. So I jarred up the com directory from
    weblogic and gave jboss access to it. I now get a classnotfound for a class
    which IS contained in the com directory which is now available to Jboss.
    This tells me that I am going about this THE WRONG WAY. If anyone can help
    or point me to a tutorial telling me how I can use another appserver to
    connect to a remote Weblogic Server I would greatly appreciate it.
    Troy Harris

    Easier said then done (getting the higher ups to spend money on an expensive
    ejb server right now).
    Thanks,
    Troy Harris
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]..
    No, you would need the weblogic classes on the client-side. You'd be
    better off developing your ejb in wls.
    -- Rob
    Troy Lejuan Harris wrote:
    Hello,
    I need to connect to an EJB running on a company's REMOTE Weblogic
    appserver. I have done so using normal class files but now I wish to
    use an
    EJB to do so. I am using Jboss but am getting errors from Jboss sayingthat
    it cannot find certain files. Should I be able to connect to the remote
    Weblogic server simply by giving JBOSS the url/t3 of it? This is what Iam
    doing in the JBOSS deployed ejb:
    Properties properties = new Properties();
    properties.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    properties.put(Context.PROVIDER_URL, "t3://xxx.xxx.xx.xx");
    InitialContext ctx = new InitialContext(properties);
    should I just be using JBOSS context factory in my bean code or do Ineed
    weblogic's? Doing this the way I am above, Jboss says it cannot find
    "weblogic.jndi.WLInitialContextFactory". So I jared up the parentdirectory
    inserting it into jboss and the next time it told me it couldn't find
    com.java.util.collections.ArrayList. So I jarred up the com directoryfrom
    weblogic and gave jboss access to it. I now get a classnotfound for aclass
    which IS contained in the com directory which is now available to Jboss.
    This tells me that I am going about this THE WRONG WAY. If anyone canhelp
    or point me to a tutorial telling me how I can use another appserver to
    connect to a remote Weblogic Server I would greatly appreciate it.
    Troy Harris

  • Establish Database connection to connect to OEM Repository from Agents

    I have a requirement to establish Database connection from Agent through Plug-in.
    Ex:
    My plug-in metadata will have a perl script which gets executed in each individual agents and it should connect to the OEM Repository database to execute a package.
    Your Help is Appreciable.

    You would have to take in all of the information needed to connect to the database as instance properties for your target type. So each time someone creates an instance of your target type, they'd have to enter the connection details for the repository database.
    The specifics of what are needed should be in the extensibility guide where the SQL fetchlet is documented.

  • Problem connecting to SVN repository from Safari, works with FF

    *Hello guys,*
    I have a problem with Mac at work. I need to connect to internal SVN repository (https) first with Safari to see if everything is ok and then with my development client/tool - Eclipse.
    Neither works! It just keep connecting and it does not go further.
    But when I put SVN url in Firefox (FF) it ask me for SVN password and let me in. IT WORKS...
    Probably there is a problem with Keychain because it does not even ask me for password. I just see page loading in Safari but nothing happens. Also in Eclipse, nothing happens when I try to add SVN repository location.
    Other guys with MS and Ubuntu PCs can connect to SVN (FF and Eclipse) with no problem.
    Where is the problem?
    Why my Mac could not connect to this particular SVN.

    I digg some findings. When I open the page with Google Chrome it also does not load any thing, just keep loading.
    But when I open SVN url (ssl) with Opera, it behave like Firefox. First it tells me that this site is not trusted and after confirming this alert I get password promt and everything is ok.
    But there is still problem with Safari and Eclipse. Has Keychain anything here to do with this ???

  • Importing Worksets from another Portal

    I have two portals Dev and QA.  In QA I have the Workset Folder but no content.
    I have tried exporting from Dev to QA and it seems to have worked and tells me that I have imported the Workset into QA.
    However, when opening the Workset folder in QA there is nothing there.
    Am I missing a step in the transport process?

    hi,
    Nothing silly!
    Under system administration > export > portal content
    Right click on it and select new transport package.
    Also have a look at this
    http://help.sap.com/saphelp_nw04/helpdata/en/91/4931eca9ef05449bfe272289d20b37/frameset.htm
    Regards,
    Ganesh

  • Call Program from another Program using varient via Selection Screen

    I am calling a standard report from my Z Program via Selection screen.
    Is there any way to hide the Execute button that is seen when we see the called program selection screen?

    Hi Shyam,
                      Thanks for the quick reply.
    But my requirement is to show the selection screen of called program as i need to make some values changes in the selection Screen.
    However, the user can accidently click the execute button which i dont want thats why i need to hide the execute button.
    My aim is to change values of selection screen but nto execute it.
    Is it possible?

  • Print pdf from another frame in IE via javascript

    I am responsible for a little web application. There we have 2 frames. In one frame is an pdf-file, this frame is not visible for the user. In the other frame is an button. By clicking the button the pdf-file should be printed.
    The onclick event handler of the button looks like that:
    parent.pdf.focus();
    parent.pdf.print();
    This works with firefox with all acrobat reader versions and IE up to acrobat reader version 6. But there is a problem with IE an adobe reader plugin version 7 and 8. In this constellation the user is presented the normal printing dialog of the IE and not the printing dialog of the adobe reader plugin.
    Is there any workaround to solve the problem.
    Pressing the print-button of the adobe reader plugin is no solution because the frame with the pdf-file is not visible for the user.
    Thanks a lot
    Matthias G.

    iText creates PDFs, but it doesn't print PDFs. I'll look at gsprint; hopefully, it'll do what I need it to do. I do have the luxury of knowing that all users will have a version of Acrobat Reader, so it's too bad I can't kick off a process. The best I could do is kick the process off using Acrobat Reader to open the file and then print from the menu. This won't work since I need a way to ask for type pdf and have windows use the version registered, not the version hardcoded.
    For example,
    Process pr=null;
    String arr[] = {"C:\\Program Files\\Adobe\\Acrobat 5.0\\Reader\\AcroRd32.exe",tmpf.getPath()};
    try {
    pr = Runtime.getRuntime().exec(arr);
    } catch (Exception e) {
    e.printStackTrace();
    //Handle the exception
    I tried using AcroRd32.exe, but it failed in finding it. Anyway, this would be last resort, since the user wants to press a Print button and grab it from the printer. I looked at the Java Print API (we are still on 1.2.2.008, so it'll be end of year before making the leap to 1.4) and it's worse than getting a root canal without novacaine.

Maybe you are looking for