Re-using a seeded region using personalization or extension(EAM)

Hi Gurus,
I have a requirement to add certain additional fields in the 'Work Request Creation' screen.Now,the items needed are same as available in the 'Work Order Creation Screen'.
Now,i was wondering if just replicating the same structure through personalization would work,but it dint:-0.Since i even i gave the same am and controller names,and i got a null pointer:-(
I am wondering if there is any way to reuse the existing region somehow,or else i will have to create a custom table to store the data for 'work request' and then go bout doing a lot of extension and substituion.
Please suggest.
Can we have two am definitions for the same page.one at page level and one at region level???

Hi Sumit,
I am stuck with a major issue now regarding the same.
Instead of going for a new am,i have added the custom table to the extended VO(using join) .the VO is not EO based so i use a pl/sql to commit my data.
But,i need a 'WR number' in the custom table which comes from the seeded region.The problem here is tht the number is only generated on the click of 'apply'.
i captured the event and called my custom pl/sql in the extended controller.The sad thing is that on click of apply,the wr number is generated but a re-direction happens.
Due to this,my code written after the super call is not at all executed;-(
And since the WR number which i need is only generated after clicking the apply,there is no point in writing my code before super,cos i wont get the WR number in that case.
I am not sure how to go about it,though i am plannin to override the base class as a last resort.
Any suggestions for the same

Similar Messages

  • How to Add Table Regions using Personalization

    I'm trying to add a new table region in a seeded page (SIT page) using personalization.
    The new table that I will be adding will have some information to the users. This table is just for informational purposes. We want to display this information in the form of a table only. No compromises on this !!
    When I try to personalize this page it gives me options to add new items like (messages, links etc) only but it does not let me add new regions.
    The personalization guides talks about an option called "Add content to a
    layout region" which sounds like what I want but it also says this option is available only for "Configurable Page". I believe the page i am trying to personalize is not a configurable page and hence i am not getting this option.
    Can anyone who has been in a similar situation and probably have some resolution throw some insight into this ? Are there any good workarounds for this ?
    Thanks,
    Tilak.

    Make sure that you are adding it at the Site level. Stack Region might not be available at Function/Responsibility level.
    If that does not work, develop a StackRegion inside of JDeveloper. Then, add a flexibleContent and flexibleLayout region using Personalizations. Inside of that Personalization, there is an Extends property where you will tell it to use your custom StackLayout Region created in Jdeveloper similar to this:
    <custom_app>.oracle.apps.per.selfservice.CustomRN
    I had this same requirement and was able to solve it using the steps outlined in this thread:
    Add New Region to seeded Page

  • Is it possible to move items betwen regions using personalizations

    Is it possible to move items betwen regions using personalizations?

    Hi,
    1. Can I create new item using personalization and refer to the item in the another region (for example there are 2 regions in my page R1 and R2, R1 has fields a,b,c and R2 has salary,empno,deptno , so can I create a field FFF in R1 and refer to deptno in R2.Suppose you have a 2 region like R1 & R2.
    R1 contains three MessageTextInput Box. (eg a,b,c)
    R2 contains three MessageTextInput Box. (eg x,y,z)
    Then you can create a new item in any region & its will only impact your UI. (i.e. It will be displayed under the region where you have created it.)
    2. if answer to above question is yes, then if user changes the value in deptno, will this get updated in the apps.The data in the new field won't update the automatically unless & untill, you attach EO based VO to the newly created item.
    Hope you are clear.
    Regards,
    Gyan

  • How to use sswa jsp function in personalization?

    I have a question. When I add a custom item of type link in a region using personalization, how can i access the click of the link as an event in that region';s controller.
    Also if I want to use the "destination function" field of the new Link created with an existing seeded SSWA JSP function, how do i pass url parameter values to this function.
    The function name is IMC_NG_PER_SOURCE_VIEW and the HTML call is OA.jsp?page=/oracle/apps/imc/ocong/mosr/webui/ImcPerMosrViewPage&ImcPartyId={@ImcPartyId}&ImcPartyName={@ImcPartyName}&ImcMainPartyId={@ImcMainPartyId}
    Now when I click the link on the Page the HTML call is made as is, i.e. the target Page ImcPerMosrViewPage gets the value for ImcPartyId = "{@ImcPartyId}" instead of the real Party ID.
    Whereas on the same Page there is a side bar Menu, and one of the Menu item makes a call to the same sswa jsp function and when we click the menu item the target page is rendered successfully.
    So my question is how do I make the link on the region to work the same way as the Menu item.
    It would be great of you could share some tips to resolve this issue of mine.
    Many Thanks!
    Jay

    Just set the fire Action property of that link and capture that in controller PFR.
    Thanks
    --Anil                                                                                                                                                                                                           

  • Report Using PL/SQL Region

    Hi,
    I have bit experiment create custom reports using PL/SQL region
    http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:97800346956448
    I would like have from you tips and ideas how enhance this.
    Because I'm not so good with SQL,
    I really appreciate if you have tips enhance performance for query used for cursor.
        /* Report query */
        l_sql := '
          SELECT * FROM(
            SELECT a.*, row_number() OVER (ORDER BY '
            || l_sort_col
            || ' '
            || l_sort_ord
            || ') rn, COUNT(1) over() mrn
            FROM(' || l_sql || ') a
          ) WHERE rn BETWEEN ' || l_start_row || ' AND ' || l_last_row
        ; Regards,
    Jari

    Hi Jari
    I'm guessing you're trying to do paginated grid data or somewthing similar? You could try something like this...
        l_sql := 'SELECT * '||
               'FROM ('||
                      'SELECT /*+ FIRST_ROWS(n) */ '||
                              'a.*, ROWNUM rnum '||
                       'FROM ('||l_sql||' '||
                              'ORDER BY '||l_sort||' '||l_dir||') a '||
                       'WHERE ROWNUM <= '||l_max_row||') '||
               'WHERE rnum >= '||l_start;The variables would be initialized in the procedure as follows...
        l_max_row := p_start + p_limit;
        l_start   := p_start + 1;
        l_sort    := NVL(p_sort,'1');
        l_dir     := NVL(p_dir, 'ASC');My application process would be called something like follows, to spit out a JSON object...
    BEGIN
      htp.p(wwv_flow.g_widget_num_return||'(');
      munky_extjs.grid_json(p_app_id => wwv_flow.g_x01,
                        p_app_page_id => wwv_flow.g_x02,
                        p_region_id => TO_NUMBER(wwv_flow.g_x03),
                        p_start => NVL(wwv_flow.g_x04,0),
                        p_limit => NVL(wwv_flow.g_x05,10),
                        p_sort => wwv_flow.g_x06,
                        p_dir => wwv_flow.g_x07);
      htp.p(')');
    END;I think your use of analytics in the inner query may be slowing you down if you have a lot of data?
    Cheers
    Ben

  • How to use sql in region footer

     

    Hi,
    Wrap your code to{noformat}{noformat}, it might help posting.
    From subject I answer you that, No you can not use SQL in region footer.
    But probably there is workaround to do what you looking for, just ask=)
    Regards,
    Jari

  • How to Display PHP Output as Portlet in HTML Region using utl_http.request

    I wanted to be able to parse PHP functions to add more functionality to my Page. nothing fantasy, something simple like: http://phpsysinfo.sourceforge.net/phpsysinfo-dev/?template=classic
    Where the realtime values are retrieved from the OS. this represent some kind of problem to me, I know how to do it from Shell Script, Perl or PHP, but not from PL/SQL.
    Based on my experience using Oracle Portal, Portlets, I think we really can make use of the feature used in Portal called Web Clipping. [ This feature basically goes to some Site a retrieve part of the site to show in the current page]. Well the PL/SQL utility utl_http.request does something similar.
    Make sure your request page does not retrieve some headers because that would cause a problem in your page and will not show up.
    This is what I did:
    <b> 1.- </b> Grant Privileges to execute [ <b> utl_http.request </b> ] to the owner of your schema.
    login into the OracleXE / APEX as SYS then go to the Object Navigator, then click on packages, find the utl_http.request then click on it, later click on grant and select your schema owner for your applicaion.
    <b> 2.- </b> Logout as SYS then login as your application schema user. just to test the functionality go to the sql command then enter the following command and then click run:
    <b> select substr(utl_http.request('http://www.oracle.com/'),1, 255) from dual; </b>
    If your output is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Oracle 10g, Siebel, PeopleSoft | Oracle, The World's Largest Enterprise Software Company</title> <meta name="title" content="Enterprise Applications | Database | Fusio
    <font color='blue'> Wow It worked </font>, this really could be useful !!, If not go back to step 1 and check your permissions to execute, or perhaps your Internet connectivity.
    3.- Once we know the package works and we can retrieve content from the Internet. lets go to some of our pages add some HTML Region.
    4.- Create an item and put into the new region. the source will be SQL, For the purposes of my test the query to the Oracle Page failed, so I decided to give a shot with a simple PHP script with no headers.
    The internal server is: http://mytest.com/hello_world.php
    Where the content of the hello_world.php is:
    <?
    echo '"<b> Hello World </b> ";
    ?>
    This PHP works fine and display the basic Hello World. can be the same server or not, also noticed this can be another port perhaps using something like Ruby,Mason or Java.
    <b> 5.- </b> Finally in my Item the source type is SQL and looks like this:
    <b> select substr(utl_http.request('http://mytest.com/hello_world.php'),1, 255) from dual; </b>
    Apply the changes and run the page !!!
    Excelent It worked as expected. now you know how use utl_http.request to create webclipping in your OracleXE / APEX from remote pages, or how to use it to parse the output from CGI, Perl, PHP, Ruby or Java pages.
    Note: [ Just make sure to strip the headers or parse into a PL/SQL Procedure to clean then show ]
    Best Regards <b> Dino </b>.
    Brains R Like Books only work when they R Open.
    http://www.htmldbhosting.com/

    Sorry, from your post in the LabVIEW board I did not understand that it was the Output message that you were looking for.
    I thought you wanted the results from your test steps displayed on the user interface. 
    It is the “Output Panel” in the sequence editor that displays your output message, but I do not know if there is default Output panel activeX indicator for user interface that the TestStand engine would update automatically like it does the execution view.
    Maybe someone else knows 
    As also pointed out, the UI messages is your other option.
    The Output Message event number is 40 
    http://zone.ni.com/devzone/cda/epd/p/id/3879
    UIMsg_OutputMessages–(Value: 40) TestStand sends this message at periodic intervals when it holds references to output messages that calls to the OutputMessage.Post method queue. TestStand transfers the queued messages to an OutputMessages collection attached to the UIMessage.ActiveXData property for this event. An application that processes output messages should copy the output message references from the collection in UIMessage.ActiveXData to its own private OutputMessages collection by passing its private collection to the OutputMessages.CopyMessagesToCollection method. An application calls the Engine.NewOutputMessages method to create a private OutputMessage collection. TestStand generates this event only if the Engine.OutputMessagesEnabled property is True. Because there can be more than one handler for this event, the application should not modify the OutputMessages collection the UIMessage.ActiveXData property holds.
    Omar
    Message Edited by OmarGator on 10-09-2008 10:12 AM

  • Clear the data region using Maxl

    Hi,
    I am trying to clear the data region using Maxl query, I am getting error like: Dynamic members not allowed in data clear region specificaion.
    +alter database 'PGSASO'.'ASOPGS' clear data in region 'CrossJoin(CrossJoin({[Actual]},{[FY11]}),{[Inputs].Levels( 0 ).Members})';+
    (Inputs( not a dynamic member, parent of this meber is a dynamic) comes under Account dim).
    I have tried the below code also(Syntax error in input MDX queryon line 1 at token ',').
    alter database 'PGSASO'.'ASOPGS' clear data in region 'CrossJoin([Inputs].Levels(0), CrossJoin({[ACT]},{[FY11]}))';
    Can anyone do let me know if there is any syntax error or alternate function would be available for clearing level-0 members/descendants under Dynamic parent...
    Thanks,
    Bharathi

    There is no syntax error in your statement. The problem is you input dimension(I guess) has some members with formulas on them and the clear statement does not allow those members to be in the clear. Ther ware a couple of ways around it. seperate out the members with formulas under a different parent and then modify the crossjoin to only pick up the level zero members that are not in that parent or you could put a UDA on formula members and use the exclude command to exclude anything with that UDA

  • How to refresh a  region using Active Data Service

    Hi,
    I need to refresh the region using ADS.
    I am creating jsff which contains dynamic tables rendering. This jsff is bound to a task flow (having input parameter and refresh property set to "ifNeeded). The bounded task flow is dropped on a jspx as a region.
    Now in order to refresh the region, I need to pass the updated param value, which would cause the region refresh.
    I am able to do so on a button click from jspx page. But I have to make it auto refresh using ADS as per app requirement.
    The issue is "AdfFacesContext.getCurrentInstance return null..if I am using it in startActive Data or changeData Update (where I am using ActiveDataUpdateEvent)".
    Please guide me how can I achieve this.
    I am using Jdev 11.1.1.4.
    Thanks.
    Edited by: 977455 on Jan 3, 2013 7:35 PM

    Hi,
    try a variation of this blog entry: http://matthiaswessendorf.wordpress.com/2010/01/22/flexible-active-data-service/
    Instead of showing a popup, you do the following
    1. set clientComponent=true for the hidden field
    2. configured the PartialTrigger property of the region to point to the hidden component
    If this doesn't work then try this
    1. use <af:clientListener type="propertyChange" method="activeDataCallback" /> as used in the sample
    2. define an af:serverListener that points to a managed bean that has access to the region (RichRegion) instance
    3. The af:serverListener needs to be defined as a child of the outputText
    4. change "activeDataCallback" to queue the server listener event (CustomEvent)
    5. Use the managed bean to refresh the region
    Frank

  • Use of Country/region in Active Directory against portal language

    Hi
    I looking for a way of using the Country/Region attribute in the Active Directory to set the language for the user in the portal and wonder how and where to set this.
    Due to the documentation at help <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e6/d75d3760735b41be930f2dddae3126/content.htm">Logical Attributes</a>
    I have added the attribute in the dataSourceConfiguration.xml file under the <principal type=user>.
        <attribute name="country"/>
    Any ideas for what I should enter in the mapping are for the user
    <attribute name="country">
        <physicalAttribute name="??????????"/>
    </attribute>
    Regards
    Kay-Arne S. Aarlie

    Can you please share it with the rest of the forum?
    Thanks

  • Pls. identify some seeded views used as Existing Data Source in DBI Reports

    Hi!
    Can someone please identify some seeded views used as Existing Data Source in DBI Reports. I only need some idea how they are defined.
    Thanks.

    Jon632 wrote:
    Hi!
    Can someone please identify some seeded views used as Existing Data Source in DBI Reports. I only need some idea how they are defined.
    Thanks.
    You can find the list of seeded views in eTRM website -- http://etrm.oracle.com/pls/etrm
    Are there seeded tables/views of DBI dimension objects in Oracle EBS?
    Thanks,
    Hussein

  • Region used in many pages

    Hello All,
    There are many pages in my application that uses the same region, is there any way to create a single region and use it on every page?
    Thanks

    Hello,
    create the region on page zero.
    Regards,
    Dirk

  • Should we Use cache seeding iBots to pre-cache the reports ?

    Hi Everyone,
    We have requirement from client to improve the performance of some reports.We have a very old RPD and it is really huge so we don't want to do much on database side for performance tuning.
    Will it be a good idea to use cache seeding iBots to pre-cache the reports ?
    Most of the reports which are having performance issue are having some 5-6 columns and one key column is having some 30+ choices in column selector.So for each column selector view we will have to create a ibot which will again be a huge task.Can you pls guide how to approach this?
    Thanks in advance !
    Aarti Chawla

    hi Aarti,
    Will it be a good idea to use cache seeding iBots to pre-cache the reports ?http://www.artofbi.com/index.php/2010/03/obiee-ibots-obi-caching-strategy-with-seeding-cache/
    30+choices in column selector will definitely have performance issues..bcz each and every time the report is going to refresh .have u enabled the cache some what better .Whats the issue of using existing report by enabling the cache seeding in ibots?
    Thanks,
    Saichand.v

  • How to Seed Cache using Event Polling Table

    Hello Experts
    I Have configured Event Polling Table in my PC
    Steps :
    1) Created table using SAEPT.Oracle.sql schema in 10g
    2) Imported SAEPT.Oracle.sql by creating an new connection pool in Physical Layer
    3) Configured in Repository - Tools - Utilities - OBI Event Polling Tables by selecting SAEPT.Oracle.sql and gave 15 min in polling frequency
    4) Inserted some data in SAEPT.Oracle.sql
    5) Checked NQserver.log after the polling time which is 15 min . NQserver.log was not getting updated or has any details about the event occurred .
    Do you guys think i have missed some step in configuring EPT , if so ..please help me out i need to implement on client machine soon.
    Appreciate your time guys .
    Edited by: newbi on Jul 1, 2010 10:34 AM

    As far as i know event polling tables are used to purge the cache automatically. It is not used to seed the cache.
    If you want to seed the cache, use ibots or you have to do it as a program..
    Edited by: user8000915 on Jul 1, 2010 7:37 AM

  • Design Region using HTML and CSS

    Hi,
    I need to design a region with HTML and CSS tags. Is there any tools available so that auto generated code gets that can be used inside the region. Please suggest.
    Thanks
    Sudhir

    See if this works;
    '''[https://addons.mozilla.org/en-US/firefox/addon/noiascrollbars/ NewScrollbars (aka NoiaScrollbars)]''' {web link}
    The "NewScrollbars"-extension replaces the default
    scrollbars of Firefox and Thunderbird with
    colorized ones (partly) known from "Noia themes".

Maybe you are looking for

  • Bursting API errorTh

    Hi, I amgetting the following error, while running the concurrent program using the bursting API.. I feel that it is not reading my data XML file. If i replace ${EMAIL} with some hardcoded mail id, then it is sending a mail. Can somebody suggest me,

  • BUG: JDeveloper 10.1.3.0.3 EA - Exception in switch using enum

    Hi, I was encountered runtime exception in switch statement, if I use enum. In the next example the exception: Exception in thread "main" java.lang.ClassFormatError: Invalid field attribute index 0 in class file com/crcdata/enumtest/client/EnumTest$1

  • Escape double quotes

    hey, how to escape the double quote in xml document? eg. for description="SHAFT X 10" " <xml_header id="0" action="Export" from_loc="KJA" to_loc="" doc_model="SpInventory" doc_key="" doc_ref_no="" done_by="j"> <xml_header.items> <sp_inventory id="102

  • Running  a webApplication using struts

    Hi forum, I am using struts & in index.jsp I have used following lines of code <code> <html:form action="Lookup" name="lookupForm" type="Project.LookupForm" > <table width="45%" border="0"> <tr><td>Symbol:</td> <td><html:text property="symbol" /></td

  • ABAP database query.

    Hi,    I've query like this:     SELECT * FROM /sapsll/adrcon INTO TABLE lt_adrcon_tmp              FOR ALL ENTRIES IN lt_leglrgi              WHERE adrnr EQ lt_leglrgi-adrnr                AND lgreg EQ lt_leglrgi-lgreg.            Now, instead of al