How to use Properties Metadata global service using KM API's

Hi,
I have a requirement where I need to get the list of property Namespaces configured in the KM Portal and also all property Names associated with each Namespace.
I was able to see the list of Namespaces in KM portal at "ContentManagement --> Global Services --> Property Metadata --> Namespaces"
Is there any way to access the Property Metadata service and get the list of Namespaces?
I have seen few posts using the IPropertyConfigurationService as below:
IPropertyConfigurationService configService;
try {
configService =
(IPropertyConfigurationService) ResourceFactory
.getInstance()
.getServiceFactory()
.getService("PropertyConfigurationService");
} catch (PropertyConfigurationServiceException e) {
e.printStackTrace();
I am not sure if IPropertyConfigurationService has API's to give the list of Namespaces as I was not able to figure out the jar file in which API's related to IPropertyConfigurationService exists.
Will the IPropertyConfigurationService be useful to fetch all the configured Namespaces? If so, which jar file should I place in my build and class path?
Also, Can I get the property names associated with each namespace?
Any help or hint is greatly appreciated.
Thanks,
Suresh.

Hi Praveen,
Thanks for the information on km.shared.service.propertyconfig_api.jar file. I have located the file in the mentioned location and was using it sucessfully.
I was able to use IPropertyConfigurationService  and fetch the MetaData properties in the Portal application.
But, when I place the same code on WebDynpro application it doesn't work.
I have placed the km.shared.service.propertyconfig_api.jar in lib folder of the WebDynpro project, but on runtime I get ClassNotFound exceptions of various classes.
I was wondering if there is any configuration that need to be mentioned for accessing KM Portal applications in WebDynpro.
I have found one post related to this which was talking about using IPropertyConfigurationService in WebDynpro, but not directly, using EJB
Link:[https://www.sdn.sap.com/irj/sdn/thread?threadID=338383]
Can you throw some hints on how to go about this issue.
Thanks,
Suresh.

Similar Messages

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • Where I can find documentations on how to use MyComponse API ?

    Where I can find documentation on how to use MyComponse API ?
    Any example ?
    Thanks

    not 100% sure at which point the callout to BEFOREPROCESSCOMPOSE is done, but during the process logs phase, the data in the CVR$ tables is copied into the clg$ tables, and the cvr$ table dml flags cleared
    unles the query is very complex/long running why not join the clg$ tables (only have the data that has changed, so smaller than the cvr$ tables, to your base tables for determining if relevant within the MyCompose needCompose method?
    an example from one of our MyCompose classes is
    public int needCompose(Connection conn, String clientid) throws Throwable{
    boolean baseDirty = false;
    Statement st = conn.createStatement();
    String sql = null;
    int rowCount = 0;
    int fetchCount = 0;
    ResultSet rows;
    // log user
    // sql = "INSERT INTO qpub_log (TIMESTMP,message) "
    // + " values (sysdate, '" + clientid + " assd' )";
    // rowCount += st.executeUpdate(sql);
    // need to compose if there are any relevant changes to assessment details FOR
    // TIR / SOLO assessments
    // Inspection history checklists
    // PIJ marking sheets
    // INSSI
    // Risk Assessment)
    // also changes to (in case of underlying alterations causing data to be withdrawn)
    // STATUS_LOGS
    // ROLE_ASSGNTS
    if(this.baseTableDirty("CDB_OWNER", "ASSESSMENT_DETAILS")){
    return oracle.lite.sync.MyCompose.YES;
    if(this.baseTableDirty("CDB_OWNER", "STATUS_LOGS")){
    sql = "SELECT count(clg.context_key) "
    + "FROM CDB_OWNER.ROLE_ASSGNTS rola "
    + " ,CDB_OWNER.USER_ACCOUNTS usra "
    + " ,CDB_OWNER.CLG$STATUS_LOGS clg "
    + "WHERE usra.user_name = '" + clientid + "' "
    + "AND rola.rolat_rol_code IN ('INSPECTOR','COVER_INSP','DELEG_INSP') "
    + "AND rola.context_key_by=to_char(usra.par_id) "
    + "AND rola.context_key_for=clg.context_key "
    + "AND clg.staa_seq_no=47 ";
    rows = st.executeQuery(sql);
    rows.next();
    fetchCount = rows.getInt(1);
    if (fetchCount != 0) {
    sql = "INSERT INTO qpub_log (TIMESTMP,message) "
    + " values (sysdate, '" + clientid + " assd stal" + fetchCount + "' )";
    rowCount += st.executeUpdate(sql);
    return oracle.lite.sync.MyCompose.YES;
    if(this.baseTableDirty("CDB_OWNER", "ROLE_ASSGNTS")){
    sql = "SELECT count(clg.id) "
    + "FROM CDB_OWNER.ROLE_ASSGNTS rola "
    + " ,CDB_OWNER.USER_ACCOUNTS usra "
    + " ,CDB_OWNER.CLG$ROLE_ASSGNTS clg "
    + "WHERE usra.user_name = '" + clientid + "' "
    + "AND rola.rolat_rol_code IN ('INSPECTOR','COVER_INSP','DELEG_INSP') "
    + "AND rola.context_key_by=to_char(usra.par_id) "
    + "AND rola.id=clg.id ";
    rows = st.executeQuery(sql);
    rows.next();
    fetchCount = rows.getInt(1);
    if (fetchCount != 0) {
    sql = "INSERT INTO qpub_log (TIMESTMP,message) "
    + " values (sysdate, '" + clientid + " assd rola" + fetchCount + "' )";
    rowCount += st.executeUpdate(sql);
    return oracle.lite.sync.MyCompose.YES;
    // if no relevant changes do not compose
    return oracle.lite.sync.MyCompose.NO;
    }

  • How to use wsus api samples

    hi
    i want to use ComplianceReport from wsus api. what shall i do?
    please guide me
    best regards

    I'm confused... are you looking for instruction on how to use Visual Basic?
    Have you read the
    API Samples and Tools Readme?
    Having asked that, a couple of items of significant note:
    You've apparently downloaded the *WSUS v2* Samples and Tools (not sure why it's still linked, but it is). What you'll need to download is the
    *WSUS v3* Samples and Tools.
    The "Compliance Report" you are trying to use is no longer included in the Samples and Tools package because it's now incorporated into the product itself. Have you reviewed the IN-CONSOLE reports yet? Specifically the "...For Approved Updates"
    reports.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How to use custom API's

    Hi All,
    In OIM how can i use my own/Custom API"S. Wher do i need to place the Jar/Class files. Like in other Identity Management tools (I only have the experience of SUN) you can place the files under WEB-INF/lib or WEB-INF/classes and then can easily use them, does OIM provides this/similar kind of functionality and how we can use that.

    Hi,
    If you want to use custom API to create adapter then put the jar file in <OIM_Install>/xellerate/Java Task/
    folder and if you want to use them to create task Schedular then put it in <OIM_Install>/xellerate/Schedular/
    regards

  • How to use KM APIs, Can we use them in Standalone J2ee Application

    Hi Experts,
    I got KM APIs.
    I need to use them to access the KM Repository Content.
    I m a newbie in SAP KM.
    Can anyone help me to use KM APIs.
    For Eg:
    com.sapportals.portal.security.usermanagement.IUser user = …
    IResourceContext resourceContext = new ResourceContext(user);
    RID rid = RID.getRID("/etc");
    try {
      IResource resource = ResourceFactory.getInstance()
                           .getResource(rid, resourceContext);
      if( resource != null ) {
        // resource found
        System.out.println("resource " + resource.getRID() + " found");
      } else {
        // resource not found
        System.out.println("resource " + resource.getRID() + " does not exist");
    catch( ResourceException e ) {
      // problem while retrieving the resource
      System.out.println(
                        "exception while trying to get resource " + e.getRID()
                        + ": " + e.getMessage()
    How will i get the IUser populated?
    Can i use KM APIs from a standalone J2EE application?
    Can i Populate IUser in standalone J2EE application's Servlet?
    Please help me out.
    Waiting for reply
    -pankaj

    Hi Prem,
    Can u tell me how to deploy a war file on to the SAP J2EE server?
    I know how to deploy on Tomcat Server, but dont have any experience abt SAP J2EE server.
    Does SAP J2EE server also have some Webapp directory like TOMCAT where we have to put our WAR File?
    Or to Deploy a WAR File in SAP J2EE server is different, if yes then wats the procedure to do that?
    And can i access the KM APIs in SAP J2EE Server?

  • How to use PSA api functions RSAR_ODS_API_GET

    Hi everybody
    I need to call function module RSAR_ODS_API_GET. It recive an internal table with request ids and should return in E_T_DATA "unstructured" data from the psa and in E_T_RSFIELDTXT the description of the data structure, I guess
    from sap help only thing I have reggarding how to use the function module is :
    "You can call up the function module RSAR_ODS_API_GET with the list of request IDs given by the function module RSSM_API_REQUEST_GET. The function module RSAR_ODS_API_GET no longer recognizes InfoSources on the interface, rather it recognizes the request IDs instead. With the parameter I_T_SELECTIONS, you can restrict reading data records in the PSA table with reference to the fields of the transfer structure. In your program, the selections are filled and transferred to the parameter I_T_SELECTIONS.
    The import parameter causes the function module to output the data records in the parameter E_T_DATA. Data output is unstructured, since the function module RSAR_ODS_API_GET works generically, and therefore does not recognize the specific structure of the PSA. You can find information on the field in the PSA table using the parameter E_T_RSFIELDTXT."
    unfortunately I when running de report bellow, I get a dump which says:
    Function parameter "E_DATA" is unknown
    in the definition of the interface E_DATA has no type, which means it can recive any table type, right?
    So I have two questions?
    1) How to get the code working
    2) How do I use the parameter E_T_RSFIELDTXT to parse the data returned in E_DATA
    I tried test the function with tc se37 but I get a short dump as well (diferent message although).
    by debuging RSSM_API_REQUEST_GET for this code I found it try to put an internal table with the struct of the database table /BIC/B0000151000 in E_DATA
    Thanks a lot for any help
    rgds
    my test report is:
    REPORT ZTEST_PSA_API.
    TABLES: /BIC/B0000151000 .
    TYPE-POOLS: RSSM.
    TYPES: BEGIN OF STC_REQ_LINE,
    sign(1),
    option(2),
    low TYPE rsa_request,
    high TYPE rsa_request,
    END OF STC_REQ_LINE,
    IT_REQUEST TYPE STC_REQ_LINE OCCURS 0.
    DATA: lit_request TYPE RSSM_T_API_REQUEST_GET WITH HEADER LINE,
    lc_system TYPE RSSM_T_API_LOGSYS,
    lit_request1 TYPE IT_REQUEST WITH HEADER LINE.
    DATA: lc_dtarget_name TYPE RSA_ODSNAME,
    lit_meta_data TYPE RSARC_T_RSFIELDTXT.
    DATA: lt_psa_data LIKE /BIC/B0000151000 OCCURS 0.
    CALL FUNCTION 'RSSM_API_REQUEST_GET'
    EXPORTING
    I_SOURCE = '2LIS_13_VDITM'
    I_TYP = 'D'
    I_DATEFROM = '20060627'
    IMPORTING
    E_T_REQUEST = lit_request[]
    E_T_LOGSYS = lc_system
    EXCEPTIONS = 1.
    READ TABLE lit_request.
    lit_request1-sign = 'I'.
    lit_request1-option = 'EQ'.
    lit_request1-low = lit_request-request .
    APPEND lit_request1 .
    break-point .
    CALL FUNCTION 'RSAR_ODS_API_GET'
    EXPORTING
    I_T_REQUEST = lit_request1[]
    IMPORTING
    E_ODSNAME = lc_dtarget_name
    E_T_RSFIELDTXT = lit_meta_data
    TABLES
    E_DATA = lt_psa_data
    EXCEPTIONS
    NO_DATA_FOUND = 1
    PARAMETER_FAILURE = 2
    REQUEST_NOT_AVAILABLE = 3
    NO_REQUEST_FOUND = 4
    NO_FIELDS_TO_ODS = 5
    NO_ODS_FOUND = 6
    PACKAGE_LOCKED_BY_LOADING = 7 .

    I found this at the file */rss/rss_detailed_view.jsp*
    Version version = (Version)request.getAttribute("version");
         if(version != null){
              INodeManager nodeMgr = ContentManagerFactory.getNodeManager();
              Node node = nodeMgr.getNodeByUUID(new ContentContext(), version.getNodeId());
    I think this is what you are looking for

  • How to use Catalog API's

    Hi,
    Can someone please point me to some references or sample implementation where Catalog and Search API functionality is used.
    I want to create a stand-alone windows application much like APILocator.exe to index and search a set of PDF files.
    Thanks
    -Sanjai

    Hi Leonard,
    Thanks for the response.
    Yes I have downloaded the SDK. I'm looking for something more detail as to how to use the catalog APIs to index set of PDF's and use it to search ( if its possible )
    Thanks again
    -Sanjai

  • How to use of API for Cancel Sales Orders

    Hi....
    I want to use API for Cancel Sales Orders. Plz give me advice how we can cancel orders. I know that there is procedure provide in ORACLE APPs (i.e. OE_ORDER_PUB.process_order). But in this procedure i know the how to create and update sales order, but how to Cancel order with the use of this API.
    Plz send me soultion as soon as possible. ITS VERY VERY URGENT BASE.
    Thanks in Advance.

    Hi all,
    We are importing Sales Orders on 11.5.9 using OE_Order_PUB.Process_Order API .We have supplied most of the mandatory fields and the same data works from the front end. When we use the API it throws a Ora 20001.
    A snapshot of the error message.
    SQL> exec pk_process_object.process_order('1o');
    Message Count is :2
    Message is RA-20001: User in Package OE_Header_Util Procedure Get_Order_Number
    Message is :User-Defined Exception in Package OE_Header_Util Procedure
    Pre_Write_Process
    Return Status is ErrorU
    PL/SQL procedure successfully completed.
    --------------------------------------------------------------------------------------------

  • Help! How to use pay_element_link API

    Hi all,
    I am developing HRMS Interface to transfer employee element data from other system into EBS. And I want to use Pay element Link API to implement the requirement.
    The requirement is:
    1.     Using the primary key of NATIONAL_IDENTIFIER_NUMBER (ssn) check to see if the employee exists as an active employee in Oracle.
    2.     Validate that the Element is a valid element and retrieve the Benefit Type from the DFF (ELEMENT_INFORMATION11). If the element is invalid or does not have a Benefit Type defined, flag the record as ‘REJECTED’ and write the error to the log file and move to next record in staging.
    3.     If the employee has another active element assigned for the same Benefit Type, using the API’s terminate the existing element for that Benefit Type.
    4.     Using the API’s add the new element to the employee with the appropriate element entries.
    5.     Flag the status of the record in staging to ‘PROCESSED’.
    The step1 and step2 is logic adjustment. And I have finished them. Next I will finish 3,4 and 5. The fifth step is easy to approach. I can not do 3 and 4 for I do not konw how to use the pay_element_link_API. And I know the 3 wiil use PAY_ELEMENT_LINK_API.update_element_link, the 4 step will use PAY_ELEMENT_LINK_API.CREATE_ELEMENT_LINK. But the most difficult is I do not konw what to pass the parameter to update_element_link and create_element_link. I do not know the meaning of the two procedure's parameter.
    When the element has many entry values, how to import these entry value into the EBS. For example, an element names 'Retirement Plan' and the element has a input value names 'Amount' and the value is 80$. So I want to know how to import the 80$ into EBS by the API. Just means, the 80$ will pass to which one parameter in the create_element_link or update_element_link.
    Please give me some ideas. Thank you so much

    On troubleshooting the HR api's you can use the pyupip logging mechanism . This would allow you to pinpoint what stored procedure section is being executed when the error ocurred.
    set serveroutput on
    spool trace.log
    begin
    hr_utility.set_trace_options ('TRACE_DEST:DBMS_OUTPUT');
    hr_utility.trace_on;
    -- your code here
    hr_utility.trace_off;
    Exception
    when others then
    dbms_output.put_line(sqlerrm);
    hr_utility.trace_off;
    END;
    spool off

  • How to use BEA API Authorization.getRoles?

    I find a bea api class Authorization.getRoles(P13nResource aResource, P13nContextHandler aRequestContext)
    return Map,I wonder know the P13nResource and P13nContextHandler how to creatre ?
    because I want to use the API to return Map roles,please tell me some information

    this code can get roles map:
    P13nContextHandler ctxHandler = EntitlementHelper.getP13nContextHandler(request);
                   HierarchyRoleResource resource = new HierarchyRoleResource(SecurityHelper.getApplicationName(), webAppName, EntitlementConstants.P13N_ROLE_POLICY_POOL, "");
                   Map map = Authorization.getRoles((P13nResource)resource, ctxHandler);

  • How to use tcRequestOperationsIntf API to create a self-request?

    According to documentation, I can use tcRequestOperationsIntf API methods to create and manage requests.
    How can I use these methods to initiate a self-request (for provisioning user a new resource)?
    Because when I create a usual request, it's equivalent to direct provisioning the resource (from the user's resource profile) then all approval processes are bypassed :(

    While tcUserOperationsIntf.provisionResource would provision the resource to the user bypassing the approval, tcRequestOperationsIntf can be used to raise a request to provision a user with a resource along with approval, if approval is defined for that resource in the approval process.
    Here is a sample code for raising a request to provision user (lUserKey) with resource object (lObjectKey)
    ///Created the request object for provisioning the RO
    requestObj = (tcRequestOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcRequestOperationsIntf");
    HashMap reqMap = new HashMap();
    reqMap.put("Requests.Target Type", "U");
    reqMap.put("Requests.Object Request Type", "Add");
    reqMap.put("Requests.Type", "U");
    lRequestKey = requestObj.createRequest(reqMap);
    //Adding user to be provisioned for
    requestObj.addRequestUser(lRequestKey, lUserKey);
    //Adding object to be provisioned
    requestObj.addRequestObject(lRequestKey, lObjectKey);
    //create the request
    requestObj.completeRequestCreation(lRequestKey);
    Hope it helps,
    Rgds, Ajay

  • How to use Win_Api_Shell api in forms 6i.

    hi all,
    I don't know how to use apis' in forms. Can u help me please?
    sankar

    Hi,
    The "What's New" release notes is somewhat misleading. However, what was released in SP2 is a framework called Custom Data Provider framework which has extension points for a developer to build new plug-ins which can facilitate in accessing different data sources. I suggest you reading:
    http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_cdp_dev_en.pdf
    You can visit posting at:
    /people/ted.ueda/blog/2009/08/07/web-intelligence-rich-client-custom-data-provider-plug-in--tracking-forest-fires
    Regards
    Sumitesh

  • How to use excel api in java?

    I need to use excel api in Java to generate data in excel format. Can any one tell any of the use ful Excel api that we can down load from net? i have read about Apache's POi-hssf-Java api. But the jar i downloaaded from Apache site is not working ? Can anybody please send me the jar for taht Api ?

    Hi,
    In fact i was not clear about whcih jar file to download from the apache site. i found one folder structure like this
    -parent
    -bin
    -src
    All these folders contained some zip files. i took the zip files and extracted them. And i set teh class path also . But when i tried to import in java programs ,these jar files are giving compilation errors

  • How to use the API Tinyxml or Nanoxml?

    Hi all,
    I'm developing a application that need to read a XML file. I researched in the internet and found some API's for read xml files (KXML, Nanoxml and Tinyxml).
    I made a xml parser using the kxml but I want to make other parsers using others API's for to see the best API for to use.
    thanks

    I found the following tutorial. But this is in C language.
    http://www.grinninglizard.com/tinyxmldocs/tutorial0.html
    I achieve make a XML parser using KXML, but the others API cited above I found C tutorial only.

Maybe you are looking for

  • How to customize keyboard layout on Lion?

    Have just transferred FCE 4.0.1 to Lion. How can I customize keyboard, particularly the F-9 thru F-12 insert edit keys?

  • How is the -gm parameter effecting query runtime in detail?

    During test I found out, that the parameter -gm seems to have some dramatic impact onto runtime of queries. In Detail I found a something like factor 0.5 to 0.6 inside my tests for a smaller system: -iqtc 12000 -iqmc 12000 -iqlm 1000 -gm 100 -m -iqrl

  • Front Row Appears & Disappears...

    When I press cmd+esc or use the apple remote to start front row, the screen briefly fades into the black screen that normally happens when front row begins but it then that instantly fades back onto my normal screen, it seems that front row begins bu

  • DPM Console crashing.

    DPM Console Crashing. Event ID 948 and 999. Detail error log in eventvwr is below. Please help urgent. The description for Event ID 999 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local comp

  • Want to reinstall Photoshop CS vers.8 but can't find disk.

    I changed my hard drive and upgraded my computer.  I can't find my disk to reinstall Photoshop CS, vers. 8.  I do have my license key.  Where can I download the program from?  How do I reactivate it?  Thank you.