Can't find the type wsrc_runtime_attr_varray for using the wwrc_api API

hi,
I manage to build a custom search portlet in PL SQL that can search for items and filter on their attributes.
everything works lovely and I'm at the final stage : performing the search !
I plan to use the wwsrc_api.item_search procedure and specify attributes with the
wwsrc_api.specify_attributes.
(see the doc on > http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwsrc_api.html#procedure-specify_attributes )
The problem is when calling teh specify_attibutes procedure, I can't declare the last (but not the least) parameter. It's type is wsrc_runtime_attr_varray and I can't find it anywhere in any schemas of my DB.
here is the signature of the procedure :
procedure specify_attributes(
p_id in number,
p_siteid in number default wwsbr_site_db . shared_siteid,
p_value in varchar2,
p_operator in varchar2 default contains_all,
p_datatype in varchar2 default data_type_text,
p_in_out_attr_varray in out nocopy wwsrc_runtime_attr_varray
My question is : where is the type wsrc_runtime_attr_varray ?
any clues ?

hi sebastien,
I've some troubles when performing a search using the "specify_attributes" procedure
I get the SEARCH_FAILURE_EXCEPTION when i try to search items with an attribute.
The search works well without calling it.
Can you help me ?
CODE
create or replace
PACKAGE BODY PKG_SEARCH AS
PROCEDURE get_contents(p_siteid INTEGER, p_intitule VARCHAR2 DEFAULT NULL) IS
v_result portal.wwsrc_api.items_result_array_type;
v_outcount NUMBER;
v_outscores portal.wwsrc_api.number_list_type;
v_attributes portal.wwsrc_runtime_attr_varray;
v_intitule portal.wwsbr_item_attributes.VALUE %TYPE;
-- Attribut "INTITULE"
v_intitule_attrid NUMBER;
v_intitule_caid NUMBER;
v_intitule_type VARCHAR2(20);
BEGIN
* Construction de l'objet ATTRIBUT avec la vue WWSBR_ATTRIBUTES
* partie "INTITULE"
select id, caid, data_type into v_intitule_attrid, v_intitule_caid, v_intitule_type
from portal.wwsbr_attributes where name = 'INTITULE' and rownum = 1;
portal.wwsrc_api.specify_attributes(
p_id => v_intitule_attrid,
p_siteid => v_intitule_caid,
p_value => p_intitule,
p_operator => portal.wwsrc_api.MATCH_ANY,
p_datatype => v_intitule_type,
p_in_out_attr_varray => v_attributes
v_result := portal.wwsrc_api.item_search(
p_attributes => v_attributes,
p_attributesmatch => portal.wwsrc_api.match_any,
p_out_count => v_outcount,
p_out_scores => v_outscores);
-- nbre de résultats
htp.prn('Total : ' || v_outcount);
     -- pour chaque resultat
FOR i IN 0 .. v_result.COUNT LOOP
IF v_result.EXISTS(i) THEN
-- récupération de l'attribut personnalisé 'INTITULE'
SELECT VALUE INTO v_intitule FROM portal.wwsbr_item_attributes
WHERE item_caid = p_siteid AND item_masterid = v_result(i).id
AND attribute_id = v_intitule_attrid AND attribute_caid = v_intitule_caid;
-- PRINT
htp.prn('<document>');
htp.prn('<id>' || v_result(i).id || '</id>');
htp.prn('<type><![CDATA[' || v_type || ']]></type>');
htp.prn('</document>');
END IF;
END LOOP;
htp.prn('</documents>');
-- gestion des exceptions
EXCEPTION
WHEN portal.wwsrc_api.search_failure_exception THEN
htp.prn(' An internal exception was raised by
* Portal or Oracle Text');
WHEN others THEN
htp.prn('Erreur inconnue');
END;
END PKG_SEARCH;

Similar Messages

  • Where can I find Icon files (*.ico) for using in forms

    Q) Where can I find Icon files (*.ico) for using in forms?
    Explaination: I am looking for icons for showing them in my application. Like I have an iconic button for 'Data Entry' option on Vertical Toolbar. Then one icon for Reports and Queries and so on. I need some icons which reflect the heading like for 'Data Entry', I would like a person working on a keyboard. For reports I would like to have a person reading a report or something like that.
    Can I find such icons on internet or any specific site?
    Pl. guide.
    TIA
    Tariq

    There are thousands and thousands of places on the internet to find .ICO files. Just find one with image and size you want, and use it.
    Note that if you are using web-deployed Forms, you will need to convert the .ICO file to .GIF or .JPG for runtime. The Forms Builder still uses .ICO files, though.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • What is the best practice for using the Calendar control with the Dispatcher?

    It seems as if the Dispatcher is restricting access to the Query Builder (/bin/querybuilder.json) as a best practice regarding security.  However, the Calendar relies on this endpoint to build the events for the calendar.  On Author / Publish this works fine but once we place the Dispatcher in front, the Calendar no longer works.  We've noticed the same behavior on the Geometrixx site.
    What is the best practice for using the Calendar control with Dispatcher?
    Thanks in advance.
    Scott

    Not sure what exactly you are asking but Muse handles the different orientations nicely without having to do anything.
    Example: http://www.cariboowoodshop.com/wood-shop.html

  • Can't change my Apple ID for using the cloud

    I had to change the e mail of my Apple ID as it no louder works but now I can't log into my iCloud and FaceTime as it has the my old address and it won't let me change it please help

    Go to Settings>FaceTime, tap the ID and sign out.  Then do the same thing in Settings>Messages>Send & Receive.
    Then, to change the ID for iCloud, if your old ID is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
    Then go to Settings>FaceTime and Settings>Messages<Send & Receive and sign back in with your current ID too.

  • Where can I find a good tutorial on using the Review Widget?

    Have done 2 books with iBooks Author, and still can't get the Review Widget to work. Is there a tutorial available? Thanks for any help!

    ibook-widgets.com    have a free tutorial book in the iBooks store.  Search for "Create your first interactive book using iBooks Author"   they also  sell widgets.
    I  dont have any connection - I  found their eBook in the store long ago  and used it to learn more about iBA.
    The best advice though, is be patient,  go back over the process step by step, I cannot  access the Help files for some reason.. but i am sure its in their.

  • Where can I find instructions or manual for using Premier elements 12?

    Looking for instructions or manual for using Premier Elements 12. Has Photoshope Elements 7 and Premier Elements 7. I had saved projects which I now cannot retrieve into the 12 versions.

    bone
    I have Photoshop Elements 7 and Premiere Elements 7 on Windows 7 Professional SP1 64 bit as well as on Windows 8 64 bit. All is well.
    With your Photoshop Elements 7 your Windows 7, what do the Performance numbers look like under Full Editor, Edit Menu/Preferences/Performance?
    My Windows 7 64 bit has the Windows XP compatibility mode. Due to the results from some of my recent maneuvers, I wonder about your thoughts of installing Photoshop Elements 7 on the Windows XP Mode side and gaining access to it from the Windows 7 side. You may loss the integration perks of Photoshop Elements 7 and Premiere Elements 7 since they technically will be on different operating systems.
    I will explain next time if necessary how that type of idea backfired on me recently with my long standing problem of trying to get Photoshop Elements 12 Full Editor to open in my Windows 7 64 bit desktop.
    More later.
    ATR

  • What are the best practices for using the enhancement framework?

    Hello enhancement framework experts,
    Recently, my company upgraded to SAP NW 7.1 EhP6.  This presents us with the capability to use the enhancement framework.
    A couple of senior programmers were asked to deliver a guideline for use of the framework.  They published the following statement:
    "SAP does not guarantee the validity of the enhancement points in future releases/versions. As a result, any implemented enhancement points may require significant work during upgrades. So, enhancement points should essentially be used as an alternative to core modifications, which is a rare scenario.".
    I am looking for confirmation or contradiction to the statement  "SAP does not guarantee the validity of enhancement points in future releases/versions..." .  Is this a true statement for both implicit and explicit enhancement points?
    Is the impact of activated explicit and implicit enhancements much greater to an SAP upgrade than BAdi's and user exits?
    Is there any SAP published guidelines/best practices for use of the enhancement framework?
    Thank you,
    Kimberly
    Edited by: Kimberly Carmack on Aug 11, 2011 5:31 PM

    Found an article that answers this question quite well:
    [How to Get the Most From the Enhancement and Switch Framework as a Customer or Partner - Tips from the Experts|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0f0373e-a915-2e10-6e88-d4de0c725ab3]
    Thank you Thomas Weiss!

  • HT1338 how can i find which files that are using the most storage?

    help please !!! because my storage availability is getting lower !

    Try a program such as Disk Inventory X or OmniDiskSweeper.
    (70433)

  • What are the mail settings for using the eprint app on an iPad

    Hi I have just installed the eprint app on my IPad to allow me to print to my HP printer but I need to enter mail settings so I can print my emails, does anyone have any ideas what the settings are? I.e. Is it a POP or and IMAP setting?

    Here

  • Tutorials for using the UI element  "Network" in webdynpro.

    Hello,
      Where can I find tutorials or illustrations of using the Active component/UI element "Network" in webdynpro.
    Regards,
    Anupama.

    This is the only video tutorial that I know of:
    http://tv.adobe.com/watch/insights-on-acrobat-solutions/introducing-adobe-reader-for-ios/
    Unfortunately, that is fairly old and doesn't cover any of the editing features. More tutorials would be a great idea: Thanks for the suggestion. As for changing the color and size of a freehand drawing, please tap on the drawing. This should show a menu from which you can choose "Delete, Thickness, Color, Opacity". Once chosen, we will remember your choice for subsequent drawings. Hope this helps!

  • Best practices for using the 'cost details' fields

    Hi
    Please could you advise us to the best practices for using the 'cost details' field within Pricing. Currently I cannot find the way to surface the individual Cost Details fields within the Next Generation UI, even with the tick box for 'display both cost and price' ticked. It seems that these get surfaced when the Next Generation UI is turned off, but cannot find them when it is turned on. We can see the 'Pricing Summary' field but this does not fulfill our needs, as some of our services have both recurring and one-off costs.
    Attached are some screenshots to further explain the situation.
    Many thanks,
    Richard Thornton

    Hi Richard,
    If you need to configure dynamic pricing that may vary by tenant and/or if you want to set up cost drivers that are service item attributes, you should configure Billing Tables in the Demand Management module in 10.0. 
    The cost detail functionality in 9.4 will likely be changed to merged with the new pricing feature in 10.0.  The current plan is not to bring cost detail into the Service Catalog module.

  • Can't find type wsrc_runtime_attr_varray for wwsrc_api API

    hi,
    I manage to build a custom search portlet in PL SQL that can search for items and filter on their attributes.
    everything works lovely and I'm at the final stage : performing the search !
    I plan to use the wwsrc_api.item_search procedure and specify attributes with the
    wwsrc_api.specify_attributes.
    (see the doc on > http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwsrc_api.html#procedure-specify_attributes )
    The problem is when calling teh specify_attibutes procedure, I can't declare the last (but not the least) parameter. It's type is wsrc_runtime_attr_varray and I can't find it anywhere in any schemas of my DB.
    here is the signature of the procedure :
    procedure specify_attributes(
    p_id in number,
    p_siteid in number default wwsbr_site_db . shared_siteid,
    p_value in varchar2,
    p_operator in varchar2 default contains_all,
    p_datatype in varchar2 default data_type_text,
    p_in_out_attr_varray in out nocopy wwsrc_runtime_attr_varray
    My question is : where is the type wsrc_runtime_attr_varray ?
    any clues ?

    solved by metalink , Note:386742.1

  • How can I find my serial number for Adobe Acrobat 11. I got a new iMac and I don't want to use the new version at £18.00 per month. I don't need it. Thank you

    I used to use CS5 and I want to use the Acrobat version on my new iMac.
    How can I find my serial number for Adobe Acrobat 11.  I don't want to use the new version at £18.00 per month. I don't need it. Thank you

    Hi Anthony Aduhene
    Please refer : Find your serial number quickly

  • Where can I find a user-guide for the awfull Text-Editor used to enter/edit these forums entries?

    I am desesperate to understand how quite basic functions (just as one of many examples: how can I paste text, that I have formatted in MS Word and want to paste into a Forum Post-Entry?) can be done with the primitive and awful Text Editor used to enter/edit Forum Entries. Notice, that like many other Adobe users, I am not familiar at all with HTML and it is therefore a description of the badly named "Full Editor" that I am looking for.
    Where can I find a User-Guide for this Text Editor?
    My recommendation to Adobe: exercise enough  brute pressure on the developers of this primitive Text Editor to force them to provide something more reasonable, more powerful and more intuitive.

    Thank You Jochem
    I was trying to understand how I could do things as simple as inserting text that I had previously copied. Since there are neither command menüs nor buttons for the Insert of previously copied text, I was trying a mouse right click.....and was being offered in the context menu the choice between "Insert Link", "Insert Image", "Alignement", and "Insert Table"....... but no possibility of a plain insert of previously copied text.
    Now, I realize, that Clearstream supports at least the keyword shortcut of "Ctrl V" ........that I am not using in any other software (I never use any keyboard shortcuts).
    Since Clearstream does not support reasonable choices in the contextual menus, I will need to memorize the most important keyword shortcuts.
    By the way: I detected now, that the "Ctrl V" keyboard shortcut allows me to insert formatted text.
    Even, if I will now begin to be able to use reasonably Clearstream, I am quite surprised to see that such a software provides neither reasonable Contextual Menus, nor a User Guide, nor........
    Thank you again Jochem for your patience with me.

  • I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be fund raising, gift p

    I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be dependent on the customer type selection from the first list. Some examples would be: fund raising, gift planning, surveys, and others. The purpose of the trip would be dependent on the program type selected from the second list. Some examples of trip purposes would be: presentation, design, prospecting. Further, the purpose of trip selection from the third drop-down box would then have to determine the values of other fields by expense type: such as commission, airfare, hotel. etc. I've tried pop-up menu but can't figure out how to "select" from the final popup list and have it populate a field for the purpose of the trip. I've tried to look at the JavaScript examples for dependent drop-down boxes, but can't find any that quite fit what I'm trying to accomplish. I am very new to all of this. No training in writing Javascripts - just trying to wing it. The form has to be very simple for our consultants to use, but also give our office the detail we need to process through the correct account numbers. I would appreciate any detailed step-by-step instructions - kind of a javascript for dummies type of info. HELP!

    An AcroForm is the name given to the type of PDF form that you create in Acrobat. An XFA form is the type of form that you create in LiveCycle Designer. Although they are both PDF files, they are very different structurally and have significant;y different scripting models. So pay attention to the information on AcroForms and ignore anything about XFA. Be sure to get the sample PDF forms so you can look at how it works and where the scripts are placed.
    What you want to do will require scripting, and if you don't have the experience and are unable to use the information in the tutorials to create what you want, you might consider getting someone who has experience do this for you. I'll often suggest code if I can do so quickly, but what you want requires more than a few minutes.

Maybe you are looking for

  • ALE Distribute Financial Statement version /Cost Element group

    Hi SAP guru, Would any of you advise me of Standard SAP transaction to send Financial statement version or Cost Element Group via ALE(IDOC)? I am aware of BD18 to send GL master data (program: RBDSEGLM) to send IDOC out of SAP but also looking for a

  • Want program using extended_program_check and extended_program_check_show

    want program using extended_program_check and extended_program_check_show

  • TCP connection indicator

    Hello I am using the "Example TCP IP Server" example from labview 8.5. I have a question about the connection indication. There is an light Indicator on for the connection that goes to the "TcpListen.vi" in the block diagram. When I open and close th

  • Playing a frame label in a parent

    I was just getting used to actionscript 2 now 3 comes along... I have this segment of code: this.parent.videoOne.gotoAndPlay("playing") it doesn't work in AS3, in the parent I have a movie clip instance called "viedoOne" with a frame labeled "playing

  • Intune (standalone) - 8.1 laptop as mobile device - password compliance issue

    Have Intune trial setup, couple of users created, cleanly reimaged (clean install from media, not a company image) 8.1 x64 laptop with all current Windows Updates. Joins workplace and enables management ok, installed Company Portal from store, then t