AvailabilityTREX via API

Hello,
is it possible to check the availability of the trex server via the km api?
We use a custom developed search and want to point the user to special html page when the trex server is not online.
Regards,
Thomas

Hi,
there is no dedicated method for this but you might use
the following one:
AbstractIndex.getNumberOfSuccessfullyIndexedDocs()
If this method throws an exception, when a Trex error occurred.
Regards,
Achim

Similar Messages

  • How to populate Values in Value Set via API or Interface

    Dear frds:
    i need to know is there any API or interface available to load thousands of values in particular valueset via API or Interface. I know Dataload is the alternative but i don't want to use that as the data is too much so its not feasible.
    waiting for your response
    Thanks.

    There is no API for fnd_flex_values.
    You will have to do a direct table insert (or call FND_FLEX_VALUES_PKG which does nothing but a direct table insert).
    Sandeep Gandhi

  • Open saved draft report via API/UI

    How could I open an saved Draft report via API/UI.
    I have draft an report via API/UI and now I would show this report on Desktop/SAP

    Sorry for my mismatched formulation of this problem
    I would open it via code
    z.B. application.forms.items("")
    because I get the Docnum of my before safed draft but It wouldn´t shown at the SAP now so I have to open it via code gg
    but also thx to you

  • In which table the initial balances will be stored when loading via api

    Hi all,
    I am doing initial balances migration...
    In which table the initial balances will be stored when loading though an api.. (pay_balance_upload.process).
    First I have loaded data in to pay_balance_batch_headers and pay_balance_batch_lines tables..
    Then called the api pay_balance_upload.process. and the data was reflecting correctly in front end.
    But we need to reconcile the loaded data.. for that, can anyone please tell me in which the loaded balances would be stored..
    I have identified two tables, pay_assignment_latest_balances
    and pay_latest_balances
    when I try to create a balance from frontend I can see the data in pay_latest_balances table..
    But when I load via api I am not able to find it in any of these tables..
    In addition to that can anyone please tell me when the data will be populated in pay_assignment_latest_balances and pay_latest_balances tables.
    Awaiting for your help and quick response..
    Thanks and Regards
    Kishore

    You have followed the correct process..As Vignesh said, you can use pay_balance_pkg.get_value to make sure you have the correct values uploaded but otherwise if you are able to see the values in the front end I wouldn't worry about the latest balances tables. These tables, as the name indicate, hold only the latest values and if a payroll (ran post the initial balance upload) has been rolled back, these are deleted since they are no longer available.
    You can refer the below Metalink notes for a detailed explanation:
    The Secret Life of Initial Balance Upload with Screenshots Example [ID 60057.1]

  • Re-using Segments Created via API or Re-creating Every Time?

    Hi All,
    Wanted to get your thoughts on this...
    We have been able to create Segments via the API, however, which way to go:
    OPTION 1: Re-use Segment if there are no additions or deletions (changes) to the list? or
    OPTION 2: Re-create the Segment every time via API.
    In Option 1, we will still need to compare the existing list to the new list before deciding to re-use. However, the comparison will be done outside of Eloqua.
    In Option 2, we may create a new list even though there are no changes but we will have the historical data and it will be easier to identify lists.
    In both scenarios, data processing may affect performance.
    For those who have done this or are familiar, what would you recommend?
    Hope it's clear.
    Pinging: TJ Fields-Oracle, 1065474, freejung
    Thanks!!

    In simpler terms of creating assets and storage, creating new segments each time should not be a problem. That said, the asset choosers might end up being slow if you're blowing past 100k which will ultimately result in a poor user experience for the marketers. Please see:
    Eloqua Product Thresholds
    Beyond that, you should also consider:
    - Developers creating a process where segments and campaigns are being created automatically, and the campaigns being left active for a long time with segments are set to run every hour. For static lists, it wouldn't really result in heavy calculating but you can run into delayed contact entry into campaigns if you have hundreds of segments feeding hundreds of campaigns - each with heavy filtering. At best it would be pointless to run segments (on the canvas) hourly if the lists are static, and at worst you're making everything slower. That doesn't sound like a major concern here but something to keep in mind.
    - API tools automatically updating segments which are currently referenced in live campaigns (again, running hourly segments). This means if you re-use assets for new campaigns there is a risk that they're being referenced by a currently live campaign and you end up adding the wrong contacts to the wrong flow. Since segments share a relationship to campaigns as their primary contact feeder, the API tools should only be updating the same segment asset with new contacts if the intent is to add those contacts to an existing campaign.
    - Although keeping shared lists or segments untouched gives you some historical tracking, do not assume the contacts in those assets are exactly the same ones which were used when the campaign was launched. For example, if you delete the bouncebacks and unsubscribes after the campaign has run and go back to your segment, even if it is a simple segment with a local list, it will not contain the deleted contacts. For any serious auditing task, let the API tool archive what contacts were added to what segment. Then you can use Bulk 2.0 activity exports to keep a list of what contacts received what emails from various campaigns.
    Regards,
    Bojan

  • How to Get a Resource Id via API

    Hi,
    Is there any way to get the short id associated with a resource via API??
    I need to get an Id from a resource that it's unique for every one, so I can show an identifier for every document in a custom report...
    Thank you,
    Felipe Vieira

    Hi Valery,
    I mean a Portal Resource..
    Inside portal, when a go to properties  of a specific document, in tab "Access Link" it shows a "Short Id".
    I'd like to know via API how to get this Id, or any other Code that it's unique for every resource or document in portal.
    Thank you!

  • Process AR Receipts via API

    Dear Friends,
    I have below few querys related to AR Receipts process via API.
    1)     Can we change the receipt status (APPROVED  CONFIRMED REMITTED  REVERSED/ CLEARED) through any API? Any one can explain how it is happening in real world?
    2)     Can we change the receipts accounting through any API. I want to mean here, the receipts GL accounts are defaulted from Receipt Method & MISC receipt activity (in case of MISC receipt). Can we change those defaulted accounts through any API?
    3)     In case of MISC receipt can we populate the “Paid By” field thought the MISC receipt creation API?
    Thanks & Regards
    VB

    Hi Muktech,
    Currently there is no API for BPM 11g. There is an API for the human task but this will not be sufficient for completing a process activity.
    Hope this helps.
    Kind Regards,
    Nils

  • Accessing the password store (PSTORE) via API

    After having created portal users via API srcipt, we now would like to register users
    for an external application programmatically.
    I.e. we have a portal user and we know his account info ( user / passwd ) for the external application. Portal seems to store account infos for external applications in a "Password Store". So i am looking for an API to register portal users for external applications providing the known acount info,
    i.e. sth. like
    PSTORE.InsertExtAccount( PortalUser, ApplicationName, ExtUser, Extpasswd).
    I had a look at http://www-sso.us.oracle.com/
    but could not find API description or any hints when an API like that will go production.
    Can anyone help me with that issue ?
    Thanks a lot.
    null

    This is probably the wrong forum for this question - I would try the 9iAS Portal forum.

  • Creating worksets via API

    Hi all!
    Is it possible to create and change worksets dynamically via API? I have found documentation how to read pcd objects and their properties but not how to edit pcd objects:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401
    best regards
    Michael

    Hi Michael,
    (1) To change workset attributes, get the IPcdContext object for the workset, then do something like this:
    ModificationItem[] mods = new ModificationItem[1];
    mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE,new BasicAttribute("com.sap.portal.navigation.MergePriority", new Double("75")));
    myPcdContext.modifyAttributes("",mods);
    (2) To create, you could simply bind a new context to the folder you want to place the workset, and set all the attributes (most important, object class and name). This is a little tricky, and there may be side effects I haven;t thought of.
    For iView, you would use the IiViews semantic object to create the iView, and this object would take care of almost everything for you. But there is no workset object.
    Hope this helps.
    Daniel

  • Opening User defined Fields Form via API

    Hi
    Is there a posiibility to open those user defined field - forms via API. If yes is it possible to check if it is already open?
    TIA
    Phile

    Hi,
    In your eventhandler, you can use this:
    Set oSboForm = Sbo_application.Forms.GetFormByTypeAndCount(-pval.FormType, pval.FormTypeCount)
    form and udf-form are linked through a minus sign.
    I do not know of a nice way to check if they are anebled. What I'm currently doing is running the above line of code contained in an error handler. The error handler does a sendkeys of control shift u (which enables the udf-form) and displays a message. Problem is after control shift u, screen is not yet updated so your code cannot continue immediatelly. Development knows of this problem, but I never received a promise when this will be fixed.
    Hope this helps,
    Jacques

  • Acccess to HRMS via API's?

    I would like to access the HRMS via API's so that I have my own presentation layer.
    Question:
    1. Is this possible
    2. Where do I find the API ducumentation
    3. Is the any example in either MS VB.Net or C#
    Thanks in advance.
    Regards

    See the following MetaLink collateral:
    Note: 216838.1 - Oracle HRMS Product Family Publicly Callable Business Process APIs (A Reference Consolidation)
    Oracle only supports the APIs listed in the following documentation:
    * The Publicly Callable Business Process APIs topic in the guide Configuring, Reporting and System Administration in Oracle HRMS (Note: 214791.1) and in the help system.
    * The What’s New in Oracle HRMS topic in the help system. This will list any new APIs introduced after the first version of a main Release.
    Best Regards,
    Greg

  • Is it possible add or remove contact from a Shared list via API?

    Hi Eloquan,
    i'm preatty new in Eloqua and i'm wondering if is possible add/remove contact from a Shared list via API...
    any help will be welcomed.
    M.

    Gr8 not a problem why do you use a composite view pattern.
    --->In that case make use of Proper patterns in your design before forwading it to a view.
    ---->Use a Public JSP Statically include JSP's in WEB-INF folder using static page include which happens at compile time.
    REGARDS,
    RaHuL

  • Completing a BPM process activity externally via API

    Does the new BPM 11g have a way to complete an activity from another application via API?
    Thanks.
    -muktech

    Hi Muktech,
    Currently there is no API for BPM 11g. There is an API for the human task but this will not be sufficient for completing a process activity.
    Hope this helps.
    Kind Regards,
    Nils

  • Creating an opportunity linked to a contact via API

    Hi,
    We are trying to create opportunity records against a contact but don't understand how to link the 2 objects via API as my development team can't find a direct link when looking in the WSDL.
    I can see in the UI that the primary contact can be stored against the object, would just like to know how to do this via API.
    Thanks for your help in advance.
    Leslie

    Hello Leslie,
    There are a number of ways to accomplish this. As you mentioned in your post there are often Id fields exposed on a parent object that allow one to associate to a record of a different type, in this case you can send a request for the parent object, in this case Contact and specify the ID of an existing Opportunity record.
    You can also use the child object structure to create an association. For example, if you are entering a new Contact and a new Opportunity you can use the <ListOfOpportunity> within a Contact Insert request to also insert a new Opportunity. I have attached a sample SOAP request below.
    I would recommend your team review the WS User Guide as well as the sample code provided at samplecode.oracle.com for further details. Please see the announcements at the top of the forum for additional links.
    I hope this helps.
    Thanks,
    Sean
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <ContactWS_ContactInsert_Input xmlns="urn:crmondemand/ws/contact/10/2004">
    <ListOfContact>
    <Contact>
    <ContactFirstName>Bruce</ContactFirstName>
    <ContactLastName>Wayne</ContactLastName>
    <ListOfOpportunity>
    <Opportunity>
    <OpportunityName>Capture the Joker!</OpportunityName>
    <CloseDate>04/10/2011</CloseDate>
    <Priority>High</Priority>
    <Status>Pending</Status>
    <SalesStage>Selected</SalesStage>
    </Opportunity>
    </ListOfOpportunity>
    </Contact></ListOfContact></ContactWS_ContactInsert_Input></soap:Body></soap:Envelope>

  • Need Help Writing Server side to submit form via API

    Hey
    I need help writing a serverside application to submit
    information via API to a separate server.
    I have a client that uses constant contact for email
    campaigns. We want to add to her website a form taht submits the
    information needed to subscribe to her email list, to constant
    contact via API.
    FORM.asp :: (i got this one under control)
    name
    email
    and submits to serverside.asp
    SERVERSIDE.ASP
    In serverside.asp i need to have
    the API URL
    (https://api.constantcontact.com/0.1/API_AddSiteVisitor.jsp)
    username (of the constant contact account)
    password (of the constant contact account)
    name (submited from form.asp)
    email (submitted from form.asp)
    redirect URL (confirm.asp)
    Can anyone help get me going in the right direction?
    i have tried several things i found on the net and just cant
    get anyone to work correctly.
    One main issue i keep having is that if i get it to submit to
    the API url correctly - i get a success code, it doesnt redirect to
    the page i am trying to redirect to.
    ASP or ASP.NET code would be find.
    THANKS
    sam

    > This does require server side programming.
    > if you dont know what that is, then you dont know the
    answer to my question. I
    > know what i need to do - i just dont know HOW to do it.
    If you are submitting a form to a script on a remote server,
    and letting
    that script load content to the browser, YOU have no control
    over what it
    loads UNLESS there is some command you can send it that it
    will understand.
    No amount of ASP on your server is going to change what the
    remote script
    does.
    http://www.constantcontact.com/services/api/index.jsp
    they only allow their customers to see the instructions for
    the API so i
    can't search to see IF there is a redirect you can send with
    the form info.
    But posts on their support board say that there is.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

Maybe you are looking for

  • Can't get handoff to work.

    I'm trying to get handoff to work and it won't. I think my problem is that my iMac is connected to iCloud with my main Apple ID and my iPhone is connected with my alternate Apple ID. How do I change one or the other without a big mess? I have a 2013

  • Getting error in a cursor

    12/1 error :sql statement ignored 12/145 error: column not allowed here. 15/1 error: sql statement ignored 15/145 error: column not allowed here create or replace procedure pps is ccsal number; cursor comm is select salary+nvl(commission_pct,0)from e

  • Change dynamic answers in Survey

    Hello all, I have a Survey defined in CRM for operation Contact. A question of this survey will have dynamic answers, depending on one of the related BPs. To achieve it, I have: 1. Defined the answer for this question as "Dynamic list box with multip

  • Load balance xml config store

    Hi My environment is a workgroup, so failover clustering or other domain based solution are not suitable. I want to make the xml config store highly available: server1 and server2 will be behind a load balancer, both servers will have a file share na

  • Can I use bdc in web dynpro?

    Hi, I have a fronted application in web dynpro which is using function module which I wrote which uses bdc for creating employee (I haven't found a function which does that without using bdc). The problem is that nothing is happening, the employee is