IDK API alternatives

My customer customizes WCI pages using IDK APIs.
They have some problem to check user/community information using following APIs:
ICommunityManager.querySingleObject()
IObjectQueryRow.getExtendedData()
IUserManager.getCurrentUserGroups()
ICommunityManager.queryACL()
These APIs' performance are bad in the customer's environment.
Each API costs about one second, so the top page will be displayed
7 or 8 seconds later after the users login to WCI.
So my customer asks me a workaround.
Is there any alternatives of these APIs to get user/community information?
Best Regards.
thosoya

You might what to check portal source version 6.5, there is Activity Space called Ajax. Based on this example you could write something similar that will fit to your needs.
There is also another option maybe even better: custom tags. Anyhow try to check documentation because with OOTB tags maybe you achieve your goal.

Similar Messages

  • R12 AP Invoice Payment API alternative

    Hi All,
    Currently I handle a project that would require loading of payment records from a staging table to OFIN R12. The issue is, Oracle itself doesn't provide an interface or API for AP Invoice Payments that load records from staging table or flat file to OFIN R12 payment tables. Is there any alternative or available API on R12 that can be utilize to performed similar functions?
    Our working environment:
    - EBS 12.1.1
    Any help much appreciated.
    Regards,
    Cyrus

    Hello Everyone,
    Any help from you guys?
    Regards,
    Cyrus

  • JavaMail API Alternative

    Can anyone help me in finding out what other email libraries are available that offer {color:#ff0000}*almost similar or equivalent functionality*{color} that JavaMail offers?
    Considering in mind that Java Apache Mail Enterprise Server (James) and Java Message Service (JMS) do not fall into JavaMail category.
    Ideally be open source

    You're looking for e-mail clients? There's [Apache Commons Email|http://commons.apache.org/email/] for example. As its home page says "It is built on top of the Java Mail API, which it aims to simplify."

  • Cache IDK API server connection

    Just wondering, when writing a portlet that connects via the PRC, is it a good practice to save the connection somehwere so you don't have to reconnect on each call? Does it matter? I didn't see any methods along the lines of IsConnected() so I was guessing that it wasn't necessary, but I just wanted to make sure.
    My use case is I have a portlet that is querying collab discussion messages (using a service account). If it helps performance to store the connection in a static object i'd like to do that, but I don't know how to check for timeouts.

    No, it won't help; don't bother. There's very little overhead in instantiating the PRC stub -- all the overhead comes from actually making a method call.

  • How to get the groups info for user

    Hi guys i am new to ALUI..
    i am trying to do some enhancement.
    i want to know how to get the information of the users group and the group details using the IDK API?
    Can sombody share some code?

    Hello,
    You are welcome. Here is one way of get what you want:
    1) get all groups id's
    IPortletContext - >IRemoteSession -> IUserManager - > getCurrentUserGroups() -> int []
    2) get details about group
    IRemoteSession.getObjectManager(ObjectClass.UserGroup ) ->
    cycle over int []: {
    IObjectManager -> querySingleObject(comminity id) -> IObjectQueryRow -> getName()
    Because you are going to use PRC and make SOAP calls to portal don't forget setup WS to pass token to portlet (check WS settings)
    Edited by Bryazgin at 05/29/2008 7:48 PM

  • Remote exception while fetching information from ALI collaboration 4.5

    We have seen a remote exception recurring from IDK api while accessing collaboration service.
    It says :
    “java.rmi.RemoteException: Unexpected fault was returned by the server (faultcode: Server.userException, faultstring: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.).
    at com.plumtree.remote.prc.collaboration.project.ProjectManagerWrapper.queryProjects(ProjectManagerWrapper.java:177)”
    we are using idk api 6.0 to fetch information from ali collaboration 4.5 concurrently.
    Please guide us

    First and foremost question....do you think is this THE ONLY & BEST possible way to implement your business logic ? To me it seems this can be achieved using much less code...more the code, more the chances of errors, difficult to debug and difficult to maintain...
    Anyways, it is quite difficult to pinpoint the error without the knowledge of underlying table structure and data. Here are some observations...
    In your outermost loop, you are doing this:
    FETCH cur_accdetail BULK COLLECT INTO vl_t_LogDate; If this step yields data, you are populating vl_t_ModStEnDate collection.
    However, if FETCH results into an exception (maybe NO_DATA_FOUND), you are writing the error to a file and program CONTINUES.
    In next logic, you are directly refereing to vl_t_ModStEnDate collection, without verifying whether it is populated. THAT MAY BE THE CULPRIT. NO CLAIMS...JUST GUESSES....
    BUT, I sincerely request you to revisit your requirement and see if you really need to have this much code to address the same.
    p.s. If you feel you don't have that much time (close deadlines etc...), take my word, it will be worth doing it now.

  • Name of Lockbox set in Remote Portlet Web Service?

    Using the ALUI 6.0 IDK API, does anybody know how to get the name of the Lockbox a Remote Portlet Web Service is using?
    Authentication Settings / Credential Vault Settings / Lockbox

    Hello,
    first: I don´t know anything about the right solution. I am unaware of the existence of the solution, because there were quite many of question about this multiple selection problem and I don´t remember a single "answer".
    I can recommend you to simplify everything and create the functionality yourself. I have done that before to avoid these "Adobe-standard" problems. If you have a problem with autofill of the object, ask your WS to send you a single string and pass it yourself using scripting (JS).
    And if you have problems with multiple selection, create your own field/ object. Get the string of values, parse it, create multiple lines of the dynamic table with some suitable tool to check/ select the rows you need (use checkbox for example, and your text as a table row). This way you can selected anything you want with no problems at all. It wil only cost you some extra work.
    Regards, Otto

  • User preferences, community properties caching

    Hi,
    I would like to know if user preferences, and community property values are cached by ALUI internally or they are retreived from database every time a request is made to retreive these values using IDK API. We have a requirement to retrieve user preference values and act up on them in each portal page. We are trying to evaluate how costly this could be and how it can have impact on response time of the page.
    Thanks.

    To understand better internal caching mechanism it's necessary to realize how portal cache portlets. Take a look on this link: [http://edocs.bea.com/alui/devdoc/docs60/Portlets/Basics/PlumtreeDevDoc_Portlets_Caching.htm]
    Class(java version of the portal) responsible for reading this kind of informations is CSPPortletProviderConfig, I think portal will try to read those info every time when cache key is not matched for connected user.

  • How to search a content item based on content id?

    I'm having a requirement to search a document based on an Id. (something similar to KB search based on KB id)
    I'm aware that a document uploaded to publisher has two Id's that get generated
    1) UUID 2) ITEMID (DA_*****)
    I'm planning to develop a portlet to search documents based on it's Id's
    I have the following queries.
    1) Can i make use of the itemid (DA_****) to search? But i dont find any IDK API to do that. am i missing some thing here?
    2) I found that by making use of pcs database we can get UUID from the ITEMID, is that a right approach to get hold of a content item?
    3) Is there any other better approach?
    Guide me
    Thanks,
    Bharat

    You can use InDesign for this.

  • Casablanca SDKs

    First of all I seriously apologize for posting in this messageboard. I want to post my question in this thread..
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=casablanca
    But when I select "Ask a Question" button, i could'nt find the option of Casablanca, therefore this is the cloeset section I can find.
    I have recently developed a console application, which is using Casablanca SDKs, using this link.
    http://www.strathweb.com/2012/12/web-api-alternative-self-hosting-http-services-in-native-c-code/
    Now I want a simple ASP.NET application to interact with this Casablanca server just like the way it does with IIS and send request. How can I accompalish this. Can someone show me a tutorial on this?
    Adeel

                                                             
    Hello,
    From the Announcement on the Casablanca forum:
    This Forum is Closed
    John Boylan                                        
    <time>Monday, March 25, 2013 8:44 PM</time>                                
    In order to respond to questions as quickly as possible and to centralize all discussions, the Casablanca team has retired the Casablanca DevLabs forum. You can still access existing posts, but cannot post any new questions.
    Please post any new questions or discussions to the
    C++ REST SDK discussion board on CodePlex.
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Developing a Contacts Portlet

    Hi,
    I am about to start development on a simple contacts portlet.
    The portlet will access it's own database containing contact information such as firstname, lastname, department etc (object properties that don't exist in a users profile on the portal... unless someone knows how to do this?).
    I have constructed a test web application (.NET 1.1) that displays a box containing a list of contacts showing firstname, lastname, company details. The firstname and lastname are links, when clicked on display a pop-up window displaying additional information.
    Now I want to turn this project into a portlet that I can use in portal G6 6.1 however I am not sure what is the best way of approaching this.
    Am I right in thinking I need to develop a custom IDK project, plug into the IDK API and use the api functionality to handle my application?
    At some point I want to be able to sync some of the custom database details with the user's profile e.g. firstname, lastname (will store this in the name property), company etc.
    I tried searching for IDK samples however I cannot find any except for the information found in the API documentation - anyone have any good links so I can get an idea of how to implement my project into an portlet.
    Thanks in advance and apologies for so many questions, I am new to all but learning fast!
    Tahir

    Hey there!
    First step is to figure out why you cant create the portal properties.
    If you go to the admin section and go into a folder you will see in the create menu an option to create a property object.
    Make sure you have admin access on the folder, and that you have the activity right "Create Properties" it sounds like you are missing one of those 2 key factors.
    The IDK (from what I understand) IS the Plumtree API code and probably the easiest to use for your portlet.
    Once you get your properties figured out you can post here again and I might be able to dig up some example code (in .NET) to help get you further along.
    There are a lot of ways to do things and as confusing as it is that makes it fun also:)

  • Internal API DCTaskFlowBinding.. any alternative to this.

    Hi All,
    -- Jdev: 11.1.1.4
    In a solution to get handle to the bindings inside a region from its parent I am using this API DCTaskFlowBinding.
    This is Internal api.. Is there any alternative api for this ?
    I know that we should avoid using internal api's but can use of DCTaskFlowBinding be seriously alarming.
    Please note that I am using this api's ONLY to get handles to internal attribute bindings to read values form it.
    Thanks
    Amit
    Edited by: Amit on Feb 7, 2012 10:16 AM
    Edited class name..

    The API I use for DCBindingContainer imports
    import oracle.adf.model.binding.DCBindingContainer;which doesnot look to me to be a internal class since it dosnot have internal anywhere in its package structure.
    What is the complete class path that your code refers to ?

  • Alternative APIs for reading Zip files?

    Hi all.
    At the moment, our application handles zip files by copying the zip file to the temp directory and then creating a new ZipFile. However, the larger the zip file we encounter, the slower this copy becomes. We also need random access to the Zip file, so the usual workaround of using ZipInputStream is also slow, although slightly faster for random access than copying the entire file.
    I raised a bug requesting a better constructor for ZipFile, but it was turned down as they seemed to think I didn't want random access.
    But does anyone know of any alternative APIs which can access Zip files in a more random access fashion? I've discovered a few other alternative implementations of ZipFile, but all of them so far have had this issue of requiring a File.

    intensive. I am basically searching through zip
    files to find a file and then taking that inputstream
    for processing. I am basically looping through the
    zip file until i match the filename....pretty crazy.I think it is pretty I/O intensive...hence slower
    to see what I can do to increase performance. I am
    using the following parameters:
    -Xms512m -Xmx1024M -Xss16M -XX:ThreadStackSize=256
    -XX:MaxPermSize=256m
    Parameters look ok. I am not sure what -XX:ThreadStackSize will do as -Xss also sets the stack size? you can also try to pass -server and keep both Xms and Xmx to 1024 and see if it brings any improvement.
    -BJ

  • How to Link an Alternative Payee to a Supplier via API - R12

    Hi,
    I want to know how to link an alternative Payee to a Supplier via API.
    Below is the business scenario which we require,
    Supplier Creation:_
    Vendor Name: Supplier A
    Site1 : SITE 1
    Site2 : SITE 2
    Supplier Relationship Creation:_
    Relationship is set to for 'Supplier A', SITE2 with
    Remit To Supplier Name : Supplier A
    Remit To Supplier Site : SITE 1
    and marked as Primary.
    Invoice Creation:_
    Invoice Num: Tst_Inv_1
    Tst_Inv_2
    Tst_Inv_3
    Tst_Inv_4
    Scenario:_
    Before creating the relationship between SITE1 & SITE2,
    The payment for Invoice 'Tst_Inv_1' created under SITE 1 is made to SITE 1 as expected.
    The payment for Invoice 'Tst_Inv_2' created under SITE 2 is made to SITE 2 as expected.
    After creating the relationship between SITE1 & SITE2,
    The payment for Invoice 'Tst_Inv_3' created under SITE 1 is made to SITE 1 as expected.
    The payment for Invoice 'Tst_Inv_4' created under SITE 2 is made to SITE 1 as expected as the Remit-To Supplier name and Remit-To Supplier Site is set 'Supplier A' and SITE 1.
    Is there anyway to achieve this scenario via API.
    I found one API (IBY_EXT_PAYEE_RELSHIPS_PKG) which will just tell whether any relationship is existing between those two suppliers, But not to create new relationships.
    Regards,
    Mano Pratheep

    Hi,
    Creat the following internal table
    DATA: i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
    Pass the values to this internal table as follows
    i_reclist-receiver = '<give ur mail id>'.  "SAPoffice: Name of the recipient of a document (also ext.)
    i_reclist-rec_type = 'U'.                              "Specification of recipient type
    *U = INTERNET ADDRESS,
    *B = SAP USER,
    *P = PRIVATE DISTRIBUTION LIST,
    *O = SAPOFFICE USER,
    *R = SAP user in another SAP System
    *X = X400 ADDRESS
    *C = SHARED DISTRIBUTION LIST
    APPEND i_reclist.
    Pass the internal table to the Tables parameter of 'receivers'
    receivers = i_reclist
    Regards,
    Chandu

  • 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

Maybe you are looking for

  • EXECUTE permission denied

    hi  Im getting  the following error when querying  a database :    <b> Error when executing statement for table/stored proc. 'procedure name' (structure 'Select'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]EXECUTE p

  • Having problems restoring my phone/new numbers

    So, I lost all my numbers and memory from my phone malfunctioning. Right now, I'm trying to restore everything. But! Since losing my numbers, I've added in 25 contacts (previously, I had 207 contacts from October), just to start rebuilding. However,

  • Photoshop/Bridge Question

    I notice that when I double click on a photo in the new version of Bridge, it is not automatically opened in Photoshop. How can I make PS the default processor?  -Allison

  • Set Dynamic Default Delivery Date in ME21n

    Hi! Under personal settings in ME21n, it is possible set a default delivery date. However, as I see it one can only set a fixed date like 2011-08.-12, which would quite useless in a couple of weeks. Is there any way to set this date dynamically as it

  • Supervisor desktop 8

    How is the "ASA" field calculated in the supervisor desktop version 8?  Is this now a mixture of different variables?