"On Create" for custom items?

Does anyone know of a way to simulate an "on create" event for creating a new custom item? For example, if I want to populate some of the attributes of the item based on a database lookup when the item is created.
Thanks in advance,
Wayne

There is currently no supported way to do this. This feature is planned for a future release.
Regards,
Jerry
PortalPM

Similar Messages

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

  • 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

  • Is there a simple way to create a custom item list for a List Picker field?

    I have created a List picker field and added it to my customized version of the Incident Management form. I need to populate this List Picker with custom items (Departments) and everything I am reading about how to do that is that I have to write a
    bunch on XML code. Is there a relatively simple way to populate a List Picker field with custom entries that does not require me to know scripting or XML?
    Thanks in advance for any help
    Mark

    Assuming that you have created a Enumeration picker (i.e.
    you used the authoring tool and dragged what it calls a list picker in, and then selected a list that you created in the authoring tool), then you can edit the contents of those Enum Lists using
    the Lists view in the Library pane, or by editing the XML as in the last reference. 
    You might also be interested in the
    Bulk Enum creation tool, which automates the process of creating that XML

  • Display filename in url for custom items

    Hi - I'm rying to find out how to open a word doc in a browser and display the FILENAME (xyz.doc) instead of the NAME (123.doc) - which comes from the wwdoc_document$ tbl .
    The word document was added to a portal page via a file attribute within custom text item. It seems that the document is not referenced within the actual page group when using the custom item compared to using standard file item format.
    I can open the doc in browser using the NAME format - eg, .../portal/pls/portal/docs/1/1234.doc but I need to open via the PAGEGRP/FILENAME format eg, .../portal/page/portal/PAGEGRP/xyz.doc
    BTW - We're using portal 10.1.4
    Any ideas appreciated
    Cheers,
    Justin

    Hi guys,
    I finally discover the solution. Just try this:
    First, create a Procedure like this:
    PROCEDURE ShowSaveDoc (pFile wwdoc_document$.name%TYPE) IS
    v_BlobContent wwdoc_document$.blob_content%TYPE;
    v_MimeType wwdoc_document$.mime_type%TYPE;
    v_Filename wwdoc_document$.filename%TYPE;
    BEGIN
    SELECT blob_content, mime_type, filename
    INTO v_BlobContent, v_MimeType, v_Filename
    FROM wwdoc_document$
    WHERE name = pFile;
    owa_util.mime_header(v_MimeType, FALSE);
    htp.p('Content-Length: ' || DBMS_LOB.getlength(v_BlobContent));
    htp.p('Content-Disposition: attachment; filename="' || v_Filename || '"');
    owa_util.http_header_close;
    wpg_docload.download_file( v_BlobContent );
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    htp.p('Error - No Data Was Found');
    WHEN OTHERS THEN
    htp.p('Error - ' || || SQLERRM);
    END;
    On the HTML code where you have the link try this:
    htp.p('< a id="someid" title="download" alt="download"
    h_ref="/portal/pls/portal/portal.galeria_pkg.showsavedoc?pFile=' ||rec.id_doc || '"> Download '||rec.docDescription||'</a>');
    where the rec.id_doc is the wwdoc_document$.name of your document.
    Try it and tell me if it worked.
    Its Working for me.
    Thanks.

  • Selecting from wwsbr_all_items for Custom Item Display

    I'm trying to call a procedure that will create custom HTML for an item I created. In that procedure I'm trying to get the name of the object I'm passing from the wwsbr_all_items view. However, when I try to select from the view I get the following error
    (p_url is a VARCHAR2 with a valid ID number)
    SELECT name
    FROM wwsbr_all_items
    WHERE id = p_url
    ERROR:
    ORA-14551: cannot perform a DML operation inside a query
    ORA-06512: at "Portal.WWCTX_SSO", line 2954
    ORA-06512: at "Portal.WWCTX_SSO", line 3483
    ORA-06512: at "Portal.WWCTX_SSO", line 1735
    ORA-06510: PL/SQl: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSo", line 1578
    ORA-06502: PL/SQl: numeric or value error
    ORA-06512: at "Portal.WWCTX_SSO", line 1820
    ORA-06512: at "Portal.WWCTX_API", line 199
    I also get a similar error if I try to select * from the view. Any ideas??
    Thanks!

    I believe you need to set your context up. Try the following. You will need to substitute with your own parameters.
    portal.wwctx_api_private.set_context(p_user_name => 'PORTAL',
    p_password => 'password', p_update_flat => true);
    You may have to wrap your code, so the password is not visible.

  • GetItemData integration api: unable to read data for custom item

    Hello,
    I am trying to retrieve the data of an custom item via the getItemData api but i am gett the error message
    "Not implemented for this item type"
    I checked the api documentation, the list of supported item types include custom methods.
    Is there any thing that i need to maintain for the custom method so that i can read the data stored by it using the getItemData api.
    or is it simply not possible to read custom item data.
    Thanks for the help,
    Regards,
    Saurav

    Hi Ruediger,
    Thanks for the reply.
    To test the getItemData API i have implemented the hello world custom method example (java script).
    I created an item using the UI and edidted the content.
    when i try to read the saved data using the api i am getting the message
    encountered an error:
    Server returned HTTP response code: 400 for URL: https://streamwork.com/v1/items/5EXAbr-TgVCJV1qgL8-g1W/item_data?
    <?xml version="1.0" encoding="UTF-8"?>
    <error>
      <http_status>400 Bad Request</http_status>
      <message>Not implemented for this item type.</message>
    </error>
    When i try to read the data of a text item using the same API I am getting the correct response
    <text_item>
       <text_content><p>Hello testing</p></text_content>
    </text_item>
    So i was wondering how i can implement the getItemData for my custom method.
    Thanks and regards,
    Saurav.

  • Vendor Line Item Display-Default value for customer items

    Is it possible in selection screen of transaction FBL1N (Vendor line item display) the default value of field "customer items" to be checked?
    Thanks in advance.

    hi Tsiami
    it's not possible. if u want check customer line items go throw this TC:FBL5N
    plz assign points
    regards
    sivareddy.

  • Search help for Custom Item level field

    Hi All,
    I have two custom fields at Item level. Both of them has fixed values defined at domain. The fixed values have a short text also given with them.
    The problem I am facing is when SRM provides default search help for these custom fields, for first field the 'Value' and 'Description' comes in the search result screen, but for second, only 'Value' comes in the search result.
    When I try to debug, it shows the SHLPTYPE as 'SH' for first one and for the second as 'FV'.
    What does this indicate?
    My requirement is to display both value and description in the search result screen.
    Please suggest.
    Thanks
    Nandalal

    Hi
    Sorry for the delay. My User got locked for some time.
    I have seen the document you sent me on my email id.
    <b> I noticed in the case where the Search help is working fine, there is no space in between the contents of the Fixed values and their short text under the value range tab of the Domain element.
    But in the case, where there is a problem with the search help. There both the Fixed values and their short description is having a space in between the words.
    Try maintaining COND_A instead of "COND A". Also with the short description use "COND_A" instead of "COND A".</b>
    <u>I hope this will resolve the issue.</u>
    <b>Update me once you have any issues.</b>
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Change documents for created for Customer Master

    An existing program makes changes to the Customer master table KNA1. The changes are made at the table level using the UPDATE command. Since the changes are being made at table level, the change documents are not created.
    I need to create IDocs for all changes. So the question is, how to create change documents for changes to the particular fields being UPDATEd in the report program.
    I understand that a BDC program on XD01 screen should have been the best way for this, but I'm here to break-fix and trying to identify solutions with least development effort.

    Hi ganadeep,
    When an application makes any changes to an object it wrties change documents which are stored in the table CDHDR and CDPOS for each change made.
    BDCP table holds the change pointers which point to the change documents in the  CDHDR table.
    Regards
    Parag

  • Purchase order not created for correct item in WGSREQ

    Hi Experts,
    When we use inbound Idoc type WGSREQ in Retail, with 2
    items for example, where the one item is incorrect, to create
    a purchase order, the system incorrectly does not generate a
    document for the correct item.

    Dear Plamen,
    Check following points
    (a) Article master listed or not for your Store / DC
    (b) Info record is there or not?
    (c) Check Vedor master extended to relevant purchase organization or not?
    Hope this info will be useful.
    Regards,
    Muralidhara

  • NO Event created for Customer Billing Document (VF01) in Work Flow

    Hi expert ,
    I would like to trigger a work flow from the customer invoice created event.
    Bus Object should be "VBRK" or "BUS2037" ( Customer billing document )
    But ,I cannot get any event after the billing transaction in VF01.
    I use the "SWEL" transaction to monitor all events triggered, but I don't see any event related with billing ( I only see events for sales order creation ).
    Also in "SWO1" BUS2037 has only one event  : "ItCustBillingDoc.assigned"; but It doesn't make any sense to me .Why isn't there a created event for invoice ?
    Has any of you been thru that problem ?
    Thanks for advising .
    Sincerely
    Yvon.

    Hi thanks for your answer.
    SWELS is activated.
    PB still remains :
    In  SWEL i see no event triggered after the creation of a billing invoice .
    I can only see an event related to BUS2032 which is the sales order creation .
    But nothing related to the billing document although the doument is created in SD ( I have the record in VBRK ).
    Any idea Why ?
    Thanks again

  • Child instances no getting created for ATO item from Depot repair

    When i create a repair order for an ATO item which did not have an instance
    in the system and select the option of 'Add to IB' , then the parent instance is created but
    the child instances are not created.
    Can anyone please provide some guidance on this

    Dear KHAPREVIPIN ,
    I think the following thread will help you sove your issue.
    Problem while creating excise invoice by J1IJ
    kindly search the forum as you will get more inputs related with this error messages
    Thanks & Regards,
    Hegal K Charles

  • Change document log not created for customer in Batch input/BDC

    Hi Guys,
    Change document log is created when you manually change the customer using XD02 but when run the Batch/BDC the values are Changed but the change document is not created.
    Please someone can give me some hints?
    Luca.

    Any update guys????
    Regards,
    guru singh

  • Duplicate cost Calenders Created for some items

    When the actual cost process is run we are finding that there are some items in which one particular warehouse is associated with multiple cost calendars in the item cost details.The items are having costs in {same warehouse-different cost calendar}combination.We are using Rel 11.5.7 with patchset H and have been using PMAC cost method.

    Hi,
    I mean B(Sub Assembly)
    Item Rollup Flag
    A No
    --B                       Yes
    ---B1 No
    ---B2 No
    ---B3 No
    --C                      Yes
    In this case when we run cost rollup by giving item A, Oracle will consider below structure.
    A
    --C
    Regards,
    Sarvottam.

Maybe you are looking for

  • I am trying to setup my ipad 2 but I can't get back to the wi-fi connections section.  How do I get there, nothing is working.

    I am trying to setup my ipad 2 but I can't get back to the wi-fi connections section.  How do I get there, nothing is working.

  • Very disappointed customer

    I have recently moved house and had such an awful experience moving my BT service with me. I was on Fibre at my old place and called the house move team and gave them a months notice to switch the service. The only issue I would have would be no fibr

  • AMD Graphics Card Issue

    This past year I switched to CC.  I then discovered the 2014 version of Adobe Premiere Pro required me to upgrade my video card.  I have Intel i7 920 running at 2.67 with 4 core with 16 GB installed and 32 GB total virtual memory on a board.  My comp

  • Connecting Apple TV Through My iMac

    Hi, I would like to connect my Apple TV through my iMac rather than directly through my router.  Either wired, WIFI or using Bluetooth? Is it possible to share the internet connection via my iMac this way? ...jono...

  • Grey Screen  & Grey Apple w/small timer running.

    Hello to all. I am loss in this new challenge. I have a Grey G4 Power Mac which has not given me any problems until 3 days ago. I turned the power on and all I saw was Grey screen, grey apple and the timer running forever in a circle. Tried restart t