How to develop repository manager with initial folder structure

Hi 2 all!
I wonder if it is possible to create new repository programmatically with defined folder structure. I'm interested in solutions when repository manager is works with db or file system. Can you provide any example or tell me where can I define my structure?
thnx

Hi Nata!
Basicly this task consists of two steps:
1. Deploy a new configuration object for the repository manager
2. Create the intial folder structure
Step one is simple. Here is the configuration object of the repository manager for /documents. It's been exported from the KM configuration by using the standard export mechanisms. This can be included into a portal application project in Netweaver Studio.
documents.co.xml
<?xml version="1.0"  encoding="UTF-8" ?>
<!-- file generated by configuration framework Jun 27, 2008 9:16:36 AM -->
<Configurable configclass="CmRepositoryManager" owner="km.appl.rep.mgr.prjconfig">
<property name="ro-expiry-time" value="0"></property>
<property name="fsconttrack" value="true"></property>
<property name="poolid" value="dbcon_wcmdb_cm"></property>
<property name="securitymgr.aclcacheid" value="ca_rsrc_acl"></property>
<property name="localroot"></property>
<property name="serverfarm" value="false"></property>
<property name="propertysearchmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmPropertySearchManager"></property>
<property name="keepVersionHistory" value="false"></property>
<property name="securitymgr.aclcfg" value="acl_jdbc_rep"></property>
<property name="versioning.localroot"></property>
<property name="persistence.mode" value="db"></property>
<property name="hidden" value="false"></property>
<property name="fsnosync" value="false"></property>
<property name="cacheid.versionhistory"></property>
<property name="prefix" value="/documents"></property>
<property name="fsContentCacheMaxEntries" value="-1"></property>
<property name="fsContentCache"></property>
<property name="name" value="documents"></property>
<property name="cacheid.content"></property>
<property name="compressLimit" value="-1"></property>
<property name="cacheid.foldercontent"></property>
<property name="cacheid.properties"></property>
<property name="active" value="true"></property>
<property name="cacheid.rid"></property>
<property name="ignorerootdisplayname" value="false"></property>
<property name="class" value="com.sapportals.wcm.repository.manager.cm.CmRepositoryManager"></property>
<property name="cclist"></property>
<property name="intLinksDefaultDynamic" value="true"></property>
<property name="contentmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager"></property>
<property name="cacheid.documents"></property>
<property name="versioningmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmVersioningManager"></property>
<property name="securitymgr.w2kcfg.systemid"></property>
<property name="lockmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmLockManager"></property>
<property name="cacheid.locks"></property>
<property name="securitymgr.class"></property>
<property name="persistence.db.instance-id" value="documents"></property>
<property name="cacheid" value="ca_cm"></property>
<property name="namespacemgr.class" value="com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager"></property>
<property name="autoversioning" value="false"></property>
<property name="description"></property>
<property name="securitymgr.ref" value="AclSecurityManager"></property>
<property name="fsContentCacheLimit" value="100"></property>
<property name="propertymgr.class" value="com.sapportals.wcm.repository.manager.cm.CmPropertyManager"></property>
<property name="services" value="accessstatistic, com.dkv.DKVApprovalAndTranslation, com.dkv.jobtool.repository.JobToolCreationService, comment, discussion, feedback, layout, personalnote, properties, rating, statemngt, subscription, svc_acl, tbp"></property>
<property name="sendevents" value="true"></property>
</Configurable>
This is a DB repository. The config object for a filesystem repository might differ.
Step 2, the creation of the initial file structure may be done with in two different ways:
a) Include a Repository Service with your repository, which creates the folder structure on the first access of your repository.
b) Include a Portal app which has to be called once to create the folder structure.
For more info about using the API to create km folders take at look at this:
https://www.sdn.sap.com/irj/sdn/thread?threadID=933638&messageID=5663711#5663711
Cheers,
  Jürgen

Similar Messages

  • How to Link Solution manager with ECC?

    Hi Friends,
    i am new to solution manager. can any one help me how to link solution manager with other SAP servers like ECC, CRM, SRM? if anybody has paterial for the configuration can u send me, i will be very much thankful for that? my mail id is [email protected], [email protected]
    thank you,
    devendran.

    hi Nick thanx for you reply. i was trying your way and the pop-up  asking the System name, Product, Product version and the installation number. (is it the right screen which i am opening? if it is not then help me out).
    my doubt is what to give in the system name. i had given ECC500 and it is not taking. is there any specific charater to enter i this field? if it is there then where we are maintaining it?
    in the product field i entered SAP R/3 Enterprise and Product Version SAP R/3 Enterprise 47x200 from F4 option.
    the next doubt is what is the Installation number and what to give in that.
    Regards,
    Devendran

  • Building a war file with a folder structure

    How do a build a war file with a folder structure? I have code that creates JarEntrys and writes jar files and resource files etc. to the war. When I look at the war that gets created using winzip the path names for all the entries are correct and everything appears correct. When I try to deploy this to Tomcat nothing deploys. It appears my war is in a folder structure. How can a build this folder structure in the war? When I look at a good war using BeyondCompare I see folders and files in the folders just like I would see looking at a directory on my system. When I use BeyondCompare to view one of my "bad" war files that I have created everything is in the root. There are no folders and no folder structure. I am using the java.util.jar API to create the war but I don't see any methods or any API that will let me build up any sort of folder structure. It seems like I am missing something basic here.

    command is same for creating jar/war/ear.
    u simply need to execute jar /? for detail.

  • How to develop a report with current price &  the last price in the pre.yrs

    hi ,
    guys,
    my client want a report to list of material with respective vendor and to make a price comparison betn the current price & the last price in the privious year.
    can any one help how to develop the report, shall go for generic extrc.
    thanks in advace.
    ramnath

    CR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
    Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is  csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
    Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    More info on connecting to dbs and changing them is in the developer help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    More info on CR APIs for .NET (applies to all versions of CR and VS):
    Crystal Reports for Visual Studio 2005 Walkthro... | SCN
    You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
    More info on datasets:
    Crystal Reports Guide To ADO.NET
    Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
    For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Sample apps are here:
    NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    and here:
    Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
    More info on RAS SDK:
    How to Use The RAS SDK .NET With In-Process RAS Server
    Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
    - Ludek

  • How to create a table with just its structure in Access 2013?

    I have a front-end and back-end Access 2013 database. I want to send it to an MS Access development company. I cannot send it with any data because it has our members social security numbers and other personal identification data. In MS Access 2003
    I could save a table with just its structure.
    How do I save a table with just its structure? I want to learn how to do this.
    Thanks for the help.
    Robert

    On the Create tab of the ribbon, click Table Design.
    This opens the table design window, in which you can define fields and indexes without entering any data. Don't forget to save the design when you're done.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Trouble using cfincludes with multi-folder structure

    We are rebuilding our site using <cfinclude> to pull in
    standard headers and footers for each page. The headers and footers
    each have many links in them. How can we deal with the fact that
    the pages calling the cfincludes are not all at the same level in
    the folder structure? How can we create one include file for the
    header and one include file for the footer that can each be used
    throughout the site regardless of the level in which the calling
    page is located? Thank you.
    Cheers!
    James

    How can we create one include file for the header and one
    include file for the footer that can each be used throughout the
    site regardless of the level in which the calling page is
    located?
    Create the one header.cfm and the one footer.cfm. Include
    them in Application.cfm/OnRequestEnd.cfm or in Application.cfc.

  • ADF11g - integration with OIM -folder structure for OIM configuration files

    Hi All,
    I'm trying to make call to a remote OIM using OIM API, from my ADF backing bean onclick of a button
    on the JSPX page.
    I'm able to compile the page, but the issues I'm facing is that I'm not able to read the configuration details
    specified for OIM connectivity from the OIM configuration files (authwl.conf, xl.policy, xlconfig.xml).
    So do any one know what is going to be the folder structure for these config files (OIM), when we are integrating to
    this API from ADF backing bean.
    Thanks All .
    Thanks & Regards,
    Dharmathej M

    Hi Daniel, thanks for the response but i readed that doc before asking here and that's one of the reasons of my question.
    On the first line of the doc it says *"This appendix includes instructions that describe how to configure WebSphere so that Oracle Identity Manager (OIM) and Oracle Identity Analytics (OIA) can be installed on separate servers."*
    It assumes both products are on different servers and also the creation of an new profile and node for oia.
    WAS_NDS_HOME/AppServer/bin/manageprofiles.sh -create*
    -templatePath WAS_NDS_HOME/AppServer/profileTemplates/managed*
    -profileName oia-managed01 -profilePath WAS_NDS_HOME/profiles/oia-managed01*
    -nodeName oia-managed01-node01 -hostname hostname*
    Integrate the OIA node to the OIM Cell by typing the following command on the OIA Machine:*
    cd OIM_HOME/xellerate/setup; ./xlAddNode.sh oia-managed01 oia-managed01-node01 192.168.21.9 8883 xelsysadm password1*
    Our intention is to use same machines, servers,... oim is using so we don't need to use extra machines or create extra websphere objects.
    Any tips on that?
    Regards.

  • Hi. I am having trouble with the folder structure.

    I import my pictures like probably most Lightroom users.
    They go to:
    Pictures / (Year)  / (Subfolder name crated checking "Into Subfolder" during import)
    Recently, after upgrading to Yosemite, when I import to this structure, Lightroom creates a folder visually outside it. Above, the "01_Sao_Paulo" folder should appear inside 2015 while "12_Atacama" and "12_Hasselblad" under 2014. The right folders were actually created when I check them in Finder.
    And when I try to move the folders under the right folder structure, Lightroom recognizes  that the folder already exists.
    My question two questions are:
    1. How do I make the folders appear correctly under the right folder structure?
    2. How do I make Lightroom stop creating the folders outside the structure on my next imports?
    Thanks for any help.

    Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - rebuild your iPhoto library database
    LN

  • How to recreate enterprise manager with database vault

    I'm testing the Oracle database Vault option at database version 11.1.0.7 but there are some thing that does not work correct in the test. One of them is that I do not be able to recreate the enterprise manager repository. After probe several ways with database option enabled I decided to disable it. With the database vault option disabled I recreated the emanager ok but after enabled the database vault option again the database vault administrator does not browse for me:
    The firefox notice me an error with resource /dva.
    I hope you can help me.

    when you have vault on do you get errors in the realm audit reports ?
    or are you trying to create an oem repository in a vault enabled database ?

  • How to develop ADF Mobile with Oracle Database remotely

    As my company is using Oracle Database and using ADF to development many Web-based apps and We just begin to develop in ADF Mobile.
    We can't find any tutorial about to using Oracle Database with ADF, How we can using it in ADF Mobile ?
    Thanks for your help !

    Hi,
    ADF mobile supports SOAP and REST services for business services access. This means that for you to work against an Oracle database, you need to create a business services that can be exposed as a service for WS DC consumption as explained in the ADF Mobile documentation. Your options are
    1. EJB / JPA : Create entities from database table and then create a session facade on top. This then can be declaratively exposed as a WebService. Use the WSDL reference and start New --> WebService -> WS Data Control in your ADF Mobile project
    2. ADF BC can be exposed as a Service Interface and this to ADF Mobile. To create an ADF BC service you can read the product documentation or this: http://www.oracle.com/technetwork/issue-archive/2012/12-sep/o52adf-1735897.html
    See this video: https://blogs.oracle.com/shay/entry/developing_with_oracle_adf_mobile for how to integrate this in ADF Mobile
    Frank

  • How to reformat secondary drive with Home folder on

    Hi guys, I have an issue and Im getting myself confused as to how to go about this.
    Basicly, I have a 250 GB SSD bootdrive and a 750GB HD data drive.
    On the SSD is Mavericks and a couple of apps, on the data drive is eveything else, home folder, apps etc.
    I have just bought Adobe's creative cloud subscription and it wont allow me to install anything because the data drive is case sensitive. So I need to reformat the data drive to non case sensitive, it wont allow me to install it onto the SSD which is already non case sensitive, as it only allows instalation where the libary and home folder is, stupidly.
    So far Ive backed eveything up both though a network time machine and also Ive backed up all my documents from the home folder, the libary and system folders and a few apps onto an external USB drive. However I cant backup my movie folder with all my final cut pro stuff on, because its too big for the external drive, it is however backed up through time machine.
    Now I need to format the data drive, but Im not sure how to go about this without messing up the home folder and user aspects, as surely as soon as I format it, Ive bascily lost myself as a user.
    I thought about moving the home folder back to the SSD temporailly, and then reformating,  But in order to do this, I'd have to delete the entire movie folder off the data drive first to get it to fit on there, which is only backed up via time machine. I know all the stuff on the data drive is going anyway, Im just a bit paranoid about deleting it all before doing anything else.  Is this the only way around it, or is there another way?
    Can I move the  bulk of the home folder back onto the ssd, but not the movie folder, to enable me to keep my user account and reformat the drive before putting the home folder back onto the data drive, or shoul Ijust delete the movie folder and hope I can get it back through time machine..
    Ive read using time machine to reinstate the whole drive will revert it back to case sensitive, is this true? Or can I just copy folders off time machine back onto the newly formatted non case sensitive drive? So my movie folder can just be copied back to the newly formatted data drive without issue?
    Thanks for any help, I dont want to mess up all my permissions and user accounts and my head just inst working right at the moment to figure out the best way.

    Your best bet is to clone both devices onto two separate drives, or together onto a larger external hard drive that can cover the capacity of both with its own separate partitions.  http://www.bombich.com/ Carbon Copy Cloner is able to do that for you.  Test your clone boots and is mapped correctly before erasing the drive in question.

  • How to develop a webservice with SAML on Weblogic 8.1

    I will develop some webservices on Weblogic 8.1. On the security part, we will
    use SAML. Is there somebody who can tell me how to do it? Do I need third party
    product? And where I can find samples?
    Thanks.
    Jian

    I will develop some webservices on Weblogic 8.1. On the security part,
    we will use SAML. Is there somebody who can tell me how to do it? Do I
    need third party product? And where I can find samples?Currently, we don't offer any support for SAML in WLS -- so you would
    have to use a third party product. Depending on how you want to use it,
    you may be able to use a third party product to create a handler for your
    service or client.
    However, if you want to use the handler in the server to set the subject
    for the invoke, the handler architecture will prevent you from doing
    this -- the API you use to set the user
    (weblogic.security.service.SecurityManager.runAs() -- see
    http://edocs.bea.com/wls/docs81/javadocs/weblogic/security/service/SecurityManager.html)
    cannot be successfully used in handler methods. If you wish to do this,
    I'm afraid the only way we have to support this is to use a servlet filter.
    -Pete

  • Local-repo ~ a local repository manager with AUR support

    Hey people,
    i want to announce the release of local-repo 1.6.2. I made it to easily build and manage my own repos with fancy features like:
    caching & logging
    config file support
    AUR support - add & upgrade packages from the AUR
    an ABS like PKGBUILD store
    a buildlog store
    package and database signing
    localization
    Maybe this is something for you, too.
    Visit the projects website [1], if you want to know more about it.
    The PKGBUILD is available in the AUR [2].
    Much fun, ushi
    [1] http://ushi.wurstcase.net/local-repo/
    [2] https://aur.archlinux.org/packages.php?ID=56876
    Edit:
    The first run should be something like this:
    $ mkdir testrepo && local-repo testrepo -A vim-html5-git
    This will create a new repo in the directory testrepo and add vim-html5-git from the AUR.
    Last edited by ushi (2012-03-31 12:04:40)

    Awesome! Looks like what I need, let's see if I can get it to work.

  • How to integrate Solution manager with ARIS for Netweaver

    Hi,
    I have a requirement. Its like i have to configure and maintain documentations in SAP Solution Manager and also in ARIS for Netweaver.
    Then i have to synchronize both of them .
    I would appreciate if any one could help me out in integrating both of them.
    I have steps on how to synchronize both of them but the integration part is missing.
    Appreciate all your help..
    Kripashankar.N

    Hi there,
    the integration is pretty easy, you simply:
    --> start aris
    --> go to the designer
    --> create a database
    --> login to the database
    --> go to view/options
    --> Open SAP-Options
    --> Edit server info
    --> then you can start synchronizing your project
    hope this helps
    cheers
    art
    Edited by: Arthur Elsner on May 8, 2008 11:03 AM

  • How can integrate UCS Manager with ACS

    Somebody have guidelines to integrate UCS Manager 2.0 with ACS 5.3 using TACACs
    I have tried creating a TACACs Providers and a TACACs Providers Group, the In the Native Authentication i have changed the real from local to tacacs usin the provider group i've created.
    In the ACS i have added the device and in monitoring viewer i can view the succesful log of authentication but the UCS Manager windows close before the authentication page

    Hi Shelley,
    I was reading the document, but I have some doubts. What we need is to do the integration with Cisco Secure ACS 4.X Solution Engine 1113 Appliance. We need to identify a client for a name and not for IP Address. Can I do this with SM and ACS??.
    Regards.
    Jaime.

Maybe you are looking for

  • How can I clean all the junk files from my iMac so that it can run faster?

    How can I clean all the junk files from my iMac so that it can run faster? Its been slowing down ever since I started using it.

  • How to install Win 7 pro 64-bit on new SSD in WWAN slot?

    I tried two generic Win 7 installation disks and get the error code 0x80070570 for 64-bit installs.   Did a lot of searching and reading, unplugged everything, did a memory check and just can't get past that error.  32-bit installs ok on the SSD in t

  • Nested jsp:include includes wrong file

    Hi, I've encountered a somewhat strange problem that's upsetting me for more than 3 hours by now. I've searched on the Web, Usenet, Tomcat Bugzilla, and the java.sun.com forums, but still didn't find a solution. Let me explain my current JSP/servlet

  • Convert Front Page 2003 to Dreamweaver 8

    I've done my best to go through the help pages and forums and only have found import and conversion "extensions" for Dreamweaver MX to import / convert a Front Page site - but I have Dreamweaver 8. My Front Page site is not to complicated. Just a lot

  • Dynamic translation

    i know i to create a message box to display a message what i would like to know is how could i display a message window with a question for exemple Would you like to display this question in french yes no quit and when i press the yes button i see in