Authorization on Search portlet

Hello,
Is it possible to authorize an auto query custom search portlet?
I want to show the results of this query only to some users.
Thanks,
Ton

I know the various search portlets only show results of items of which users have sufficient rights.
But I want to use search portlets to show public items to a certain group.
Say, I have lots of news items, which are all available to all employees of a company. These items have perspectives which are the same of the departments. So, some of the items have the perspective Sales, others have Human Resource.
For each department, I'd like to create an autoquery custom search, which shows only the items with the perspective of the department, and place this portlet on the home page. To show only 'their' news items, I need to limit the viewing of this search portlet to a specific group (department).
It's Okay if these users find others news items when using other search portlets (simple search, advanced search) or simply by navigating to the 'news' page.
Ton

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

  • How to change the view of the basic search portlet

    Hi,
    I want to change the view of the basic search portlet. To be more precise, I just want a text box and a Go button in it. Cananybody advise on how to do this?
    Regards,
    Priya

    Indeed the 'Basic Search Box' item is what you want to use. You can choose what label you want or an icon if desired.
    As mentioned in a previous reply, you need to edit the properties of the Page Group where you want to add the item and add the 'Basic Search box' to the list of available items that a user can add to the page group.
    Navigator -> Properties (for the desired page group) -> Configure Tab -> Edit link in the 'Content Type and Classification' section -> Item Types section add the 'Basic Search Box'.
    Now in a page in that page group, add an item, and from the list of 'Built-In Navigation Item Types' you will see the 'Basic Search Box'.

  • 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

  • Basic Search portlet returns error when Display in New Browser Window set

    Ora AS Portal 10G release 2 (10.1.2.x)
    Have a region of type Portlets.
    The enable users to include content in this region is enabled.
    I added a Basic Search Portlet in this region.
    Basic search works fine if launched from current area, however if change attributes of region to have a link that displays item in new browzer window, then
    basic search portlet opens in new browzer window but returns error "Error: You do not have permission to perform this operation. (WWC-44131)"
    The Basic search portlet in the new window contains a link to advanced search. If use advanced search, results are returned.
    to test further, I added a advanced search portlet to this region, also with the display option to display item in a new window. In this case, the same error is obtained when doing a search.
    Has anyone experienced this?
    Any solutions?
    Thks in advance.
    Paulo

    Hi,
    Can you clarify what you mean by "change attributes of region to have a link that displays item in new browzer window"?
    Are you referring to Edit Region > Attributes tab ? Which of the Available Attributes did you select?
    Thanks,
    Chris

  • Customizing L&F of Search Portlet

    By default, Portal adds a graphical and text link to "Content Area Home" to its search portlet. The design of our site is not supposed to include links to our content areas, but I haven't found a way to get rid of the link in the search portlet. Can anyone shed some light on how I can custimize the portlet in such a way? Thanks.

    Unfortunately, the search Portlets make extensive use of javascript, as do many other parts of the Portal product. There isn't a way of getting the search portlets to work without javascript. Neither is it easy to write your own portlet user interface to Portal Search at present.
    If you only wish to search public content you could consider using Oracle Ultra Search to crawl and search Portal. This provides java implemented sample search portlets. These may meet your requirements, or they could be used as the basis for your own Ultra Search portlets that don't use javascript.

  • 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.

  • Ultra Search Portlet Configuration Problem

    Guten Tag,
    we are using OracleAS 10g Rel. 2 Portal. I've registered the Provider for Ultra Search.
    Now I understand that I have to add a data source in the OC4J_Portal configuration file "data-sources.xml"
    I want to make Ultra Search crawl and search our Portal.
    So I need to create a news Instance with the following entries (also for the data-sources.xml):
    - username and password are the Oracle Ultra Search instance owner's database user name and password.
    where do I find these info? It all has been done automatically by the RepCa when installing the IASPortal... ?- database_host is the host name of the back end database computer.
    is this the URL of our portal server (with or without /pls/portal/)?- oracle_port is the port to the user's Oracle Database.
    the standard Port of the Oracle Listener (1521)?- oracle_sid is the SID of the user's Oracle Database.
    Where do I get the SID of Portal DB after Installation?Thx,
    Gerhard

    Hi echee!
    I don't know what happened in the weekend, but now the Ultra Search portlet doesn't throws any exception.
    It seems works correctly.
    Maybe the servers was restarted or the sheduled crawler recovered something in the indexed data.
    I'm totally surprised.
    I checked the log files, but I didn't find any failure message.
    Now I must build a new Search Portlet for our portal, and I will contact you, if the problem returns.
    Csaba.

  • 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?

  • Search Portlet Content Services

    Is there any search Portlet for the Content Services Search ?
    thanks
    Kveni

    You are correct that it is not present but I can tell you that it is planned for a future release.

  • Content area & search portlet

    Hi Everyone,
    I have a couple questions and hope that some of you can give me some insight, thank you so much in advance!
    I need to implement a search portlet. I realized that there is one built-in portlet that came with the 9iAS. But it does not provide all the functionalities that I need. For example, I would like it to be customizable, therefore the drop-down-list lists only the content areas customized by the users and it only searches in those areas.
    Here are the questions:
    1) It seems that the built-in Search portlet uses the database provider. am I right? Where can I find its provider and also its jar files (I am guessing it is written in Java).
    2) If I have to write my own Search portlet, then I need to get the information about the content area such as which table the content area objects are saved to and how many content areas and in the area etc...
    Any insight will be greatly appreciated.
    Thanks,
    Vince

    There are some secure views that are available as part of the Pl/Sql PDK. They are listed here:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/sdk23vws.htm
    The views work by using information from the session context (see the wwctx_api package). Typically the session context will be set automatically by the portal framework if the request comes to the Portal Database via mod_plsql or the PPE.
    To find the content areas in which the user has access to folders, you'll need to join the WWSBR_ALL_CONTENT_AREAS view with the WWSBR_USER_FOLDERS using the ID and CAID columns, respectively.
    Content Areas don't have descriptions so a presume you meant the display name rather than the unique name. The display name can be found from the WWSBR_USER_FOLDERS view be joining WWSBR_ALL_CONTENT_AREAS to WWSBR_USER_FOLDERS again but choosing the root folder (select id, caid, language, display_name from WWSBR_USER_FOLDERS.ID = 1). You'll also need to restrict by language.
    Please write again if you need more info.

  • 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

  • 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.

Maybe you are looking for

  • Windows 8.1 Pro, failed to install Hyper-V, reverting changes

    Hi, I'm trying to install Hyper-V, but I'm unable to do it. After rebooting my PC after adding the feature, update goes to 95% and shows the message that changes are being reverted. Can someone help me? I attach my CBS.log: http://www.speedyshare.com

  • Voicemail

    Hi, just picked up my very 1st smartphone yesterday - iPhone 5C - how do you set up your voicemail? - am taking a class next week at Apple to learn how to use it but need voicemail now. Thanks!

  • Limit the records return by a select query

    I have select query as follows select id,name,designation from emlpoyyee; it is returning 20 rows.Is there any way to limit the records from a range to another range. eg -first 10 records. or 10-20 records e.t.c Thanks for any help

  • Importing Outlook Express email address book

    I have tried to sync my email address book but nothing gets transferred. What do I have to do?

  • No audio when I export as a quicktime movie

    I am exporting my movie from FCE as a quicktime movie, but there is no audio on the exported file. Why would this be?