Customized search portlet

In the configuration of the customized searh portlet I have two question:
1. How can I force the research in a page and it's subpages whitout give the choise to the user?
2. How can I force the research on a item type only?
For example, I have an item type with name Faq, and I wold give to the user a search box for to search in the items Faq in a fixed range (a page and it's subpages).
It's possible with the custom search portlet? What is the right way?
I have Portal 10.1.2
Thanks.

Hi Smignani:
I've not had much luck funding how to limit a custom search to a specific page and its subpages. You can certainly limit it to a specific pagegroup if that helps. It is on the "What to search" tab. You can also take away their ability to choose a page by clearing the pagegroup and page check boxes on the "Search Form" tab.
If you don't want to give your FAQs their own pagegroup, here's a trick I have used with success in the past when dealing with a custom search and custom item types:
Create a new attribute called 'searchable' or 'faq'. Assign the attribute to your custom item type FAQ with a default value of Y. Set it so it is hidden (does not appear on create or edit). Now, edit your custom search and add the 'searchable'/'faq' attribute to the "Search Criteria" tab with a value of Y. Finally, remove the attribute from the search form and results display tabs.
This will cause the custom search to only return your FAQ item type. If used in conjunction with the removing the user's ability to select a page or pagegroup, this should effectively give you what you wanted I believe.
Rgds/Mark M.

Similar Messages

  • How to create a custom search portlet that groups results by category

    Hello,
    Is it possible to create a custom search portlet whose search results are displayed on a page grouped by Category? Basically the results page should have Category heading followed by search results.
    I realize this is not canned functionality but any ideas on how to accomplish this using PLSQL APIs is also welcome.
    Thanks.

    hi,
    one workaround i could think of is using the CM views to search for content that belongs to a category and display it in a custom way.
    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc904/wwsbr_api_view.html
    this only allows you to search for the meta-data available in the CM views but not the content of an item that is available when doing a search.
    in the next major portal release we will have a publich search API that can be used for these type of requirements. you can execute your search and format the results in the way you want.
    regards,
    christian

  • Custom Search portlet : how to sort the result in sequence (Portal 10.1.4)

    With a Custom Search portlet how to Sort the Result By Sequence. i.e. by respecting arrangements of the items in the page of contents?
    Actually the Results Options "Order By" are : Create Date, Author, Creator, Date Updated, Display Name, Last Update by, Publish Date, Score.
    Is there an action to add the "Sequence" Order By result Option?
    Great thanks for your kind help.
    Best regards

    No, I agree that it is functionality that should be added to the product, but it
    is not a bug because it was not written to do this.
    It is a short coming of the product.
    Cheers,
    Ersan

  • Custom Search Portlet not getting the results as expected.

    Hi All,
    I am using CustomSearchPortlet and I am having following problems. I created an itemtype IT with attributes A1,A2.Then I configured my custom search portlet to search based on A1,A2 attributes only. I have created 3 instances of items Item1,Item2,Item3 based on itemtype IT as follows
    Item1(A1=value11,A2=value12)
    Item2(A1=value21,A2=cat22)
    Item3(A1=value11,A2=value32)
    and when I search for value11, I get Item1,Item3 as results. Till here it was nice and behaving as expected. Suddenly after some time, it stopped working and i am not getting the results I used to get before. The only thing i remember to have changed in the meanwhile was to change the A2 attribute values of some of these items. my searchtext remained the same as value11. I was confused as to why the custom search portlet is not getting these results that it was getting before...Thanks for any help in solving this.
    Thanks,
    Prasanth.

    Hi,
    If Oracle Text is enabled in your portal, the updated items need to be synchronised before they can be returned in the Search. Since you updated those items, though not changing values for this particular attribute, it will be in the queue for indexing and hence will not be returned until it is indexed.
    Thanks.

  • Custom Search Portlet : How to Sort the Result By Sequence (Portal 10.1.4)

    Customer request: With a Custom Search portlet how to Sort the Result By Sequence. i.e. by respecting arrangements of the items in the page of contents?
    (Like it's possible in MyOracle)
    Actually the Results Options "Order By" are : Create Date, Author, Creator, Date Updated, Display Name, Last Update by, Publish Date, Score.
    Is there an action to add the "Sequence" Order By result Option?
    Great thanks for your kind help.
    Best regards

    No, I agree that it is functionality that should be added to the product, but it
    is not a bug because it was not written to do this.
    It is a short coming of the product.
    Cheers,
    Ersan

  • Custom Search Portlet: How to specify a page in the auto query?

    I want to specify a page in an auto query (Automatically display search results).
    I'm able to specify a pagegroup (Tab What to Search), but unable to select a specific page and to include/exclude subpages.
    This option is available on the SearchForm Tab. We are running 9.0.4.

    A similar question was asked in this discussion:
    Custom Search Portlet
    A Portal Search Team member replied that this feature might be included in 9.0.4.
    We are testing 9.0.4 and it's not available. When is feature this scheduled?

  • Is it possible to pass parameters to custom search portlet?

    Hello!
    I use custom search to display automatically results.
    But I need to dynamically add some conditions or change sort order based on user selection in another portlet.
    So, is it possible to pass parameters to custom search portlet?
    Boris
    P.S. I am use Portal 9.0.4

    Hello!
    Ok, I find how to hack it and find out parameters (p_mainsearch, p_order_by_attribute...), but is there any documentation or notes about it?
    And is it possible to change order by list & add there my attributes?
    Kind regards,
    Boris

  • Custom Search Portlet : Find all item created in a such year

    Hi,
    I'd like to find the way to search for items created in a such year.
    I have added the 'created on' attribute in the form, but the operator is equal lower of higher.
    What I need is to find the item created from 1st January to 31 December.
    Does anyone have an idea ?
    Benoit Pironet

    hi,
    this is the expected behavior. the way it is working is that the search portlet is going against the search index. in fact there are 2 search indexes on the server: one for the meta-data and one for the content. both indexes are craeated using oracle text. by default the indexer is refreshed every 1 hour due to performance reasons.
    if you want to change this you can do it - this is described in the portal configuration guide. you can also real-time synch your indexes. this is a new features in 10.1.4.
    http://download.oracle.com/docs/cd/B14099_18/portal.1014/b19305/cg_srch.htm#i1027594
    8.3.5.1 Synchronizing Oracle Text Indexes
    hope this helps.
    regards,
    christian

  • Problem with Custom Search Portlet

    Sorry that I mistakenly posted this in the UI forum.
    We created a portlet that is to return its search results on the portals search results page using the steps in the following url [url http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_14122_717084_0_0_18/5_0_search_results_page_url_format.htm]
    Our current portal version is 6.1. The actual search part works and returns documents but does something special have to be done to get search terms from our portlet into the analytics search terms table? It had worked in our earlier version of the portal 5.x. but no longer does after the upgrade. Any help would be greatly appreciated.

    I have the same problem.
    Any ideas?

  • How to use Custom Search in Dynamic Page or HTML Portlet ?

    Gurus,
    1. I have a tab called My Space in the portal web site, where user gets a personalized view of the content.
    2. I am using custom attributes and custom item types. I have a custom attribute called 'Location', which is a attribute of custom item types.
    3. I have 2 pages - News and Events.
    4. All the content in News and Events page is tagged by the attribute 'Location'.
    5. The requirement is to let the user search the News and Events by Location.
    6. To achieve this I used the Custom Search portlet and the user can select the attribute Location and see the resultant News and Event items by location in the Search portlet.
    7. The requirement is to present the News items and Event items in separate regions on the page and show only the first 5 News and Event items in the result and show a More link which would guide the user to rest of the News and Event items.
    8. Eventually there may be more content other than News and Events tagged by location. If so, the requirement is to create a new region and display the new content.
    9. How would I do this using custom search ? I was thinking if there is anyway I could use the custom search api (where can i find it ?) in the HTML portlet or Dynamic page and submit the result to IFRAMES in each region and show the output ?
    Pls advise.
    Thanx a bunch.

    I would suggest that you use two custom search portlets; one for the news items and one for the events items. Switch the custom search portlets to "AutoQuery" mode and add the relevant criteria. On the results display tab of the the "edit defaults" screen, choose to show just 5 items.
    To add a link to show the user mode results, I'd create two new pages that have just a single custom search portlet on it that is customised to show more of the results and maybe has the pagination links enabled.
    Then I'd add two "Page Link" items underneath the two news and events portlets on the first page in an item region.
    I'm sure there are other ways of doing this as well. Hope that helps to get you started.

  • (Custom) Search: How do I get Page hits vs. Imbedded portlet hits

    Say a page "A" contains a portletized page "B" which contains text "C" .
    How can we get the Custom Search Portlet searching for "C" to return as a hit page "A" vs. returning the actual page "B" which is what is included in page "A".
    (Currently we get back "B" where we want to get "A")
    So at the end of the day we want to get the page where the hit belongs to NOT the "piece" (portlet) which the hit came from...
    THANK YOU!!!

    Hi,
    How did you manage to achieve this with UltraSearch?
    I am stuck with this problem.
    Thanks in advance.

  • Deleted items showup in custom search

    We are using custom search portlet for search functionality on our site. The problem is, items that were deleted from a page in the past are also showing up in search results. And when we click on the item in search result, it throws page not found error.
    I checked the database and these items are there in wwv_things table. Any way to automatically remove deleted items from index tables?

    Which version of portal are you working with? Thanks.

  • Custom search using boolean attribute set to True gives no result

    I am setting up an auto-query using the custom search portlet. This is to show all items where a boolean custom attribute is checked, ie = True.
    In step 3 I have tried to set the operator to Equals to and the default value to True. This gives no results even though several items have this attribute set to True.
    The Auto Query check box is checked.

    Found that True = 1 in database. When set to this the search works.

  • Custom Search on Pages

    Portal 9.0.2.3.0.b
    We wish to use a custom search portlet to allow users to search pages (not items) based on keywords. We have selected the keywords attribute but the search still looks at the display name and description as well. Is this expected behaviour? I thought the custom search should only query against the selected attributes.
    Thanks
    Lisa

    Yes, this is expected behaviour for the "search term" ie. in the "Search For" field. It varies slight depending on whether Oracle Text is enabled or not. If it is not:
    Searches are performed on the page attributes, such as title, description and keywords.
    If it is:
    Searches are performed on the page attributes creator, description, keywords, name, title and updator.

  • Portal Custom Search Results Question

    Hey,
    We are using a custom search portlet to search through a page group containing content relevant to a group of end users. The results generated from the search a fine apart from that they also return items from the page group such as navigation pages or templates. So, when the user searches for a given simple keyword they get some pages and some navigation pages which would obviously be a little confusing.
    How can we restrict the results in to being just pages ?
    Cheers,
    Mark

    Mark
    I don't have details of your content and it's attribution and structure, but it's possible with the custom search portlet to add search criteria to your search portlets that are hidden from the user. You can use this to place additional restrictions on the queries that filter out the extraneuous results, unbeknownst to the end user.
    Thanks.

Maybe you are looking for

  • Error in Proxy configuration with SLM

    > Hello Experts, > > I am encountring some problems when configuring SLM with Solution Manager 7.01 SP06. I have applied all the settings required for SLM and described on the How-To documentation. I have also read all the forums regarding this issue

  • Video synchronization problem

    Hi, I am building an application that must play 2 videos in sync. The videos are streamed using RTMP. One of the videos is shorter then the other one and it must play/pause when the main video reaches predefined time key points. The problem is that i

  • Adobe After Effects CC Crashing!

    When i open ae it popsup a warning saying 'your disk cache is on a drive that does not have enough availible space to safely store the full amount specified in your preferences. Please make more space avalible or go to Media & Disk cache preferences

  • I need help on Oracle Spatial

    Hello; I4m about to develop an application using your Spatial cartridge, but i4m not sure if it4s the best way to do it. Well, this application must store images caracteristics, but in more than 3 dimensions, i haven4t found any information about thi

  • Macbook air time machine files locked

    Hi all, I have just changed form an iMac to a Macbook Air and used a My Passport Air to back up all of my data from the iMac. When I put the drive onto the laptop initially it worked and I could view all of the files no problem. However, my husband h