Are there any APIs to access user personalization data from java

Hi gurus,
We want to access personalization data for a user from java using API. This includes user mapping also.
If you are aware of any api please let me know.
Thanks in advance.
Regards,
  Pratik Thakkar

Hi Pratik,
You can also retrieve a system object and get the user mapping for the system:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
env.put(Context.SECURITY_PRINCIPAL, request.getUser());
env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
iCtx = new InitialContext(env);
ISystem pcdSys =(ISystem)iCtx.lookup(sysId);
ISystemUserMappingData um = pcdSys.getUserMappingData(request.getUser());
From this object you can get the user, password and other properties.
As for personalized values of iView attributes, you can an environmental value before create the initial context to indicate to return personalized value, as follows:
env.put(IPcdContext.PCD_PERSONALIZATION_PRINCIPAL, request.getUser());
Hope this helps.
Daniel

Similar Messages

  • Are there any APIs to load FND and other objects

    Hi
    We are having HR2HR configured and running between EBS R12.1.3 and Fusion. But the HR2HR does not bring in data in EBS like in Descriptive Flex Fields (DFF), User Defined Tables (UDT), Extra Information Types (EIT) & Lookups. How can we bring in this data in to Fusion. Are there any APIs? If not what is the Support model from Oracle if we are directly updating the tables?
    Thanks!
    Srinivasa Sunchu

    Happy Camper: Based on doc 1482027.1 in support system:
    DFF is not currently supported by HR2HR.An Enhancement Request (ER) has been logged to request this functionality:
    ER: Bug 12883914 - ER REQUEST - DFF FLEXFIELDS AND EIT'S NEED TO BE INCLUDED IN THE HR2HR AND INTER
    >
    For alternatives and the Support model I do not have answer, will reach out to try to find out.
    Kiran: This is an external forum, so the readers would not have access to internal documentation. Are the HCM scripts available externally i.e. through the support system? If not are there plans for providing them externally ?
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • How to get Client IP address in oracle apps. Are there any API's.

    hi,
    I have one query
    ->How to get Client IP address in oracle apps. Are there any API's.
    regards,
    krishna

    Hi,
    this is very usefull
    however are this data stored on the db or is only a temporary view?
    I would like to have to keep track of all client connected.
    Thanx a lot

  • Are there any BI Publisher JDE users in the UK?

    Hello
    Are there any BI Publisher JDE users in the UK who would be willing to share their experience of using BI Publisher?
    We currently run Formscape to produce all our customer facing documentation and some internal reports, that are generated via JDE and we are looking to migrate to BI Publisher.
    We are currently running JDE Enterprise One 8.11 SP1 Update 2 with tools release 8.97.3.2. and looking to upgrade to tools release 8.98.4.5.
    Thanks in advance
    Andy

    There should be no problem in the UK. You will need a plug adapter for the charger.

  • Is there any API to update cost cutoff date?

    Hi All,
    Is there any API to update cost cutoff date?

    Hi,
    As per Oracle we have below APIS for locator in WMS,
    - Create Locator API to create a new locator (CREATE_LOCATOR)
    - Update Locator API to update an existing locator (UPDATE_LOCATOR)
    - Locator Item Tie API to assign an item to a locator (CREATE_LOC_ITEM_TIE)
    - Delete Locator API to delete an existing locator (DELETE_LOCATOR)
    The APIs are part of PL/SQL package INV_LOC_WMS_PUB. This is defined in
    $INV_TOP/patch/115/sql/INVLOCPS.pls.
    You can search *"Locator Maintenance Application Program Interface"* in Metalink or MFGAPI for details.
    Hope it helps
    Kind Regards,
    S.P DASH

  • Is there any API to add and remove certs from acrobat trusted identities?

    Is there any API to add and remove certs from acrobat trusted identities? if this is not possible any work around for this. Please help me

    No, there is not – that would be a security concern.

  • Is there any way to export IT Resource data from OIM using the export tool?

    Hello,
    we are trying to migrate an OIM development environment to a preproduction environment and we need to migrate more than 400 IT Resources. We have exported some IT Resources and when we imported them in the preproduction environment their data was not migrated. Is there any way to export IT Resource data from OIM using the export tool? Or is there any other way to do this without doing it by hand?
    Thank you for your help
    Kind Regards

    Well , OIM doesnot provide any such facility to export ITResource data along with ITResource .
    Directly updating the DB could be an option ..
    Thanks

  • My iphone 4s will not turn on or connect to itunes.... is there any way i can get the data from the phone?

    is there any way i can get the data from the phone?

    Hi webby84,
    Welcome to Apple Support Communities.
    It sounds like you're experiencing a hardware issue with your iPhone.
    These links are a good starting point for troubleshooting:
    iPhone Assistant
    http://www.apple.com/support/iphone/troubleshooting/
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Best,
    Jeremy

  • Is there any way to get specific app data from iCloud so that when you redoes load an app, you can restore its data?

    Is there any way to get specific app data from iCloud so that when you redoes load an app, you can restore its data?

    no.
    the backup is only for the purpose if you need to wipe the device.

  • Are there any API's exposed for SCVMM 2012 which can be accessed via Java?

    I want to monitor the states of VM created using Hyper-V/SCVMM using the Java code.
    I have read that for Hyper-V i need to use J-Interop to acess the API of Hyper-V.
    Does SCVMM also provides API to get the basic information of VM ? If yes then is there any documentation to access it via Java.
    Thank you in advance.

    THE SCVMM API is PowerShell.
    Unless you want to also install Service Provider Foundation (SPF) in front for a web service.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • Are there any APIs to create an Invoice in Oracle Payables?

    Hi,
    We have a requirement to import the invoices from the operational systems. We will be making approximately 7,000 checks a day. We need to import all these payments information into Oracle Payables as Invoices and then process the payments out of Oracle payments module. We are on EBS 12.1.1
    Were there any APIs to create the invoices directly in Payables as it comes from custom application? We could use payables open interface but as we would like to integrate the payables module with custom application it would be nice if invoice creates directly in Payables through APIs.
    Thanks,

    In the enterprise edition I am able to create all the below objects.But The job is not running after file arrival.
    Could you please me in this case also.
    BEGIN
      DBMS_SCHEDULER.create_credential(
        credential_name => 'LOCAL_CREDENTIAL',
        username        => 'upncommon',
        password        => '*******');
    END;
    BEGIN
      DBMS_SCHEDULER.create_file_watcher(
        file_watcher_name => 'test_file_watcher',
        directory_path    => '/home/upncommon/pub',
        file_name         => 'sample2.sh',
        credential_name   => 'LOCAL_CREDENTIAL',
        destination       => NULL,
        enabled           => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.create_program(
        program_name        => 'file_watcher_test_prog',
        program_type        => 'STORED_PROCEDURE',
        program_action      => 'PROC_SCH',
        number_of_arguments => 1,
        enabled             => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.define_metadata_argument(
        program_name       => 'file_watcher_test_prog',
        metadata_attribute => 'event_message',
        argument_position  => 1);
    END;
    BEGIN
      DBMS_SCHEDULER.create_job(
        job_name        => 'file_watcher_test_job',
        program_name    => 'file_watcher_test_prog',
        event_condition => NULL,
        queue_spec      => 'test_file_watcher',
        auto_drop       => FALSE,
        enabled         => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.set_attribute('file_watcher_test_job','parallel_instances',TRUE);
    END;
    EXEC DBMS_SCHEDULER.enable('test_file_watcher');
    EXEC DBMS_SCHEDULER.enable('file_watcher_test_prog');
    EXEC DBMS_SCHEDULER.enable('file_watcher_test_job');

  • Are there any APIs to move funds from one project to another?

    Hi,
    Are there any Project/Budget APIs to move funds from one project to another with in the same grant or different grant in R12?
    Thanks,

    Hi
    There are API's to load or update budget line amounts, PA_PROJECT_PUB.
    There are API's to load or update agreements and allocate funds to projects, PA_AGREEMENT_PUB
    Dina

  • Are there any standard retractors for BI 7.0 (from SAP BI to R3)?

    hello
    are there any standard retractors for BI 7.0 (data transfer from SAP BI to R3)?

    You should have some standard retractors for APD and CRM... not sure where you can find them though - should be under business content I guess..

  • Is there any api for accessing OSB OOTB jms reporting data

    hi Experts,
    My customer is using osb11.1.1.7, they asked me if osb provides method to access native report data, they don't want to implement report plugin, but need some methods to integrate report data into other applications beyond quering it from osb console.
    Best regards

    Based on how you described the scenario, it seems like you can implement a Custom Reporting Provider to access the OSB report data and appropriately use it.
    Please refer to the example Custom Reporting Provider @ http://www.oracle.com/technetwork/middleware/service-bus/learnmore/index.html for more details and a sample implementation.
    I am not a big fan of using the built in DB structure of the reporting tables as it is very generic and does not allow you to create indexes on certain business fields, partitioning etc ...
    I would rather prefer to build a custom reporting layer to extend the reporting data and populate a certain set of tables (aligned to my specific business needs, with proper indexes and partitioning to help support the data optimally) and then querying this data to provide visibility to other teams/applications.
    Hope this helps.
    Thanks,
    Patrick

  • Are there any Photoshop plugins that bring in metadata from iPhoto?

    I just got CS4, and know I can tell iPhoto to edit photos directly in Photoshop. However, the Photoshop Bridge may have features in organizing my photos that may allow me to enhance what I already have done to organize them in iPhoto. Are there plugins that basically allow one to manage an iPhoto library from within Photoshop CS4? I'm looking for Keyword, Library, Comments support within Photoshop Bridge.

    a
    In a word, No.
    If you have a Managed Library there is simply no way for Bridge to access the pics, nor will it make sense of the various versions inside the Library.
    The iPhoto metadata - Keyword, Library, Comments - are not stored in the photos, but only in the iPhoto db file. Bridge has no ability to read this.
    The only way to write to the photos themselves is to export from iPhoto.
    If you're using a Referenced Library then the file management abilities of Bridge make it very, very easy to corrupt the iPhoto Library.
    Simply, the best advice I can give is that you need to choose between iPhoto and Bridge. I don't think there's anything that Bridge does that iPhoto doesn't, and many that iPhoto does and Bridge doesn't.
    Regards
    TD

Maybe you are looking for