Is it possible to create view link on programatic VOs

I tried creating a view link between 2 programatic VOs but did not get a clean way to get the where clause.
It appears that the where clause has to be dependent on the EOs which does not exist in this case.
On creating the view link,i need the following where clause:
VO1.col1 = VO2.col1 ( i.e. :Bind_col1 = VO2.col2)
Is this possible ? The query getting built here is showing up as null bind variable i.e. :Bind_col1 is null
Please suggest how to get over this issue.

How/where do you want to accomplish it?
Within the document? Using Acrobat? Using another application?
Using Acrobat within the document would be possible using Acrobat JavaScript. You can access the annotation objects of your document, and you then can evaluate the properties of each of these objects. Have a closer look at the Annotation Object section in the Acrobat JavaScript documentation.
You will look for the contents property, and evaluate its content. When you have found something looking like a URL, you can create a link (using the rect property of the annotation), and you have what you want; you might then think to destroy the annotation, as it may overlay the link.
Hope this can help.
Max Wyss.

Similar Messages

  • Is it possible to create a link on the content of a text annotation??

    Is it possible to create a link on the content of a annotation??? Like the content of an annotation is some notes as well as a link...
    content -
    this is my first annotation(notes)
    http://www.google.co.in/(link)
    is it possible to create a link for the url given in the content of an annotation??? On click on the url...it should get opened...
    please reply its really urgent....

    How/where do you want to accomplish it?
    Within the document? Using Acrobat? Using another application?
    Using Acrobat within the document would be possible using Acrobat JavaScript. You can access the annotation objects of your document, and you then can evaluate the properties of each of these objects. Have a closer look at the Annotation Object section in the Acrobat JavaScript documentation.
    You will look for the contents property, and evaluate its content. When you have found something looking like a URL, you can create a link (using the rect property of the annotation), and you have what you want; you might then think to destroy the annotation, as it may overlay the link.
    Hope this can help.
    Max Wyss.

  • Is it possible to create a link that I can place on a website to an internet radio stream on iTunes?

    Is it possible to create a link that I can place on a website to an internet radio stream on iTunes?

    Yes, but it WON'T play through the browser. It'll require any visitor who clicks it to have iTunes installed, and it'll open iTunes as soon as they do.

  • Is it possible to create a link to the bibliographies ?

    is it possible to create a link to the bibliographies ?

    How/where do you want to accomplish it?
    Within the document? Using Acrobat? Using another application?
    Using Acrobat within the document would be possible using Acrobat JavaScript. You can access the annotation objects of your document, and you then can evaluate the properties of each of these objects. Have a closer look at the Annotation Object section in the Acrobat JavaScript documentation.
    You will look for the contents property, and evaluate its content. When you have found something looking like a URL, you can create a link (using the rect property of the annotation), and you have what you want; you might then think to destroy the annotation, as it may overlay the link.
    Hope this can help.
    Max Wyss.

  • Create view link programatically

    Hi all,
    I am working on this weird requirement.
    Basically, I have to create a detail table on a search resullt table. The search result is seeded search, for Item Advance search in Oracle PIM module which is not based upon a VO. The search result table is dynamically built at run time in the EgoItemSearchHelper class and that's where they build the search result VO (EgoItemSearchResultsVO).
    Now, I need to access this VO in the controller class, and create a view link programatically between details table VO and this VO. The problem is since I do not have Impl class for the EgoItemSearchResultsVO, how do I accees the column that is the key attribute. Second I do not know how to create view link between the two VOs programatically.
    Please help it's urgent.
    Thanks

    Pratap, My problem is the seeded VO is in seeded AM and my details VO will be in my custom AM, I don't know if we can have a view link between View objects that are in different AMs.
    To bypass that problem, I tried to create a VO in the seeded AM programatically and then created a view link. Now since the AM is seeded, and I am adding my details VO to this AM programatically, I thought of creating a table also programatically on the detais VO.
    In the end it does not work, I end up getting a show button on the main table, but when I click I get an error (Cannot find <null> attribute in the EOGITEMSEARCHRESULTVO) which is the seeded VO class. Unfortunately there is no boolean variable on the dynamic seeded VO, so don't know what to put in oatablebean.setDetailViewAttributeName("") method;
    Any clues on this, appreciate all responses from the forum gurus.
    ViewObject voEmp = oaapplicationmodule.createViewObject("MyEmp", "xxuss.oracle.apps.ego.item.eu.server.DetailsOrderLinesVO");
    ViewObject voEmp = am.createViewObject("MyEmp", "xxuss.oracle.apps.ego.item.eu.server.DetailsOrderLinesVO");
    AttributeDef[] prjLinkAttrs = new AttributeDef[]{oaapplicationmodule.findViewObject("EgoItemSearchResultsVO").findAttributeDef("INVENTORY_ITEM_ID_B")};
    System.out.println("definition for attr = "+ prjLinkAttrs[0]);
    AttributeDef[] taskLinkAttrs = new AttributeDef[]{voEmp.findAttributeDef("InvId") };
    ViewLink vl = am.createViewLinkBetweenViewObjects("MyLink3",
    "DetailInv", // accessor name--more on this below
    am.findViewObject("EgoItemSearchResultsVO"), // master
    prjLinkAttrs, // department attributes
    voEmp, // detail
    taskLinkAttrs, // employee attributes
    null); // assoc clause
    System.out.println("view link =" + vl.getName());
    OATableBean tb = (OATableBean)createWebBean(oapagecontext,TABLE_BEAN,null,"table");
    tb.setViewUsageName("MyEmp");
    OAMessageStyledTextBean beans = (OAMessageStyledTextBean)createWebBean(oapagecontext,MESSAGE_STYLED_TEXT_BEAN,OAWebBeanConstants.VARCHAR2_DATATYPE,"number");
    beans.setPrompt("column1");
    beans.setViewUsageName("MyEmp");
    beans.setViewAttributeName("InvId");
    tb.addIndexedChild(beans);
    oatablebean.setDetail((OAWebBean)tb);
    oatablebean.setDetailViewAttributeName("SelectFlag"); // I just tried this, SelectFlag is not a boolean attribute though, is there a way to create a boolean attribute programatically for seeded VO EGOITEMSEARCHRESULTVO and set it here, will it help
    oatablebean.setAllDetailsEnabled(true);

  • Photoshop Elements 13 - Is it possible to create a link in an image?

    Photoshop Elements 13 - Is it possible to create a link in an image?

    No, you would need to use your web design program to do that.

  • Is it possible to create views with parameters ?

    Hi,
    As MS-Access, is it possible to create views with parameters ?
    Ms-Access syntax : parameters [a] text; select * from table where code = [a]
    If yes, can you give samples ?
    Regards
    Pascal

    I suggest you you write a stored procedure that returns a recordset in oracle. Then execute the stored procedure and loop through the record set.
    Look in in MS Knowledgebase searching on ADO Stored Proceedures for the VB/C++/VBS .. code.
    Look in in Oracle PL/SQL guide for the Stored Proceedure code.

  • Unable to create view links ....

    Hi,
    when i try to create a view link on my custom VO's ..im getting the following error:Ia m not using any standard VO's but still iam facing this issue
    Error occurred trying to activate the wizard pageView objects.
    Unable to find referenced object.
    Object=oracle.apps.ego.common.server.EgoChangeOrderCreationVO
    Owner=xxcus.apps.xo2c.sample.server.EgoChangeOrderCreationVOEx
    Exception:oracle.jbo.dt.objects.jboReferenceException
    I checked for these files on both the server and my local jdev.
    only the PosShipmentsCustomVO.xml is present both on the server and my local jdev.the .class file is not there on the server.
    Any help is greatly appreciated.
    Thanks

    Hello,
    Check the developer's gude for the following:
    Developing Business components -->Creating and modifying View Objects, view Links, Application Modules -->Ways to create View Link instances in the code.
    Do let us know if you are still stuck some where.
    Pavan K

  • ICWC: Is it possible to create a link in a message in the error line

    Hi,
    after saving a service order in the IC WebClient the success message (including the object id) is shown in the persistent header area of the ICWC - in the error single line. 
    Is there a possibility to have a link in this area? I want to create a link onto the object id to directly get into this order again.
    Thanks for your help.
    Regards,
    Ben

    Hi,
    thanks for your response. Just for the understanding, in my case there are no error messages displayed in the error line. The only visible message is the success note "service ticket XYZ is saved successfully". After saving the ticket correctly we have to navigate to a different view. Changing this is not possible.
    So the new client requirement is to create a link at the "XYZ" (object id) in this error (success) message. But I think there is no possiblity to get a navigational link or a usual html-link at that place.
    Maybe you got some more ideas?
    Thanks and best regards,
    Ben

  • How to pass parameter when create view link

    Hi,
    I used R12 to implement OAF. I create a VO with paramenter such as SELECT item_code,parent_item_code,month_budget_id
    FROM cux_ce_month_budget_lines_t
    where month_budget_id=:1
    But when I create VL for this VO. It seems the parameter :1 can not be passed.
    Could some one to help lookinto this?
    Best Regards,
    Eileen

    You donot need to pass parameter while creating the View Link. Once the view link is created then you assign the bind parameter to the master VO and execute the View link. The Child VO would automatically be executed.

  • How to create view link?

    Hi,
    Would somebody please tell me the brief steps for creating a view link.

    OAF ... Oracle Applications Framework? As in 'a technology or product question'? (See the description of this forum for reference to why I ask.)
    Please note that Oracle has over 100 products and technologies. When asking questions about the product or technology, it is important to either ask in context (the correct forum) or make sure you give lots of detail to alloow the readers to actually be able to identify the product and the platform.

  • Create View Link Definitions - Problem

    Hi,
    I was trying to define a relationship between two view objects using the view link icon, but I always get this error messages:
    BME-99004:A java runtime exception has occurred,
    BME-02038:Exception thrown during validation.
    Can anyone help me? It's very important!!
    Thanks
    null

    Ok, I'm not Lisa but do you still want my help? ;o)
    We need to go back to basics for this and also provide more information.
    I assume you are using ADF Business Compoments,
    What version - I'll assume 10.1.3
    How are you creating the link; what are you actually doing when yuo get this error - are you running.
    Here is what I would do - create two default EOs EMP and DEPT and create two default VOs on them, drag the VOs onto a Business Components diagram and add a link to it - does that work - if so, what is different. If that doesn't work then we have something to go on.
    Regards
    Grant Ronald
    Oracle Product Management

  • Create view link between two view objects (from programmatic data source)

    Hi Experts,
    Can we create a link between two view objects (they are created from programmatic datasource ; not from either entity or sql query). If yes how to create the link; ( i mean the like attributes?)
    I would also like to drag and drop that in my page so that i can see as top master form and the below child table. Assume in my program i will be only have one master object and many child objects.
    Any hits or idea pls.
    -t

    Easiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.

  • JDeveloper error creating view link

    I was attempting to create a view link for Chapter 11 of "Oracle JDeveloper 10g Handbook" and received the following error (restarting JDeveloper did not help):
    Message
    BME-99004: A Java runtime exception has occurred.
    Cause
    This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.bm.uml.validation.AssociationValidation.validateAssociationEnds(AssociationValidation.java:315)
         at oracle.bm.uml.validation.AssociationValidation.validate(AssociationValidation.java:108)
         at oracle.jbo.dt.modeler.validation.BC4JAssociationValidation.validate(BC4JAssociationValidation.java:35)
         at oracle.bm.data.validation.ValidationEngine.validate(ValidationEngine.java:201)
         at oracle.bm.data.cacheimpl.TransactionImpl.validate(TransactionImpl.java:1713)
         at oracle.bm.data.cacheimpl.ProjectCacheImpl.closeTransaction(ProjectCacheImpl.java:5055)
         at oracle.bm.common.registry.CRNWayEdge.createEdge(CRNWayEdge.java:208)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.doCreateEdge(CreateRegisteredShapeTracker.java:537)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mav$doCreateEdge(CreateRegisteredShapeTracker.java:111)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker$6.performAction(CreateRegisteredShapeTracker.java:336)
         at oracle.bm.diagrammer.LockMonitor.performLockedAction(LockMonitor.java:64)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(BaseDiagram.java:2437)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.processEvent(CreateRegisteredShapeTracker.java:279)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:403)
         at oracle.bm.diagrammer.track.TrackerStack.pop(TrackerStack.java:198)
         at oracle.bm.diagrammer.track.TrackerStack.safePop(TrackerStack.java:320)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mousePressed(CreateRegisteredShapeTracker.java:1022)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mousePressed(CreateRegisteredShapeTracker.java:819)
         at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:191)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.processEvent(CreateRegisteredShapeTracker.java:230)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:389)
         at oracle.bm.diagrammer.BaseDiagramView$53.processEvent(BaseDiagramView.java:719)
         at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2904)
         at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:3090)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    Message
    BME-02038: Exception thrown during validation
    Cause
    Action
    ________________________________________________________________________________

    Here is the view links code ..
    Project to task and task to subtask is fine .......... form subtaskvo i want to perform recursion ...
    thats what iam not getting ...
    public void createViewLink
    (OADBTransaction dbTransaction, OAViewObject obj,OAViewObject obj1
    ,OAViewObject obj2,OAViewObject obj3) {
    AttributeDef[] prjLinkAttrs = new AttributeDef[] { obj.findAttributeDef("ProjectId") };
    AttributeDef[] taskLinkAttrs = new AttributeDef[] { obj1.findAttributeDef("ProjectId") };
    ViewLink vl = createViewLinkBetweenViewObjects("TestPrjToTestTasksVL","TestPrjToTasksAcc",
    obj,prjLinkAttrs,obj1,taskLinkAttrs,null);
    Row firstDept = obj.first();
    RowSetIterator empsInDeptRowSet1 = (RowSetIterator)firstDept.getAttribute("TestPrjToTasksAcc");
    ViewObject viewObjectForAccessorRowSet = empsInDeptRowSet1.getRowSet().getViewObject();
    AttributeDef[] taskAttrs = new AttributeDef[] { obj1.findAttributeDef("TaskId") };
    AttributeDef[] parentTaskAttrs = new AttributeDef[] { obj2.findAttributeDef("ParentTaskId") };
    ViewLink vl1 = createViewLinkBetweenViewObjects("TaskToTestTasksVL","TaskToTasksAcc",
    viewObjectForAccessorRowSet,taskAttrs,obj2,parentTaskAttrs,null);
    //This link is not working
    AttributeDef[] taskAttrs2 = new AttributeDef[] { obj2.findAttributeDef("TaskId") };
    AttributeDef[] parentTaskAttrs2 = new AttributeDef[] { obj3.findAttributeDef("ParentTaskId") };
    ViewLink vl2 = createViewLinkBetweenViewObjects("TaskToTestTasksVL2","TaskToTasksAcc2",
    obj2 ,taskAttrs2,obj3 ,parentTaskAttrs2,null);
    }

  • Makes it possible to create view with parameters

    makes it possibel to create view with paramater, example
    create or replace view v_test(segment varchar2)
        select * from ref_user where segment = segmentThanks

    thanks..
    select count(distinct substr(a.svm_id,1,10)) jumlah " +
       " from daily_distribution_pop a, ref_toko b " +
       " where " +
       " substr(a.svm_id,1,10)=b.id and b.segment_type = 'A' and enable_flag='Y' " +
       " and a.tgl_visit between to_date('" + fromStartDate + "', 'dd/MM/yyyy') and to_date('" + fromEndDate + "', 'dd/MM/yyyy')
         and " + whereA + "= '" + whereB + "' " +
       " and substr(a.pom_id,1,2) = 'DP' and (a.qty_instore <> 0 or a.qty_delivered <> 0) ";
    {code}
    where fromStartDate,  fromEndDate, whereA, whereB  is variable parameter from asp.net.
    how to i can implement with view                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for