Customising the Search Portlet
Is it possible to customise the Search Portlet that is provided with Portal ?
We would like to use a different banner (to keep it consistent with bespoke portlets that have been developed) and also make some changes to the results page.
We are running Oracle Portal v3.0.9.
Thanks in Advance
Simon.
null
Simon,
here's what I did:
1. I placed the search portlet on a page.
2. Viewed the html-source of that page.
3. Copied the part of the search portlet.
4. Modified the source to suit my needs.
5. Placed a HTML-portlet on the page, and pasted the HTML in it.
Hth,
Ton
Similar Messages
-
What exactly does the search portlet searches?
Hi there, I'm wondering if the search portlet searches in the entire Portal? Does it searche also in the documents of the Portal?
ThanksDocuments are regarded as Portal items and so yes Search Portlets "can" search documents metadata. Additionally if Oracle Text is enabled for the Portal instance then the document content can also be deep searched/indexed by terms entered in the Search Terms box of a search portlet.
-
How to reduce the size of the search portlet
How to reduce the size of the search portlet inserted into a
page?
Thanks,
MaraMara,
you can reduce the size of the portlet customizing the HTML
code... i had the same problem and i reproduced the search
portlet with a dynamic page, customizing my HTML and using the
categ. & perspective IDs of the original portlet. It works but
is not an elegant way to do this... i'm searching a better way
to do it. If you'll find, please let me know....
Fab -
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 Pironethi,
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 -
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. -
Problems in customising the HRASR00_PROFILES_SHOW WDA
Hi,
I am trying to customise the search part of HRASR00_PROFILES_SHOW.Actually it uses HRASR00_EMPLOYEE_SEARCH as a component usage for search functionality and that component internally uses
CL_HRASR00_WD_EMPLOYEE_SEARCH class to define the query and usergroup to fetch the input and output fields of the query as mentioned below
if cl_hrce_masterswitches=>userinterface_is_active = true and "like entry screen of PA30
cl_hrce_masterswitches=>selection_by_perid_is_active = true.
a_abap_query = 'EE_SEARCH_CE'.
a_usergroup = '/SAPQUERY/AD'.
a_workspace = 'G'.
endif.
I changed that to
if cl_hrce_masterswitches=>userinterface_is_active = true and "like entry screen of PA30
cl_hrce_masterswitches=>selection_by_perid_is_active = true.
a_abap_query = 'ZEE_SEARCH_CE'.
a_usergroup = 'Z_CST_EMP_SR'.
a_workspace = 'G'.
endif.
I am trying to change the query and usergroup so that custom input and output fields can be fetched .But for some reason my code customisation is not working .but when i execute my query from backend it is working.Is there any place in the backend where i need to set my custom query instead of standard query.
Please let me know some thoughts about that
Thanks
Bala DuvvuriHi Bala,
Can you share the solution? I've similar requirement where after employee search only personal data,contract data, monitor task,open processes etc needs to be displayed rest should be removed. Also certain fields of above view's needs to be hidden.
How can I achieve this from WDC - HRASR00_PROFILES_SHOW? -
Display folder path in the search result page
Hi,
I learnt that to customise the search results page, we need to change the SearchResultLayout set . Is there a command that I can add to the "command list" to display the folder/file path in the search results. Any suggestions in this regard is highly appreciated.
Regards,
SreeramHi Sreeram,
Pls check this thread..
https://forums.sdn.sap.com/thread.jspa?threadID=324119&tstart=0
hope this helps.
Regards,
Venkat. -
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 regardsNo, 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,
PriyaIndeed 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 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. -
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 regardsNo, 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? -
Customising the google search and new tabs inconsistency
1. Is there a way to customise the google search bar to the effect of what [https://addons.mozilla.org/en-US/firefox/addon/50999/ this] and [https://addons.mozilla.org/en-US/firefox/addon/51000/ this] add-ons do?
2. I don't like the inconsistency of FF3 when it comes to opening new tabs: CTRL+T opens a new tab at the very right, whereas clicking on a link or searching from the context menu opens the new tab next to the currently open tab. There should be a way to make FF work one way or the other.See http://mycroft.mozdev.org/google-search-plugins.html (Google (No country redirect))
-
How to customise OID search results page
How do you customise the user search results page in OID 902?
The default is for the username and email address to display. I wish the first and last names also to display.
Regards,
JohnI am also looking to customize the people portlet. I have raised a TAR with Oracle. If I get a repsonse I will post it here.
-
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
Maybe you are looking for
-
this has got ridiculous now i cant access itunes tore,my ipod says there is no music on it even though i watched it sync nearly 5000 tunes and the program apple mobile device exe eats my cpu at 97% it slows my computer to a crawl should have had the
-
400 Bad Request - Invalid path /b2c/secure was requested
Hi, I have two jsp pages. first page is included as a link in one of the inc.jsp in B2C application. This page has few input fields and upon submit button. I get error message 400 Bad Request - Invalid path /b2c/secure was requested the action tag wr
-
I get only one record returned. The following code is taken from my block -- set up the query context...! queryCtx := DBMS_XMLQuery.newContext(l_stmt_sel || 'pris.' || l_table || '@rel ' ); -- DBMS_XMLQuery.setRowTag(queryCtx,'???'); -- sets the row
-
I bought an iPod classic 160GB from someone. They left all their music on the iPod which I would like to keep. If I sync this devise with my already established iTunes account will it add my library to the ipod classic or when I sync it to my iTune
-
Workflow in Content Management
I have created forms using XMLFormsBuilder tool to put in content. a) Now how do I set up step-by-step workflow with approval process before the content is actually published? b) where and how do I provide Publishing Date, Archive Date and Offline Da