Searching a content area with a (java) function

I have to write a function (possibly java) for running an
Intermedia search on a portal content area. The function should
be called with search parameters, returning a list/array with
search results.
I saw the submit_search PL/SQL function (I could even call
directly the search URL with all the parameters), but both the
solutions returns a quite complex html page, difficult to parse
for getting results in a table/array.
Any suggestion?

The actual query that we use for advanced search is quite
complex and subject to change from release to release.
Depending on what you want to search on, you could try using the
content area views that are documented in the PDK instead of an
interMedia search.
Regards,
Jerry

Similar Messages

  • Search Multiple Content Areas

    We are running portal version 3.0.9.8.5 and would like to include 2 content areas in the search results. Right now we have the ability to search all or one content areas but not multiple.
    Is this functionality feasible?

    The search engine is not set up to tackle more than one (but not all) content areas in 30985. so even with your own search screen this is not feasible. This functionality will be available in the next major release.

  • Webdynpro iveiws gets displayed only half the of Content Area with scroll

    Dear Experts,
    We are running on EP 7.0 SP13 and I have some webdynpro Iviews. Now when i'm in default framework page-desktop i'm getting the normal full screen view of the WD iview screen. But when i use lightframework page-desktop, the content area gets split into two with the lower half blank and the upperhalf displays the WD iview with a vertical scroll, and its not coming to full page.
    Kindly suggest how to overcome this. I know certain functionalities will not work with WD iview and Light framework, but i dont think it does have anything to do with content area.
    Points will be awarded for sure.
    Thanks
    Yusuf

    Hi Mohammed,
    What is the value of the Height Setting Property of your iview: Automatic, Fixed or Full-page?
    Is the iview on a page or is the iview put in the role without a page?
    I know for sure that some thing like EPCF are not availible in the Light framework.
    What I do not know if the automatic height function that is triggerd (if you selected this property) is part of the EPCF framework.
    If that is the case that could then explain this behaviour...
    Maybe the SDN communitiy can fill me in on this last bit.
    Cheers,
    Benjamin Houttuin

  • Can i copy a content area with all his douments.

    Is it possible to copy a hole content area.
    With all the documents inside?
    I'm planning to restyle my content area, but not immedatly for the public
    thx in advance
    Bert Leeman

    I think, its not possible in the current release (9ias release 1). I understand, 9ias Release II has these capabilities.

  • JavaScript search main content area of a page

    Hi
    I am hoping someone might be able to help. I am new to SharePoint and I'm looking to write a script on the master page which searches through the main content of a certain webpage.
    My question is; what is the variable for JavaScript to call the main content area so I can search it. I believe it is something like item.maincontentarea?
    Any help is appreciated.
    Thank you

    Hi
    This could  sometimes happen because of  multiple users working on the same content .
    Edited by: chandana kallu on Mar 11, 2008 1:41 PM

  • Showing an Iview in content area when exiting a function from ESS menu

    Hai Portal Guru's,
    I have designed a role( USER_ROLE) With two Folder Home & Change Password. Both the folders are set as entry point.
    USER_ROLE
        Home
        Change Password
    To the folder Home I added workset(ESS_Workset)  and to Change Password folder I have added Change password Iview.
    Home
       ESS_Workset.
    To ESS_WORKSET i have added URL Iview and set the property as "Invisible In Navigation Area"  to Yes and "Open As Default" to Yes.  Then I added few SAP transaction Iviews.
    When a user logs into portal, URL Iview is shown in the content area since I set "Invisible In Navigation Area"  "Open As Default" . When I open a SAP transaction Iview and exits that transaction content area is blank.  I want to show the URL Iview content whenever  a user exits from SAP transaction.
    Please let me know how to do it.
    Thanks & Regards,
    H.K.Hayath Basha.

    vfgfsgg

  • How to create a "News" Content area with an effective date

    I have a requirement to create a content area such that each item which is uploaded
    will have an effective viewing date range. I know I can create a custom item type
    and prompt for the Start View Date, and the End View Date.
    Questions...
    1. How do I 'filter' the displayed content so that the 'news' item only show up
    if the current System Date is between the Start/End View dates ?
    2. Exception, the Content Manager should be able to see the entire news content
    items regardless of the system date ?
    Page parameter mapping seems like a partial solution, but I don't see how to
    create the folder filter predicate like "where SYSDATE between view_start and view_end.

    Why not use Publish Date and Expiry Date?

  • Help with calling java functions from javascript

    I am using javax.script to interpret javascript from a java applet. it loads the js file into a string, and then does engine.eval(script_string). My question is, how would I make functions in the class file that are available to javascript?
    Update: Instead of that, I am loading a js script that will contain all of the usable functions. Here it is:
    //core.js for Javasphere 0.31
    var pkgs = new JavaImporter(java.lang, java.lang.System, java.awt);
    with(pkgs) {
    function Abort(msg) {
            var graph = new Graphics();
            g = graph.getgraphics();
            g.drawString(msg, 20, 20);
    }When I do engine.eval("Abort(\"something\")"); it throws this error:
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: error instantiating (0): class java.awt.Graphics is interface or abstract (<Unknown source>#8) in <Unknown source> at line number 8

    Eggbertx, let's start from scratch if you don't mind. Say you have this Applet
    pubic class MyApplet extends Applet
      String message;
      //CALL THIS METHOD FROM JAVASCRIPT
      public void setMessage(String msg)
        message = msg;
        // this saves you from having
        // to call getGraphics() from JavaScript
        repaint();
      public void paint(Graphics g)
        g.drawString(message, 10, 30);
    }Then in your HTML file you may have something like this:
    <input type="text" id="msg" value=""></input>
    <input type="button" value="Set Message" onclick="setAppletMessage()"></input>
    <applet id="myApplet" code="MyApplet.class" width="400" height="100"></applet>And in the JavaScript file:function setAppletMessage()
      var msg = document.getElementById("msg").value;
      document.myApplet.setMessage(msg);
    }This is about all you really need to do. See how the Graphics object is no longer in your .js file?
    Note: You may run into other difficulties in getting this code to work because of browser, security, or some other pain-in-the-neck issues, but this is the idea.
    Eggbertx, I see you added a star to my first post and I think you should take that off because:
    1. <tt>Component</tt> is abstract... so you can not call the <tt>new</tt> operator.
    2. The call <tt>component.getGraphics()</tt> is not going to work either, because <tt>component</tt> was never created.

  • CRM Survey Suite - Validate fields with custom Java Function

    Hi all,
    Does anybody now how to validate the survey fields when pressing a custom button and before submitting it to the CRM database?
    If I add a custom field, it appears in the html as:
    <a onMouseOver='return true;' href="javascript:void(0)" onClick="return htmlbSL(this,2,'SUBMIT:SUBMIT')" class="sapBtnStd" id="CHECK_VALUES"><nobr>CheckValues</nobr></a>
    Which makes impossible to handle the event with a client side function defined in java script in the html code.
    I've tried to setup the EXAMPLE_DYNAMIC_SURVEY, but I wasn't successful.
    Any tips?
    CRM5.0
    Regards,
    Dora

    FYI
    Note 945112 "Addition of Javascript validation to onSubmit event" was created.

  • How do I show multiple images when I hover over different areas with the MouseOver function?

    I’ve been working on a flash simulator to show what our Expert Range Finder binocular product would look like. The idea is to hover over an area, or image and it show the range or how far the object is from you.
    I have been successful in making it work with the following code below.  Yet I cannot add several "range" images (or symbols) when I hover over a certain area.  Can someone help me with the code?  I looked for hours on the internet and I cannot get it to work.  I am new to Flash but am starting to learn as much as I can.  Any help is appreciated!  Thanks!
    Actionscript 3 Code:
    img_nv.mask = mask2_mc;
    mask2_mc.buttonMode=true;
    mask2_mc.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
    mask2_mc.addEventListener(MouseEvent.MOUSE_UP, onUp);
    function onDown(e:MouseEvent):void{
    mask2_mc.startDrag();
    function onUp(e:MouseEvent):void{
    mask2_mc.stopDrag();

    Ned:
    I can't thank you enough for your help!  I just have a few questions left if you don't mind.
    If you look at the picture, the text shows up in the "tfield" yet there is a weird symbol after "37Y" that I cannot get rid of.  In the code I erased in line 29 " + " zone" " Is that the reason why it is showing a weid symbol?
    One more question. I tried placing multiple ranges and text fields and they are not working.  All I did was duplicate the code for the first range and text like below but I am missing something.  Will you kindly help me?
    Actionscript Code:
    range2.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
    range2.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut, false, 0, true);
    function manageMouseOver(event:MouseEvent):void{
      tfield2.text = "over "+ event.currentTarget.name + " zone";
    function manageMouseOut(event:MouseEvent):void{
    tfield2.text = "";
    range3.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
    range3.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut, false, 0, true);
    function manageMouseOver(event:MouseEvent):void{
      tfield3.text = "over "+ event.currentTarget.name + " zone";
    function manageMouseOut(event:MouseEvent):void{
      tfield3.text = "";
    . . . .and so on for two more ranges and text fields.

  • Searches In Content Areas

    Can AND/OR logic be used in searches?
    Is the length of the query field fixed or can it be expanded?

    Try posting this query in Oracle9iAS Portal Content Area

  • Help with interMedia Text and files into Content Area!!

    Hello
    I need to use interMedia text to search into the content of some files(.pdf and .doc) that have been uploaded to a content area. I have found that I can use operators like contains, soundex(!) and some other but my problem is that I have no idea how to create my query in order to search into the files.
    Please can anybody give me an example of using intermedia to search into some files stored in a content area.
    I know that by clicking on the portal home, Search Settings under interMedia Create index the content of my files are indexed but I still don't understand how to search over this content.
    Thanks in advance
    Ana Lasprilla

    Hi
    I don't want to use this portlet because It can be customize the way I need it to, so I want to build my own searcher that's why I need to know how can I access the files into my content area with intermedia.
    Another idea please
    Ana Lasprilla

  • BI content with folder structure in portal Content Area

    HI Dear Friends,
    I have  a requirement in my current project where i am integrating the BI reports with SAP EP.Iviews are associated with BI Reports.In the portal on clicking workset it should display folders in the portal content area with Icons instead of in Detail navigation .On click of the displayed folders it should display its sub content with Icons.
    I tried in all ways but later i came to know there there is a SAP BI business package which would come up with predifined iviews associated with BI. By importing this business package we can dispaly the  BI content in the portal in a folder format .
    I am using BI and EP 7.0 versions.
    Ratnakar

    Ratnakar,
       Let me understand your requirements, correct me if I understood it wrong. You need to display BI reports in Folder structure that is similar when you log on through BEx analyzer or WAD. If this is correct, then you need to upload the BI Role which contain all the required Folder structures and it BI Queries or BI Queries url assigned to that role.Once you upload this role on to portal , you will see folder structure on PCA.
    Example
    BI Reports  - Folder 1
      I--> FI reports  -- Subfolder 1
      I            I--> AP reports 1
      I--> CO reports  -- Subfolder 2
                   I--> Cost Report 1         
    Hope it helps,
    Cheers,
    Balaji

  • Using Business Area and Profit Center Accounting with New GL functionality

    Hello,
    We are Public Sector and using ECC 6.0, we have been using Business Area with Fund Management. We also use Special Purpose Ledger with Document splitting. Before migrating to New GL functionality, we want to understand
    -     The possibility of using both Business Area and Profit Center Accounting, and the impact on the system
    -     If we activate Profit Center Accounting before migration, how will it work with the splitting process?
    -     If we migrate without Profit Center Accounting, will this cause the activation of Profit center accounting later to be more complicated, even if we migrate again?
    Thanking you

    Hi Sachin,
    Thank you for the reply, we want to know that
    -     The possibility of using both Business Area and Profit Center Accounting, and the impact on the system
    If we decide using Profit Center Accounting with Business Area with New GL functionality how we should do it
    -     should we activate classical Profit Center Accounting before migrating to New GL functionality, if we do this how will it work with the splitting process?
    -     If we migrate to New GL functionality without Profit Center Accounting, will this cause the activation of Profit center accounting later to be more complicated, even if we migrate again?
    Thanking you
    Tipu Khan

  • Security issue with content areas

    Hi Everyone,
    I was wondering if anyone else has experienced this. If you have, is there a work around? It seems like some of content area security is cached in the database. This is what happened in my two test cases.
    Test case 1:
    - First I created several content areas with subfolders by using the wwwsbr_api.
    - I granted access to just to the content area, and not the subfolders. I did this because when I looked at the content areas created above, the Add Privileges To All Sub-folders was marked.
    - Then when I login as the test user I was able to see the content area, but none of the subfolders. That didn?t surprise me because I was guessing that the radio button to add privileges to the subfolder was only used when the user pressed the Cascade Privileges button.
    - I granted access to the all subfolders on the content areas the test user should be able to access.
    - Then I login again with the test you. I move into the content area that I viewed the first time, and I still can?t see the subfolders. But I could see all the subfolders of the other content areas the test user had access to.
    - I logged in to make sure the group was added to access the subfolders of the content area. The group did have access to the content area and all the subfolders, but the user still could not see the subfolders.
    - The only way the test user was finally able to see the subfolders was for me to go to the content area and pressed the Cascade Privileges with Add Privileges To All Sub-folders marked.
    So it seems like for some reason Oracle is storing the security, and not updating it when it is updated via API for content areas.
    Test case 2:
    - First I created several content areas with subfolders by using the wwwsbr_api.
    - I granted access to just to the content area, and not the subfolders.
    - Then when I login as the test user I was able to see the content area, but none of the subfolders.
    - I alter the test user and give him the privilege to view all content areas.
    - I login again as the test user, and I go to the content area I looked at the first time I logged in, but still couldn?t see any of the subfolders in it. I went to two other content areas, and was able to see all the subfolders.
    - I alter the test user again removing the privilege to view all content areas.
    - I login again as the test user and look at the second and third content area again. I still could see all the subfolders even though the user does not have access to them.
    I have tried clearing cache, history, deleting all temporary files and restarting my computer to make sure that it was not caching issue in the browser.
    Thanks,
    Tom

    Hello Simon,
    do you have access to SAP notes? Here you will find the detailed information when the problem will be solved:
    [Note 1178438|https://service.sap.com/sap/support/notes/1178438]
    Regards, Christiane

Maybe you are looking for

  • Windows 7 Crashes with BSOD - RDR_FILE_SYSTEM mrxsmb2.0

    OS is Win 7 Pro 64-bit in AD with SBS 2011 on back end Users PC crashes every few days with stop error that includes RDR_FILE_SYSTEM mrxsmb2.0 Typically happens when user is using Adobe Acrobat Standard, often creating, moving, deleting and renaming

  • CC&B Batch Programming - createJobWorkForThreadWorkUnitList

    Hi, What is the Difference between createJobWorkForThreadWorkUnitList and createJobWorkForEntityQuery methods for creating Job Works. which one will give more performance Thanks and Regards, Ujesh.

  • I used to be able to tether

    Prior to ICS all I had to do was make sure wifi was off, connect to my laptop via usb and tether away. Now the checkmark on tethering doesn't stay lit and I am unable to connect. FYI I was told I should not have been able to tether prior to ICS, but

  • Dr Kingsley operating on our server... help!

    It seems like some bot has found out the way to use our server for spamming, and I thought we were not open-relay! Overnight 65000+ e-mails have been sent, I think from the account www@(mydomain). Is there any way to fix it? I have been reading a lot

  • WHY DID I BUY CREAT

    My experience since January of things not working as they should: / Bought 2 Audigy 2 ZS Platinum cards and needed to return 3, thats right on 3 occasions a new card did work. 2/ Speaker setting set at 5. but randomly reverts to 2.. 3/ CMSS settings