Custom Item Types / Refresh

We have a portlet on a page containing status information on Customer Service Tickets, etc. This was built using a custom item type and stored procedures.
The problem we're having is that the portlet will only refresh upon login. Using the browser refresh and reloading the page does not invoke the procedures.
Is there a solution to this? Is there a better way of building this application?

hi Brijesh,
one idea i have is to create a table where you insert a value once the item gets created (maybe the itemid). now add an if statement to your custom item type procedure where you check if the itemid is available in this table. if yes do nothing (null;) if it is not available execute the procedure since it is the first time the procedure is executed (means the item gets created).
regards,
christian

Similar Messages

  • Oracle Text and Custom item type

    I have a custom item type defined that has custom attributes. With Oracle Text disabled, I can use a custom search to find these items either by their standard attributes (name,description, etc.) or their custom attributes. However, as soon as I enable Oracle Text (and allow the indexing process to complete), I can no longer locate these items in a search.
    I assume that I need to do something to tell Oracle Text to index these types of items, but could not find anything in documentation. Any assistance would be appreciated.
    Also, assuming we get around the above issue, if I have Oracle Text enabled, does this mean I will not be able to find these items after they are created until the next scheduled index update? Is there away around this besides killing Oracle Text?
    Rgds/Mark M.
    Portal 9.0.2.6

    The indexes need to be synchronised for the items to be searched and returned. Hence until the next scheduled index update, the item will not be returned. To explicitly udpate the indexes, run the procedure in the portal database connected as the schema owner.
    SQL> exec wwv_context.sync();

  • Custom Item Type Icon not displayed

    I have created a custom Item type from the base File type for PDF files.
    I have asociated a PDF Icon with this type.
    When I create folder object of my new PDF Type, my Icon does not ever seem to show up.
    Why?
    I must change the image associated with each item (secondary tab). to get an Icon to show up.
    Why?
    null

    Stuart,
    According to the help text:
    "Currently, this icon is not used by Oracle Portal. The icon may be used in future releases."
    But, if you want to show it, you can use a procedure in the custom item type to display the icon. Just find the URL to the icon (in Internet Explorer, right click on the icon and select Properties to get the URL) and write a simple procedure to display it. For an example of a custom item type procedure, see the discussion at http://technet.oracle.com:89/ubb/Forum82/HTML/000379.html .
    Regards,
    Jerry
    null

  • How can I display custom item type icon?

    portal 10.1.4
    when I try to show the icon of a custom item type, there is no way to show the type of the uploaded archive. Anybody?
    Thanks in advance

    Yup, possible using system variables that can track time and conditional advanced actions.

  • Customized content item / type

    Hi there,
    I would like to know what is the best way to store a content
    item in my project.
    I'm working on a portal which need to group the course
    information into categories. Each course should be a content
    item in this case. Each course has its own course
    information. What is the best way to store each course as
    content item which allow publisher to update the course info and
    can make use of the category feature from the Portal ?
    In 9iPortal, it allows us to store it as file, folder, text,
    PL/SQL, image etc. I believe it's not a good idea and doesn't
    fit my purpose. All these are static objects.
    Can I make use of the custom type ? If so, how can I generate
    page with the info stored in the attributes of the custom type ?
    Say, I have created a new custom type named course and then it
    has attributes like course title, course dates etc.
    I would like to allow my user to type in the course information
    and then we can generate dynamic pages from the information.
    I'd used other Portal product which allow developer to define the
    content type attribute easily and provide API to retrieve
    the content and category item. Then we can write jsp to retrieve
    the item. But I can't find the same thing from Oracle9iAS
    Portal.
    Can someone give me some clue ?
    Thanx
    Regards,
    Maggie

    Custom item types are a good solution.
    Custom types allow you to call procedures (either a stored
    procedure or a servlet via a URL) - the procedure can in turn
    generate a custom presentation for your item. Procedures can be
    passed any of the attributes of your item, including custom
    attributes.
    Folder styles can also be used to specify which attributes are
    displayed for an item.
    So try the style first. If you don't like what you are able to
    achieve with the style, use a procedure to render your custom
    item type any way you want.
    Regards,
    Jerry

  • Custom Page Type

    Is there a way of hiding the Category and Keyword base attributes on a custom page as there is when creating a Custom Item Type?
    Is it possible to create a page template from a custom page? I just get "Error while copying page. (WWC-44262)
    (WWC-00000)" when trying this on Portal 9.0.2.3.
    I can create custom pages using wwsbr_api.add_folder but I don't think there is a way to associate a UITemplate with the resultant pages by amending one of the parameters. Can I use the information held in WWTMP_ALL_TEMPLATES to update whatever table associates the UItemplate with the folders/pages - if so which table is it? (I have now attached a template itself linked to a UITemplate to the page group but when you attach a template you lose the right to amend the page areas).

    Kendra,
    Sorry for the late reply but the forums were down yesterday.
    It is not a good practice to update the Portal tables directly. In this case, if the custom page type is identical to a standard page then the manual update should work. That means the custom page type should have no custom attributes or procedures. The custom attributes and procedures can be added to the page type later.
    There are other ways to solve this problem. You can use page parameters to accomplish the same thing - just define the page parameter, set a default value, and make the parameter non-customizable. If you have a group of pages that have the same attributes, you can define the parameters in the page template and all the pages will inherit the values. Using page parameters is no more work than updating attributes in a custom page type, and it is easier for portlets to get access to the parameter values than to look up page attributes.
    You can also use the function WWPRO_API_PARAMETERS.GET_VALUE('_pageid',p_reference_path) in a PL/SQL portlet to get the value of the portal pageid. You can then query a custom table that cross-references the page id's with the display attributes that you would like the page to use. If you are using Java portlets there are other techniques for parsing the page URL (in the PDK or even generic JDK functions) to get the pageid.
    Finally, we will continue to support custom page types. However, for this requirement I would recommend using page parameters instead (you may have other needs for custom page types, however).
    Regards,
    Jerry
    PortalPM

  • Oracle Portal - Associated Procedures With Custom Item

    Dear Gurus,
    I need to ask a question, when i have a custom Item built using Oracle Portal 10.1.4.2.0. and we have two procedures associated with this item. I need to display this item in some place with the first procedure and in another place with the second prcoedure.
    What i want to explain is written as an example
    Custom Item Type asscoiated with two different procedures (News Custom Item Type with two different procedures "brief procedure" and "detail procedure").
    In one page i need to invoke the first procedure to display the item in Detail view and the second procedure to diplay the item in Brief view.
    How can i invoke different procedures associated with this custom item type or how can i apply different procedures on custom item type to gain different views.
    Please can help me or if you need a details i can presents more details.
    hint:
    i know something in Oracle Portal called ("Associated procedures"). and we use "related funbctions" attribute when we need to invoke a procedure to render some Custom Item Type.
    But i cannot do that and this question is very important
    Best Regards,

    I've sorted this now - silly me, I'd left a <blank line> attribute in the display properties...

  • Item level security for custom items in 902

    I've created several custom item types and created some items in a page
    that enables Item Level Security.
    Enabling item level security on any of these items cause
    Error 30694: Error in API - update item failed
    Steps:
    1. Create custom item type
    Extended simple text type
    added image attribute
    2. Create custom item
    3. Edit custom item just created
    Select Access / Item Level Security
    Select Define Item Level Access Privileges
    Hit Apply or OK
    -> Error 30694: Error in API - update item failed
    Same error is using a "Image" item type.
    The above steps do not cause an error if using the default types; e.g. Simple Text and Simple URL
    Also tried promoting the item type so its shared. No effect.
    Is item-level security only for base "simple" item types??? If so then this is a MAJOR restriction.
    Any help would be greatly appreciated.
    --jason mathews                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Jason
    I filed a bug on this. See 2529787
    I narrowed the problem down to custom item types that have a file or image attribute and only when the item is edited by someone other than the orginial publisher.

  • Changing item type programmatically

    We've created a custom item type and would now like to programmatically update existing CA items to use that type. Does anyone know of any API or examples to accomplish this?
    much appreciated,
    -john

    Sorry, that feature is currently not available. Something we're considering for a future release.
    Regards,
    Jerry
    PortalPM

  • Portal 10.1.4 seeded Page link Item type - Getting it to open in new window

    I've been working on creating a new portal and am having some difficulty with Page Links. I am using version 10.1.4 out of the box. When I create a page link to another page and click on it, the page always takes over the current window.
    Under normal items, you can select the option to display item in new browser window. I do not see this option when using a Page Link.
    My questions are :
    Is this option to display somewhere else vs. Page Properties?
    Has anyone created a custom item type to achieve this function?
    Thanks in advance.

    Hi,
    Something you could try is changing the way the item is displayed using a HTML Content Layout, this is a great feature of portal 10.1.4 and allows you to customise the region where the items are displayed.
    Try this:
    1) Create a new HTML Template
    2) Select HTML Content Layout from the list
    3) insert this code:
    <oracle>
    if '#ITEM.TYPE#' in ('baseportletinstance', 'portlet_instance') then
    htp.p('#ITEM.PORTLETCONTENT#');
    else
    htp.p('#ITEM.TITLE#');
    end if;
    </oracle>
    4) go to your page and edit your region properties
    5) On the attributes tab chose the Html template you created.
    the items should be displayed now as links that open in a new browser window.
    Hope this helps..
    Regards,
    Juan

  • Portal URL for file v. text v. PL/SQL item types?

    I am using Portal 10.1.2.2.0. From the Portal OWA logger data, how can I tell a file item type from a text item type from a PL/SQL item type?
    The OWA_LOGGER_DOC view iis looking for url like '%/docs/%', but all the document URLs are '%/ITEM/%'. The URLs to text items also appear to be '%/ITEM/%'.
    How can I tell that a Portal URL is pointing to a document?

    OK, I figured out a way to do this in my environment (Oracle Portal Version: 10.1.2.0.2 (Build: 150) ). Your mileage may vary.
    I created a procedure which includes the following:
        p_headingText IN VARCHAR2,
        p_fileName IN VARCHAR2,
        p_descriptionText IN VARCHAR2)
    is
        l_portalGuid VARCHAR2(50);
    begin
        select GUID into l_portalGuid from portal.wwv_things where ID = p_fileName;
        htp.p('<p class="PortletText1"><a href="http://[HOSTNAME]/pls/portal/url/item/' || l_portalGuid || '">' || p_headingText || '</a> ' || p_descriptionText || '</p>');
    end;This seems to work for me. (Sorry about the long line.) p_headingText, p_filename, and p_description are passed from the custom item type. Good luck!

  • Possible to link item type to category?

    Hello,
    I've created some custom item types, and I've got some categories.
    Is it possible to link certain item types to a distinct set of categories?
    So item type 1 can only choose between category A and B, and item type 2 can only choose between category C and D ?
    Thanks,
    Ton

    hi ton,
    this is not possible. the problem is that you can choose category as an attribute for the custom item type. but the configuration of the available categories are done on page group level. the selection is then used for every item that has this attribute.
    regards,
    christian

  • Procedure Links for Custom Items & Folders

    I created both a custom item type and custom folder type. Each was given a procedure call to a form application component created in Oracle Portal. When I created the custom item type, I checked "Display Procedure Results With Item". I used the following HTTP link: http://collins:7777/pls/portal30/portal30.wwa_app_module.new_instance?p_moduleid=1710562983
    When I view a folder of the custom folder type or a folder containing an item of the custom item type, the folder displays briefly and then is replaced with a full browser version of the form.
    Is it possible to get the form to display within the folders instead of replacing the folder in the browser window?
    I am running version 3.0.6.6.5 on Solaris 2.6.

    Fran,
    Try using the component's show procedure. On the component's Develop tab, click the Show link next to Call Interface to see the structure of the URL to call the component directly.
    Jerry

  • Converting Item Types

    Portal 9.0.2.3
    We have created a new Custom Item Type for use on our Intranet site. This new Item type is essentially a Text Item with an extra procedure which provides a print friendly view of the item.
    Is there a quick way to convert our existing Text Items into this new Custom Text Item? What database table is Item Type information held in?
    Thanks,
    Steven.

    hi steven,
    go to the navigator - page groups - shared objects - item types - edit the Text item type - navigate to the procedures tab - add your procedure here.
    now for all (also existing) text items you have in your page groups this procedure is added.
    in the region properties of the item region you need to add the associated functions attribute to the list of displayed attributes.
    thats it - the output of the procedure appears next to each new created and existing text item.
    kind regards,
    christan

  • How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?

    Dear SharePoint Developers,
    Please help.
    I need to know How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?
    I think this is a "sealed column", whatever that is, which is  shown in SPD 2013 as a column of content type "document, folder, MyCustomContentType".
    I know when I set the column order in my custom Content Type settings page, it is correct.
    But, when I load the NewDocSet.aspx page, the column order that I set in the settings page is NOT used for this "sealed column" which is bad.
    Can you help?
    Please advise.
    Thanks.
    Mark Kamoski
    -- Mark Kamoski

    Hi,
    According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
    Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
    Drill down into one of them and you'll see the option under the list of columns for that content type.
    To apply the column order in the NewDocSet.aspx page, you need to:
    Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
    Content Types section, choose Refresh all published content types on next
    update.
    Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
    More information:
    http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Mini dv port not working

    When the mini dv port stops working, is there anything software wise that might resurrect it?  This is on a refurb (from Apple) 2008 MBP, and the port was never actually used for anything until this past week, and it is not working.  Could it be soft

  • My Satellite notebook Vista preinstalled running slow

    Hi i am using Vista Home Premium on my Toshiba laptop and everytime i open any folder eg my document, my computer it takes nearly 10 secs to load up properly, can anyone help me please as its makin me depressed especially when i purchased it not long

  • Any way to sync iCal notes w/ Nokia phone?

    I was pretty bummed to learn that even though my Nokia syncs perfectly with iCal and Address Book, it completely ignores the notes attached to my appointments and To-Do items. This is a major bummer. Is there any solution? I did find a widget that al

  • Does Address book has a Last Modified Date field?

    Hi Please can you let me know if Address book has a Last Modified Date field? I'd like to know what date I have last modified my address book records. I checked Preferences but not able to find it there. Thank you.

  • Exchanging values of variables and printing problems

    Hi, everyone I have two questions First one: Write the definition of a method  printGrade , which has a  char parameter and returns nothing. The method prints on a line by itself the message string  Grade: followed by the  char parameter (printed as