IT is Type of resource by using APIs

Hello experts,

I'm trying to reach a value 'IT Resource Type"instance"Resource"by using APIs.

For example

Resource type of TI - "Directory Server"

Instance of resources IT - 'AD_IT_RESOURCE', 'IT Resource type' directory server

I have "resource instance key'(10) now and trying to recover 'IT Resource Type' (Directory Server) here"

Below the code snippet retrieves just the settings instance but not "type of resource. Another way to do this?

tcITResourceInstanceOperationsIntf itinstIntf = oimclient.getService (tcITResourceInstanceOperationsIntf.class);

tcResultSet itrParams = itinstIntf.getITResourceInstanceParameters (10);

paramCount int = itrParams.getRowCount ();

for (int i = 0; i < paramCount; i ++)

{

itrParams.goToRow (i);

Attributes.put (itrParams.getStringValue ("" IT resources Type Parameter.Name ""), itrParams.getStringValue ('IT Resources Type Parameter.Default'));

System.out.println (itrParams.getStringValue ("IT resources Type Parameter.Name") + ":" + itrParams.getStringValue ("IT resources Type Parameter.Default") );

}

Thank you

SK

Type similar API being used, but it may be easier for you:

For more information see the link below, it will help you:

Instance of ITresource - Idmclub

Tags: Fusion Middleware

Similar Questions

  • Get the settings using API

    Hi all

    I can't get the settings of resource by using APIs. Please find the below code snippet.

    tcITResourceInstanceOperationsIntf itOptf = (tcITResourceInstanceOperationsIntf) Platform.getService (tcITResourceInstanceOperationsIntf .class);
    Long ITResourceKey = null;
    HashMap ITResource = new HashMap();
    ITResource.put ("TI Resources.Name", "EBS-HRMS-APPS12");
    Logger.Debug ("IT resource parameters set");
    String usr = null;
    String password = null;
    String url = null;
    resourceSet tcResultSet = itOptf.findITResourceInstances (ITResource);
    for (int i = 0; i < resourceSet.getRowCount (); i ++) {}
    resourceSet.goToRow (i);
    ITResourceKey = resourceSet.getLongValue ("TI Resources.Key");
    }
    Logger.Debug ("IT Resource Key:" + ITResourceKey);
    tcResultSet resourceParameters = (ITResourceKey) itOptf.getITResourceInstanceParameters;

    for (int i = 0; i < resourceParameters.getRowCount (); i ++) {}
    resourceParameters.goToRow (i);
    If (resourceParameters.getStringValue("IT_Resource_Type_Definition.IT_Resource_Type_Parametr.Field_Name").equals ("JDBC URL")) {}
    URL = resourceParameters.getStringValue ("TI Resource.Parameter.Value");
    }
    ElseIf (resourceParameters.getStringValue("IT_Resource_Type_Definition.IT_Resource_Type_Parametr.Field_Name").equals ("password of Admin")) {}
    password = resourceParameters.getStringValue ("TI Resource.Parameter.Value");
    } else if (resourceParameters.getStringValue("IT_Resource_Type_Definition.IT_Resource_Type_Parametr.Field_Name").equals ("Admin ID")) {}
    usr = resourceParameters.getStringValue ("TI Resource.Parameter.Value");
    }
    }


    Please let me know if something is missing.

    Thank you
    Bhavana

    Use:

    Computer SCIENCE resources kind Parameter.Name

    Instead of

    Contact name the resource Type Definition.IT Type TI Parametr.Field

  • Insert columns (values FDF) attribute on group of resources CRM via API

    Hello

    I create a new group of resources using API APPS. JTF_RS_GROUPS_PUB. CREATE_RESOURCE_GROUP and it works well.

    The group is created and the data can been seen in the jtf_rs_groups_vl table

    However I need to insert values in the attribute columns also like they should be visible to a FDF on form, backend, and there is no setting to do to this API.

    Urgent help here.

    Rgds,
    Keita.

    Published by: 1003105 on 29 April 2013 05:55

    try to update via JTF_RS_GROUPS_PKG. UPDATE_ROW

  • What type of ram is used in the retina 27 '' new?

    What type of ram is used in the retina 27 '' new?

    Old Salt,

    8 GB (4 GB) memory 1867 MHz DDR3; four SO-DIMM, user locations

    Configurable to 16GB or 32GB

    http://eShop.MacSales.com/shop/memory/iMac/retina-5K2015/DDR3L

  • How to automate resource studio using visual studio 2010?

    Hi friends,

    I use the software studio Microsoft Resource for the localization process, now I want to automate my work for studio of resources by using Visual studio.
    If anyone can guide me how to do this?

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Visual Studio on MSDN. Please post your question in the MSDN forums. You can follow the link to your question:

  • 'Resources in use' error during the acquisition of the analog data on AI0 with external clock on PFI0 and beginning of slope trigger analog on AI1

    Hello

    I use the card PCI-6111.

    I am trying to acquire analog data on channels dev1/ai0 ai1/dev1 using pulses of external clock connected to the PFI0 channel. I also want to trigger the acquisition, when the channel dev1/ai1 signal reaches certain level. I send a triangle wave channel dev1/ai1, and I need the data only for the front.

    I have configured the task in the following ways:

    However, I get the error-89137 after function DAQmx Start Task:

    Specified route can not be satisfied, because it requires resources that are currently in use by another route.

    Source device: Dev1
    Terminal of source: PFI0InputLockOut
    Target unit: Dev1
    Destination terminal: AnalogComparisonEvent

    Resources in use by
    Task name: _unnamedTask
    Source device: Dev1
    Terminal of source: PFI0
    Target unit: Dev1
    Destination terminal: AI/SampleClock

    Task name: _unnamedTask

    If I change the internal clock external clock - switch works. If I pull the trigger, the external clock works, too. But these two tasks do not work together.

    Help? Advice? Thank you!

  • Configure the port error: resource in use

    I can't print from my laptopm. All the settings seem to be good, it says even when I physically connect laptop to the printer the printer is offline (I checked the print queue of the printer and made sure he didn't say 'use printer offline'). Looked up troubleshooting info and tried to re-enter and remove the printer in the printer properties port, but it keeps giving me an error message "resources in use"... where can I go from here?

    Hi angio987,

    I see that you are unable to print from the laptop. I can help you.

    Try a different USB port on the laptop, make sure that the printer is connected directly to a wall outlet. You may need to try another USB cable to exclude.

    In the meantime, download and run the Print and Scan doctor. It will diagnose the problem and could solve it automatically. Find and fix common printer problems using the tools of diagnosis HP for Windows?

    If you are having problems with the properties of the printer, your best bet would be to uninstall and reinstall the printer software. Disconnect the USB cable first.

    What is the name and the product number of your printer? How can I find my model number or product number?

    What operating system do you use? How to find the Windows Edition and the Version on your computer.

    Please provide detailed results if you're still having problems.

    Have a great weekend!
    Thank you.

  • Error in Windows Media Player 11 "PLAYER COULD NOT SUPPORT TYPE or THE CODECS USED TO COMPRESS FILE" "

    I have been using the player above since the issue is and have had no problems so far.

    For some inexplicable reason, I was not able to play any music saved through this player. Whenever I try, I get he message sits on the screen: -.

    "PLAYER DOES NOT SUPPORT FILE TYPE OR THE CODEC USED TO COMPRESS THE FILE.

    I use Windows 7 Home Premium 64. I have not changed the parameters of the media player I've always been very happy to use it as it came.

    Can someone come up with a solution to this please?

    Thank you.

    Hi Olly,

    This problem may occur if the Windows Media Player settings are corrupt.

    If you were able to play the same songs earlier by the player, run the troubleshooting of Windows Media Player settings to solve the problem:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    If it is a different set of media files, you can check if the required codec is already installed or present to play. Here is an article that provides all required information related codecs:

    http://Windows.Microsoft.com/en-us/Windows/codecs-frequently-asked-questions#codecs-frequently-asked-questions=Windows-8

    In addition, you can find the media list of the types of files supported in Windows Media Player:

    http://support.Microsoft.com/kb/316992/en-us

    Please let us know if the problem still persists.

  • Where is the setting to display a notification indicating that the "CAPS LOCK" is activated, any type of program is used?

    Where is the setting to display a notification indicating that the "CAPS LOCK" is activated, any type of program is used?

    Original title: CAPS LOCK.

    Where is the setting to display a notification indicating that the "CAPS LOCK" is activated, any type of program is used?

    There is no native parameter.  Is your keyboard led (if she has a) can be used, OR use a third party program if your keyboard does not have cpome with indicator software (probably it didn't it.)
     
    http://www.georgejopling.co.UK/CapsLock/CapsLock.html

    (Maybe that will do it for you...)

  • MultiTaskFlow liaison: Hi I have a main application and several sub these i added to my resources and using their taskFlows applications in my main application by creating the multitaskFlow binding. My problem is that how can get us currently rendered you

    Hi, I have a main application and many applications these i have added to my resource and using their taskFlows in my main application by creating the multitaskFlow binding. My problem is that how can currently get us renderings taskFlow Id link MultiTaskFlow running through an action created in our main application. Please explain if we can.

    Hello

    Try to remove the af: group in the facet of the toolbar or use this code in your bean.

    UIComponent panelBox is ae.getComponent () .getParent () .getParent ();.

    Kind regards

    Ruben.

  • Remove all contacts from Sharedlist (ContactList) using Api

    I want to delete all the contacts in a sharedlist using api. One method that I discovered is that api rest is to send the ID of all the contacts in the list. When there are more contacts in the list, it takes a lot of time because I have to query the list to get the ID of first contact, then send the request PUT with the ID to delete the contacts. Is there an alternative way to do. If this isn't the case, then what's the number max of ID I can send with destruction of membership options.

    Concerning

    Maury

    Thank you very much zatokar, with your trick that I could remove all contacts from sharedlist in a single request. All we have to do is add sync action as delette in export defination. It will delete all the data on the shared list.

    Sample request is less than

    {

    "name': 'example of export."

    'fields': {}

    "ContactId": "{{Contact.Id}}.

    },

    'syncActions ':

    {

    'destination': "{{ContactList [LIST_ID]}}"

    'action': 'delete '.

    }

    }

  • I want to create sub-task "Human task" programmatically by using APIs, any help?

    I want to create sub-task "Human task" programmatically by using APIs, any help?

    Solved

    ' public void createSubTask (String title, String username) survey StaleObjectException, {WorkflowException}

    oracle.bpel.services.workflow.task.model.ObjectFactory objFac = new oracle.bpel.services.workflow.task.model.ObjectFactory ();

    oracle.bpel.services.workflow.metadata.routingslip.model.ObjectFactory rObjFac = new oracle.bpel.services.workflow.metadata.routingslip.model.ObjectFactory ();

    DecomposeTaskModel.IParticipantGenerator generator = null;

    DecomposeTaskModel decomposeTaskModel = new DecomposeTaskModel();

    DecomposeTaskModel.SimpleGenerator simpleGenerator = decomposeTaskModel.new SimpleGenerator();

    generator = simpleGenerator;

    Assignee list = new ArrayList();

    assignee. Add (new TaskAssignee (username, "user"));

    Participants participants = generator.generate (null, null, assignee,);

    DTI DecomposeTaskInfo = objFac.createDecomposeTaskInfo ();

    dti.setTitle (title);

    RoutingSlip rs = rObjFac.createRoutingSlip ();

    rs.setParticipants (participants);

    This.Task is WorklistServiceLocator.getTaskService () .decomposeTask (this.task.getSystemAttributes (.getTaskId ()), rs, wfCtx, dti);.

    }

  • How to load an XML file for salesforce using API BULK?

    Hello

    Please let me know how to download an XML file for salesforce using API bulk?

    Thank you

    AND

    Hello

    I think it's a matter of SalesForce.com more and think that you will have better luck in looking at SOAP API Developer Guide for salesforce. Sending of a server API SOAP request is very straight forward and there are several tutorials and well documented in this topic.

    See you soon,.

    Stefan

  • Need help with reading metadata catalog using API

    Friends,

    I try to read metadata from the catalog using API but without success.

    I get just as null.

    Please give me some sample for this snippet.

    Try this...

    Private Sub search (String catalogName) {}

    CatalogService catalogService = oimClient.getService (CatalogService.class);
    CatalogSearchCriteria catalogSearchCriteria = new CatalogSearchCriteria (CatalogSearchCriteria.Argument.TAG, nomcatalogue, CatalogSearchCriteria.Operator.EQUAL);
    try {}
    CatalogSearchResult catalogSearchResult = catalogService.search (catalogSearchCriteria, 0, 100, CatalogConstants.CATALOG_ITEM_TAGS, CatalogSearchCriteria.SortCriteria.ASCENDING);
    List list = catalogSearchResult.getCatalogs ();
                 
    Iterator, listIterator = list.iterator ();
    {while (listIterator.hasNext ())}
    Catalog catalog (Catalog) = listIterator.next ();
    System.out.println ("approver Role:"+catalog.getApproverRole()); ")
    System.out.println ("Display Name:"+catalog.getEntityDisplayName()); ")
    System.out.println("Metadata:"+Catalog.GetMetadata());)
                     
    List of the metadataList = catalog.getMetadata ();
                     
    for (metadata metadata: metadataList) {}
    MetaDataDefinition metadatadef = metadata.getMetaDataDefinition ();
    System.out.println("getDbColumnName:"+metadatadef.getDbColumnName());)
    System.out.println("GetDescription:"+metadatadef.) GetDescription());
    System.out.println("GetDisplayName:"+metadatadef.) GetDisplayName());
    System.out.println("ID:"+metadatadef.) GetId());
    System.out.println("GetValue:"+Metadata.GetValue());)
    }
    System.out.println("Risk:"+Catalog.getItemRisk());)
    System.out.println ("UDF Tags:"+catalog.getUserDefinedTags()); ")
    }
    } catch (CatalogException e) {}
    e.printStackTrace ();
    }
    }

  • Creating a jar using api

    Hi all

    Using JDK 6, I need to use api jar to create a jar for a simple JavaFX application. I used to use api jar to create files jar for Java applications, but now I need to do the same for JavaFx applications. The problem is the referencing 'Jfxrt.jar' of JavaFX. I can't put it in the directory where the 'jfxrt.jar' is on the way to class because the directory name includes spaces, and the names of entries cannot have spaces, e.g. "c:\Program file...". ». What can I do?

    Thank you

    Hi gen,.

    I don't know what the average pot in the api. Do you mean this api? http://docs.Oracle.com/javase/1.4.2/docs/API/Java/util/jar/package-summary.html

    Or you want to jar file using the command line?

    If you use the command line, then either you can define Class-Path to the "Manifest.MF" or you can run the jar using Classpath

    With the help of the "manifest. MF.

    Manifest-Version: 1.0
    Class-Path: . file:///C:/Program%20Files%20(x86)/Java/jdk1.7.0_09/jre/lib/jfxrt.jar
    Main-Class: test.HelloWorld
    

    For more info goto manifest here: http://docs.oracle.com/javase/tutorial/deployment/jar/defman.html

    With the help of option - cp when running command line Jar

    Syntax: java -cp "current path;path of your jfxrt" -jar JarfileName.jar
    Example: java -cp ".;C:\Program Files (x86)\Java\jdk1.7.0_09\jre\lib\jfxrt.jar" Test.jar
    

    Using one of the above approach can run the jar file containing the class of javafx

    Thank you
    Narayan

Maybe you are looking for