How to use dc1 view in dc2

Hi
I have 3 views in dc1 now i want to use all those 3 views in dc2, can u please explain me clearly how to use those dcs in dc2.
thanks
kishore

hi,
    Expose the dc1 to the public part .
    Right Click on the dc1 Component --> add To the public part.
  In the dc2 :
  Right Click Used Components --> Show In --> Component Properties.
In that go the dependecies Tab and click ADD button .
In the pop up Go to the Local Components-->My Components -->select the Dc1 Component and Click finish.
we have to build both the components.
Right Click Used Components-->Build .
Choose bothe components Dc1 and dc2.
After the build , Right Click Used Components --> Add Used Components.Give the componeent Usage name and Select the dc1 In the dc2.
Finally design the window of the Dc2 as required . Click Embed the Interafce View in the window
select the Dc1 Interace View and finally create a Link betwee the view from the Dc2 View to the dc1 Interafce View .
Hope Ur problem get resolved
Thanks and Regards
Fazal

Similar Messages

  • How to Use Transient View Objects to Store Session-level Global Variables

    hi
    Please consider section "40.8.5 How to Use Transient View Objects to Store Session-level Global Variables"
    at http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcstatemgmt.htm#ADFFD19610
    Based on this documentation I created the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.01.zip
    It behaves as show in the screencast at http://screencast.com/t/qDvSQCgpvYdd
    Its Application Module has a Transient View Object instance "MyEmployeesContextVOVI", as master for the child View Object instance "EmpInCtxJobVI".
    On rollback the Transient View Object instance keeps its row and attribute values.
    Also when passivation and activation is forced (using jbo.ampool.doampooling=false ) the Transient View Object instance seems to keep its row and attribute values.
    questions:
    - (q1) Why does the expression #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty} evaluate as true when a Transient View Object instance attribute value is changed (as shown in screencast at http://screencast.com/t/qDvSQCgpvYdd )?
    - (q2) What would be a robust approach to make a Transient View Object instance more self-contained, and manage itself to have only one single row (per instance) at all times (and as such removing the dependency on the Application Module prepareSession() as documented in "5. Create an empty row in the view object when a new user begins using the application module.")?
    many thanks
    Jan Vervecken

    Thanks for your reply Frank.
    q1) Does sample 90 help ? http://blogs.oracle.com/smuenchadf/examples/
    Yes, the sample from Steve Muench does help, "90. Avoiding Dirtying the ADF Model Transaction When Transient Attributes are Set [10.1.3] "
    at http://blogs.oracle.com/smuenchadf/examples/#90
    It does point out a difference in marking transactions dirty by different layers of the framework, "... When any attribute's value is changed through an ADFM binding, the ADFM-layer transaction is marked as dirty. ...".
    This can be illustrate with a small change in the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.02.zip
    It now shows the result of both these expressions on the page ...
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty}
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.dataProvider.transaction.dirty}... where one can be true and the other false respectively.
    See also the screencast at http://screencast.com/t/k8vgNqdKgD
    Similar to the sample from Steve Muench, another modification to the example application introduces MyCustomADFBCDataControl
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.03.zip
    public class MyCustomADFBCDataControl
      extends JUApplication
      @Override
      public void setTransactionModified()
        ApplicationModule vApplicationModule = (ApplicationModule)getDataProvider();
        Transaction vTransaction = vApplicationModule.getTransaction();
        if (vTransaction.isDirty())
          super.setTransactionModified();
    }Resulting in what seems to be more consistent/expected transaction (dirty) information,
    see also the screencast at http://screencast.com/t/756yCs1L1
    Any feedback on why the ADF Model layer is so eager to mark a transaction dirty is always welcome.
    Currently, question (q2) remains.
    regards
    Jan

  • How to use same view as editable and read only in ADF

    Hi,
    how to use same view as editable and read only in ADF ?? How can we achieve this in TF's ???
    -mrudul

    Hi,
    Steven Davelaar wrote a presentation about this "Building Highly Reusable Taskflows"
    Starting slide 14 is where your use case comes into play
    Frank

  • How to use Database views in XI

    Hi Folks,
    Any idea about how to use Database views for sending and receiving messages in XI ?
    Regards,

    Farooq,
    My doubt is do i have work in the same fashion as if i am working on a Database Table...?
    For Ex :
    Creating Source and Target Data structure for JDBC adapter in the same format....etc
    Regards.

  • How to use street view in apple maps

    How do I use street view in apple maps?

    You don't. Street View is a Google Maps feature, so you have to use it in the free, downloadable Google Maps app.

  • How to use Query-views as input-ready

    I have a input-ready query working fine saying the IP field is input-ready, and a value can be entered.
    If I save the query as a query-view and want to use the view instead, the input-ready field change to 'not input-ready'.
    Hence, can query views not be used in IP ?
    Thanks in advance, Mikkel

    Hello,
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?Correct. That's said in the installation guide.
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?This does not yet exist out of the box. You can have a look how Oracle did it and try to mimic it in your own application.
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?Import app 4500 in your own workspace. On page 1002 you should find the query builder.
    Again you can't just run this, you would need to make customizations to it. Alternatively you can add just a textarea on a page where you can run SQL statements from. But I guess you want to have the graphical display?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?APEX is living in the Oracle database. So everything inside that database you can potentially work with. If you need data from other sources you can use a database link or hytrogenous connectivity. Basically if you can do it from the Oracle database, you can also do it from within APEX.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • How to use acrobat viewer for java enabled platform

    i want to use any api which can generate automatically pdf files and whose control goes through the java program.
    i found that adobe is providing one zip file(acrobat viewer) for it.it contains some class files.but i dont know how to use it.
    can anybody help me?
    or if u can suggest any free api for this purpose?
    its urgent.i'll be thankful 2 u.

    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=792789

  • How to use smart view plugin in firefox 2.0

    Can anyone help me in installing and then how to use it in Firefox 2.0

    Hi,
    I am not sure about a plugin I always thought that smartview was for Microsoft Office and is accessed through Excel, Word, Powerpoint.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • HOW TO USE THE VIEW IN PROGRM

    dear all,
                      can u plase give the small report , which is used a view.
    thanq
    jyothi

    It is used similar to a DB table you can use it in your Select normally
    santhosh

  • How to use APEX Views in a DB-Job persistently

    To gather informations about the existing ir subscritions i use a pl/sql block like that
    for r as (select *
    from APEX_040200.APEX_APPLICATION_PAGE_IR_SUB subs where ...any filter) loop
         ..do something..
    end loop;
    exectued regularly by dbms-scheduler
    When the next apex update will be installed, the schema name will probably change to "apex_05xxxx", so my report will not work any longer. (And i will forget to update the code )
    is there a cheat to overcome that problem?
    a synonym won't help, i would have to recreate in after the update in order to use the correct schema name
    i already tried "apex_public_user" schema, but this does not own any db objects.
    thanks
    peter

    There is  a public synonym for APEX_APPLICATION_PAGE_IR_SUB:
    OWNER
    SYNONYM_NAME
    TABLE_OWNER
    TABLE_NAME
    DB_LINK
    PUBLIC
    APEX_APPLICATION_PAGE_IR_SUB
    APEX_040200
    APEX_APPLICATION_PAGE_IR_SUB
    You should be able to use the view name in your code with no schema qualifier:
    for r as (select * 
    from APEX_APPLICATION_PAGE_IR_SUB subs where ...any filter) loop 
         ..do something.. 
    end loop;

  • How to use 'help view'uFF1FHELP

    Dear guys:
      I want to use 'help view' to connect tables with 'OUTER JOIN'. For example:With primary table 'SPFLI' and secondary 'SCARR',with each has different airline code of 10 and 18.  I want show all the 18 airlines even if they do not have any flight numbers. I  have tried several times but it also use 'INNER JOIN' to connect each other

    Hi,
    You should use the 'Search help exit' to select the data for yourself from the database. Go into the search help maintenance screen and press F1 on field 'search help exit'; follow the links. There is actually a pretty good documentation.
    Regards, Gerd Rother

  • How to use CR Viewer 2008 to open a report created in CR 2008?

    I have CR Developer 2008 version 12.0.0.683 that I am using to create a report whose data source is through the iHistorian OLE DB connector. I can preview the report in the Developer, but as soon as I use Crystal Reports viewer 2008 (12.2.0.r325)to open the report, I get the following error: "An error occured trying to load the report: The field size is not allowed to be negative:
    "-1".-----Error code:-2147215356 Error code n".
    CR viewer 2008 is able to open the samples reports, but not the report I create.
    Any help would be appreciated

    Hi Shweta,
    I am not using a .NET application. I not using Visual Basic either. I just have Proficy Historian 3.1 collecting data from an iFix tag, and i am reading that data into CR 2008 designer.
    I think that the viewer is unable some how to connect to my server with the iHistorian OLE DB. I tried adding the server in the viewer "server configuration" but no luck. I was able to view the report I created on crystalreports.com. So i believe that the problem is with Crystal reports viewer 2008 connecting to my data source server.
    Thanks,
    Abdou

  • How to use Help View 2 in standalone Winform app similar to VS Package Help2 from DTE2

    Hello,
     We are successfully obtaining a DTE2 object and then the Help2 object to connect our context id names with triggering the Help Viewer 2 in a VS package but can’t seem to do the same outside of VS.
     Here’s a sample of how we handle getting it okay from the VS package code:
    dte2 = Package.GetGlobalService(typeof(DTE)) as DTE2;
    help2 = (Help2) dte2.GetObject("Help2");
     Then we can set out context id like this:
    helpId = “MYFORMCONTEXTIDHERE”;
    help2.DisplayTopicFromF1Keyword(helpId);
    Within VS this works fine for our package.  However, the winform app version can’t get the DTE2 object as no instance of VS is running.  For instance, an example like this:
    dte2 = (DTE2)System.Runtime.InteropServices.Marshal.GetActiveObject("VisualStudio.DTE.11.0");
    won’t work as there’s no VS instance.
    Given all this…and us not wanting to use the older CHM HelpProvider winforms approach, is there any way we can achieve what the package version is doing in a pure Winforms application?
    Thanks,
    Michael

    Hi Michael,
    Thank you for posting in the MSDN forum.
    Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss:
    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    To help you find more useful information or find the correct forum for this issue, would you mind letting us know more information about it?
    It is the WinForm developing issue, am I right?
    You said that you use the DTE 2 object, is it related to the VS extension?
    >> However, the winform app version can’t get the DTE2 object as no instance of VS is running.  For instance, an example like this:
    dte2 = (DTE2)System.Runtime.InteropServices.Marshal.GetActiveObject("VisualStudio.DTE.11.0");
    won’t work as there’s no VS instance.
    I did some research about it, the following case and document shared some information about the “Get References to the DTE and DTE2 Objects”, it seems that it also shares some information about “Get an instance of the currently running
    Visual Studio IDE” like the code here:
    // Get an instance of the currently running Visual Studio IDE.
    EnvDTE80.DTE2 dte2;
    dte2 = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal.
    GetActiveObject("VisualStudio.DTE.11.0");
    Reference:
    http://msdn.microsoft.com/en-us/library/vstudio/68shb4dw(v=vs.110).aspx
    Another case:
    http://stackoverflow.com/questions/21986644/use-addin-project-in-another-application
    If still no help, I might not have the correct detailed answer you need, but I might lead you into the right direction to solve your problem.
    If it is the WinForm developing issue, you could select the correct forum here:
    https://social.msdn.microsoft.com/Forums/windows/en-US/home?forum=winformsdesigner%2Cwinforms%2Cwinformsdatacontrols&filter=alltypes&sort=lastpostdesc
    If it is related to the VS extension, maybe this forum would be better for you:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsx
    If I have misunderstood this issue, please feel free to let me know, I will help you find the correct forum for this issue as soon as possible.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use materialized view in stored procedure

    in my stored procedure I use couple of queries (see the script below). I want to create materialized views to replace these queries. Is it possible to achieve and how to achieve it in my case? thanks in advance
    set serveroutput on
    DECLARE
      v_cur_tid NUMBER(5):=0;
      v_cur_cs_attendance NUMBER(5):=0;
      v_cur_c_tot_enrolments NUMBER(5):=0;
      v_most_enrolments NUMBER(5):=0;
      v_least_enrolments NUMBER(5):=0;
      v_most_pop_cid NUMBER(5):=0;
      v_least_pop_cid NUMBER(5):=0;
      CURSOR class_cursor IS
    select
    id,
    name,
    max_attendees
    from
    class
    where
    id in (select distinct(event_id) from trainer_schedule where event_type='c' and is_active='y')
    order by id;
    BEGIN
    DBMS_OUTPUT.PUT_LINE('==================================================================================================================================');
    --print the report header
    DBMS_OUTPUT.PUT_LINE('Summary Report No.3: Training Class Active Schedules Summary Report');
    FOR r_class IN class_cursor LOOP
    --print the header or subsection
    select sum(enrolments) into v_cur_c_tot_enrolments from class_schedule where class_id = r_class.id;
    IF v_most_enrolments < v_cur_c_tot_enrolments OR v_most_enrolments = 0
    THEN v_most_enrolments := v_cur_c_tot_enrolments; v_most_pop_cid := r_class.id;
    END IF;
    IF v_least_enrolments > v_cur_c_tot_enrolments OR v_least_enrolments = 0
    THEN v_least_enrolments := v_cur_c_tot_enrolments; v_least_pop_cid := r_class.id;
    END IF;
    DBMS_OUTPUT.PUT_LINE('******************************************************************************************');
    DBMS_OUTPUT.PUT_LINE('CLASS_ID: '  || r_class.id ||'     '|| 'CLASS_NAME: '  || r_class.name ||'     '||'CAPACITY: '  || r_class.max_attendees ||'     '||'TOTAL_ENROLMENTS: '  || v_cur_c_tot_enrolments);
    DBMS_OUTPUT.PUT_LINE(rpad('____________', 12) || lpad('____________', 12) || lpad('____________________', 20) || lpad('____________________', 20) || lpad('____________',12) || lpad('____________',12));
    DBMS_OUTPUT.PUT_LINE(rpad('SCHEDULE_ID', 12) || lpad('TRAINER_ID',12) || lpad('START_TIME', 20) || lpad('END_TIME',20) || lpad('ENROLMENTS',12) || lpad('ATTENDANCE',12));
    DBMS_OUTPUT.PUT_LINE(rpad('____________', 12) || lpad('____________',12) || lpad('____________________', 20) || lpad('____________________', 20) || lpad('____________',12) || lpad('____________',12));
    FOR r_cs IN (select id,to_char(start_time,'DD-MM-YYYY HH24:Mi') as start_time, to_char(end_time,'DD-MM-YYYY HH24:Mi') as end_time, enrolments from class_schedule where class_id = r_class.id order by id)
    LOOP
    select trainer_id into v_cur_tid from trainer_schedule where event_type='c' and event_id = r_cs.id;
    select count(training_session.id) into v_cur_cs_attendance
    from training_session, class_schedule
    where training_session.attended = 'y' and
    training_session.type='c'and
    to_char(training_session.start_time,'DD-MM-YYYY HH24:Mi') = to_char(class_schedule.start_time,'DD-MM-YYYY HH24:Mi') and
    class_schedule.id = r_cs.id;
    DBMS_OUTPUT.PUT_LINE(rpad(r_cs.id, 12) || lpad(v_cur_tid,12) || lpad(r_cs.start_time, 20) || lpad(r_cs.end_time,20) || lpad(r_cs.enrolments,12) || lpad(v_cur_cs_attendance,12));
    END LOOP;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('******************************************************************************************');
    DBMS_OUTPUT.PUT_LINE('******************************************************************************************');
    DBMS_OUTPUT.PUT_LINE('MOST_POPULAR_CLASS:  '||v_most_pop_cid||'      TOTAL_ENROLMENTS_TO_DATE: '||v_most_enrolments);
    DBMS_OUTPUT.PUT_LINE('LEAST_POPULAR_CLASS: '||v_least_pop_cid||'      TOTAL_ENROLMENTS_TO_DATE: '||v_least_enrolments);
    DBMS_OUTPUT.PUT_LINE('==================================================================================================================================');
    END;
    /

    Hi,
    you could use Dynamic SQL /Execute immediate to run DDL from a stored procedure.
    http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/11_dynam.htm
    Could you please tell why do you want to create a materialized view in stored procedure ?
    How frequently you will runt this procedure . It would is better to create a MV once and use it.
    thanks

  • How to use activeX viewer with java( CR XI)

    Post Author: jws1624
    CA Forum: JAVA
    Hi
    I could find any sample source or refference about usging activeX viewer and java (CR XI R2 sp3).
    Because of downloading excel(export function), I can't choose JRC viewer . So I think activeX viewer is only way to solve my problem.
    Can anyone let me know how to coding it with jsp? ( there are saveral samples in asp code, but not jsp)

    Post Author: Ted Ueda
    CA Forum: JAVA
    The limitation of not having Excel exports is specific to the Crystal Reports Java Reporting Component, and not with the viewer.ActiveX viewer is supported with the Report Designer Component, which is not Java but COM based - the RDC furthermore is deprecated, and not supported starting with Crystal Reports 2008.  The ActiveX viewer is also supported with Crystal Reports Server and BusinessObjects Enterprise.If you use CR.NET, then Excel export is supported - however, as its name implies, it uses a .NET-based SDK.Sincerely,Ted Ueda 

Maybe you are looking for