URL in the result table

Hi
I need to add a URL to the result table. My SQL is getting the complete URL.
I'm getting the URL as workFlowUrl in the underlying query.
I tried two ways
i) If I add a link item then the whole link is being shown instead of propt text. Prompt text is shown only as the column header.
ii) If I added Image item and if I make destination URI attribute to {@workFlowUrl} then the
the select image is being shown but the link is being added as http://servername:port/<<workFlowUrl -- with encoded characters>>
because of which the link is broken.
Can some body help me how can we achiev the above.
All I'm trying to do is I'm trying to take the user to the OA Framwork based work status monitor page with the help of URL generated by the procedure WF_MONITOR.GetEnvelopeURL('DUMMY','WFSPLPRC', p_item_key,'NO').
So, the final URL is being presented as:
http://server:8989/OA_HTML/http%3A%2F%2Fserver%3A8015%2Fpls%2Foapdev%2Fwf_monitor.buildMonitorUrl%3FakRegionCode%3DWF_G_MONITOR_RESPONSES_PAGE%26wa%3D%257B%2129CD6E4ACB2D5102F2A24C771BB8473A%26wm%3D%257B%21DBF7F8390B39B6B5%26itemType%3D%257B%215559198122C72D5AA4DC6050FED4AC45%26itemKey%3D%257B%218AB087B80198EEA3
I don't need leading http://server:8989/OA_HTML
Thanks
prasad

Hi
I fixed the issue on my own. I made the item as formatted text and getting the workflow link with VO query as below:
select b.batch_id,
     b.modifier_list_name,
     b.currency, b.price_list,
     b.price_list_name,
     b.request_date_from,
     b.request_date_to,      
     u.user_name requestor_user_name,
     p.person_id,
     nvl(p.full_name, u.user_name) full_name,
     p.email_address,
     b.spa_status,
      decode(item_key, null, 'Workflow not started', 'Workflow Status' workflow_url
from ldmf.ldmf_sp_batches b, fnd_user u, PER_PEOPLE_V7 p,
     (select distinct item_key from wf_item_activity_statuses where item_type = 'WFSPLPRC') w
where
b.REQUESTOR_ID = u.USER_ID (+)
and u.EMPLOYEE_ID = p.person_id (+)
and w.item_key (+) = b.batch_id
order by b.batch_id desc

Similar Messages

  • Is it possible to name the results table.

    Hi, I'm new to java and have hit a brick wall devloping a GUI which access a SAPDB database.
    They layout of the GUI is:
    have a awt lists in card layout, which is populated with the results of a SQL query to table REGION.
    However the number of results returned can be greater then 1Mill. To minimise the mem useage, i'm using the ResultSet absolute(), first() etc methods to collect and display small chunks of the data, for the different card in the gui. This works fine :)
    However, the user is able to select an item from the list to perform a new query, which the results a presented in a dialog box, not dependent on the parent frame. Works :)
    But, when the user (I) try to move anothe card in the parent frame I get this error:
    SAP DBTech JDBC: Object is closed
    com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech JDBC: Object is closed
    at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(ConnectionItem.java:54)
    at com.sap.dbtech.jdbc.ResultSetSapDB.beforeFirst(ResultSetSapDB.java:177)
    at blastDb.Table.getResultSetSize(Table.java:205)
    at blastDb.Table.setCursor(Table.java:227)
    at ViewDatabase$RegionPanel.setRegionList(ViewDatabase.java:354)
    at ViewDatabase$TabPanel.showRegionList(ViewDatabase.java:180)
    at ViewDatabase$TabButtonListener.actionPerformed(ViewDatabase.java:289)
    at java.awt.Button.processActionEvent(Button.java:381)
    at java.awt.Button.processEvent(Button.java:350)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    After some reading I have come up with this hypothesis:
    In the parent frame there is the object (class) RegionTable, which contains the ResultSet (rsR) of the sql query generated by it.
    In the dialog box there is the object (class) ProteinTable which also contains the ResultsSet (rsP) of the sql query generated by it.
    So when RegionTable querys the database the rsR points to the results table in the SAPDB. All good.
    However when ProteinTable querys the database, rsR closes and rsP is valid ie. points to the results table in the SAPDB.
    Thus after the second query RegionTable.rsR is unable to collect the results of its query. BAD :(
    From what i have read, if the results table is named for the first query, the second call which results table is named something diff then rsR will not close, as the results table is not destroyed, thus rsR can read it's results after the second qury.
    This problems occours when the objects share the same connection or diff connections.
    As far as I'm aware i'm using JDBC 1.2 drivers and SAPDB latest build.
    I know i could hold the results in a view, but that requies more coding, being able to name the results table in the SAPDB make it alot easier.
    So my question is:
    1. Are my assumptions correct??
    2. is there a SQL statement to name the results table for a given query?
    From SAPDB:
    A result table name identifies a result table (see table).
    Syntax
    <result_table_name> ::= <identifier>
    And I've got no idea what is beging impiled beyond that it is possible to name a results table. Obtained from :
    http://www.sapdb.org/htmhelp/da/ed9036dfe4b903e10000009b38f889/frameset.htm
    If anyone can help, that would be fantastic!!!
    Cheers
    fauxn

    I've check the code, when the dialog box is opened a new connection is made, and i still get the same error:
    SAP DBTech JDBC: Object is closed
    com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech
    JDBC: Object is closed
    at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(Connection
    Item.java:54)
    at com.sap.dbtech.jdbc.ResultSetSapDB.beforeFirst(ResultSet
    SapDB.java:177)
    at blastDb.Table.getResultSetSize(Table.java:205)
    at blastDb.Table.setCursor(Table.java:227)
    at ViewDatabase$RegionPanel.setRegionList(ViewDatabase.java
    :354)
    at ViewDatabase$TabPanel.showRegionList(ViewDatabase.java:1
    80)
    at ViewDatabase$TabButtonListener.actionPerformed(ViewDatab
    ase.java:289)
    at java.awt.Button.processActionEvent(Button.java:381)
    at java.awt.Button.processEvent(Button.java:350)
    at java.awt.Component.dispatchEventImpl(Component.java:3526
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Ev
    entDispatchThread.java:191)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Even
    tDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
    ead.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
    ead.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.jav
    a:98)
    when i ask rsR to collect the results from it's query.
    Dosen't make sence, unless its they way I'm implementint the GUI???
    I'll look into the JDBC driver bug.
    Cheers

  • To get checkboxes in the results table of SEARCH page?

    Hi,
    I am trying to create a search form using 'Execute With Params', while doing this I am getting radiobuttons when I go for Enable Selections , but I want Checkboxes to be present there instead of Radio Buttons.
    And also when the page is displayed I want only the search parameter to be prsent and not the results table by default.How can I do that?
    Kindly tell me how can I acheive that?
    Thanks,
    ivaR

    Hi,
    a) create a table with no selection enabled. Then drag and drop the tableSelectMany component into the "Selection" facet of the table
    b) make the default vaue of the bind variable so that no value is returned by the query. Then on the render property of the table, set #{bindings.tableIterator.estimatedRowCount>0}. This hides the table if not query is issued

  • Point cloud clip doesn't return anything in the result table

    Hi experts,
    I am wondering why my point cloud clipping function does not return anything into the result table.
    The boundaries of my point cloud are:
    min long 316,500
    max long 316,643.21
    min lat 234,000
    max lat 234,105.38
    min elevation -4.79
    max elevation 30.87
    For the ind_dimquery I have tried different geometry types, like 3003 and 3008, usually with the elem_info_array (1,1007,3)
    like in the following example:
    SQL> declare
    2 inp sdo_pc;
    3 begin
    4 select pc into inp from base109 where rownum=1;
    5 insert into restst
    6 select * from table(sdo_pc_pkg.clip_pc(
    7 inp,
    8 sdo_geometry(3003, 29903, null,
    9 mdsys.sdo_elem_info_array(1,1007,3),
    10 mdsys.sdo_ordinate_array(316510, 234080, -3, 316550, 234100, 2)),
    11 null, null, null, null));
    12 end;
    13 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.20
    SQL> select count(*) from restst;
    COUNT(*)
    0
    What am I doing wrong? This should be a query window within the right area and I know that at least one point lies within this defined window.
    Any help is greatly appreciated!!!!!
    Cheers,
    F.

    yes exactly, I have tried all of this already.
    For a further example, there is a point in:
    POINTS(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    R G B I POINT_ID
    SDO_GEOMETRY(3001, 29903, SDO_POINT_TYPE(316503.49, 234089.46, 3.32), NULL, NULL
    71 91 78 70 55
    so theoretically, I'd feel that at the VERY LEAST this point should be in the 3008geometry and 1007 elem array for the coordinates for xmin, y min, zmin, xmax, ymax, zmax for
    316500, 234080, 2, 316510, 234100, 5
    but...nothing. Nothing in the result table.
    For full query:
    SQL> declare
    2 inp sdo_pc;
    3 begin
    4 select pc into inp from base109 where rownum=1;
    5 insert into restst
    6 select * from table(sdo_pc_pkg.clip_pc(
    7 inp,
    8 sdo_geometry(3008, 29903, null,
    9 mdsys.sdo_elem_info_array(1,1007,3),
    10 mdsys.sdo_ordinate_array(316500, 234080, 2, 316510, 234100, 5)),
    11 null, null, null, null));
    12 end;
    13 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.13
    SQL> select count(*) from restst;
    COUNT(*)
    0

  • Viewing the Result Table Data?

    Hello,
    Please let me know the steps how to see the result table data after running the Remuneration Statement or before running the Remuneration Statement.

    Hi,
    Payroll result will be available after running the payroll in live mode.
    then go to pc_payresult, or PC00_m40_clstr, eneter the personnel number for whom you want to see the result and then select the period.
    Regards
    Devi

  • When i type a search term in the URL box, the result is returned on an AOL Search page; I want a Google search page - help....

    When i type a search term in the URL box, the result is returned on an AOL Search page; I want a Google search page - help....

    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • Query Panel reset is clearing attribute level validations in the results table.

    Hi,
    I'm using JDeveloper 11.1.2.3.0.
    I have a query panel with editable table in a jsf page.
    In the EmployeesEO i have an attribute validation for Salary. that is Salary should not  be a negative value.
    I ran the Jsf page, click on Query panel Search, results are displayed.
    I changed the salary to -100 from 50000 and tabout, error message is shown properly at attribute level.
    I clicked on Query panel's Reset button, now Salary is showing as 50000 in the results table. But when i click on Commit button to save the changes, then -100 is showing and throwing the validation message.
    Can you please let me know if there is any way to not clear the values in the Results Table?
    Thanks,
    Vinod

    Once you submit the values the reset button can't undo these changes. To reset the changes you either need to call rollback or you have set a save point before the changes and then reset to the save point.
    What I don't understand is why the click on the reset does show you the old value.
    Timo

  • How do I update the result table ?

    I am having problem to design and update the competition results in WPC_RESULTS table.
    I have 3 tables
    1. WPC_COMPETITION - It has details of the competition to be conducted.
    2. WPC_MEMBERS - Member details.
    3. WPC_RESULTS - Competition results which will have Member_ID, Competition_ID and Status.
    In Region 1. I have a drop down list from which I can select the Competition.
    Problem is with region 2.
    ==================
    In Region 2. I plan to have All the Member's Name from WPC_MEMBERS, a Status column (W=Win or L=Lost or X=NotPlayed) from WPC_RESULT which can be updated. But the table WPC_RESULTS dosenot have a primary key but has 2 foreign key one from WPC_COMPETITION and one from WPC_MEMBERS.
    I am just not able to plan & create this region 2.
    Can someone login to my wokspace and give me a helping hand.
    Please mail me at [email protected] and I would give you the password for my workspace.
    Regards,
    Nikhil Karnik

    My problem is since the WPC_RESULT table has two master tables. I cannot use a Master Detail form.
    What I am trying is,
    On a form which displays all the member in WPC_MEMBERS, Drop down list of competition name from WPC_COMPETITION table and a there should be checkbox for status column of WPC_RESULT. So my challenge is to update the WPC_RESULT table with the respective member id and competition id and status in WPC_RESULT table.
    As you said I can use a PL/SQL, but I could not understand how do create my PLSQL block to identify each member on the form and update the competition status associated with that member.
    in short the table definition is like
    CREATE TABLE "WPC_COMPETITION"
    (     "COMPETITION_NAME" VARCHAR2(100),
         "COMPETITION_CODE" NUMBER,
         "DATE_CONDUCTED" DATE,
         CONSTRAINT "WPC_PK1" PRIMARY KEY ("COMPETITION_CODE") ENABLE
    CREATE TABLE "WPC_COMPETITION"
    (     "COMPETITION_NAME" VARCHAR2(100),
         "COMPETITION_CODE" NUMBER,
         "DATE_CONDUCTED" DATE,
         CONSTRAINT "WPC_PK1" PRIMARY KEY ("COMPETITION_CODE") ENABLE
    CREATE TABLE "WPC_RESULTS"
    (     "COMPETITION_CODE" NUMBER,
         "STATUS" VARCHAR2(1),
         "MEMBER_ID" NUMBER
    ALTER TABLE "WPC_RESULTS" ADD CONSTRAINT "WPKD_FK1" FOREIGN KEY ("COMPETITION_CODE")
         REFERENCES "WPC_COMPETITION" ("COMPETITION_CODE") ENABLE
    ALTER TABLE "WPC_RESULTS" ADD CONSTRAINT "WPKD_FK2" FOREIGN KEY ("MEMBER_ID")
         REFERENCES "WPC_MEMBERS" ("MEMBER_ID") ENABLE
    /

  • Had a Search Criteria and the result as table in header.Wanted to bind the result table to bean for the key value access

      Had Search Criteria and the result is displayed in the table in a panel header .  I want to get the selected  row value and parse the value to next Vo in next page for a bind variable . So i need to handle the  tbale value by biniding to the bean , but there was no option to bind the table for a bean.So how can i get the value selected .
    Regards,
    K M Krishna.

    First of all tell us your jdev version, please.
    to get to the selected row you don't need to bind the table to a managed bean. You can e.g. drag the needed attributes from the VO onto the page and drop them as inputText components. the Framework then generated the attribute bindings and sets the values of the current row to them. As you don't really need the inputText components switch to source mode (!this is essential!) and remove them. This will remove the visual component but the attribute bindings are kept.
    Know you can access the values via their EL or like you get the value from an attribute via it's binding.
    Timo

  • How to modify horizontal​.xsl to add few columns in the Result table?

    I would like to add few input parameters from my parameter variables in my report table using horizontal.xsl. It is like add columns to the table. Can someone advise?
    thanks
    rgds,
    toko

    toko,
    maybe you want to take a look here.
    hope this helps,
    Norbert B.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • After running sql scripts in SQL plus, where are the results(tables) stored

    Hi ,
    I am using oracleDb10g . i have used SQL plus to create a database. I have run 2 sql scripts and constructed the tables , but i dont know where the data is stored and how to make the data into a database, so that i can use it for connection through some UI.
    for example: schema.sql, data.sql script files.
    SQL> start schema.sql
    SQL> start data.sql
    The tables are created.
    Now how can i group those table into a database and name it.(i mean i can create a database using SQL plus, but how to dump the tables into the database created). Because i want to use this database name for connecting to MS SQL, so i need the name.
    Thanks
    babu.

    when you are in Rome, sing with the romans !
    Oracle is different from SQL Server.
    Time to read some basic books.
    --> http://tahiti.oracle.com

  • Row not creating in the results table of search page,plz help

    hi,
    i had created searchpage, and after giving the criteria ,after press the go button, its giving exception the row is not created
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for DeptEO.
    can anyone help regarding this.

    Please post the full error stack.
    This message is not enough to diagnose the problem.
    --Prasanna                                                                                                                                                                                                       

  • Row not creating in the results table of search page,

    hi,
    i had created searchpage, and after giving the criteria ,after press the go button, its giving exception the row is not created
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for DeptEO.
    can anyone help regarding this..

    Try the OA Framework Forum

  • Result table data to be populated based on selection in the result list

    Hi,
    We have a parent data source "P" containing all the record types. Further we have two child data sources each having filters on exclusive record types(for ex. child1 containing record types X, Y, Z and child2 containing record types A, B).
    In our page we have a result list associated with data source child1(record types X, Y, Z) and result table associated with data source child2(record types A, B). There exists common attributes among the attributes present in result list and in the result table.
    Rest of the containers in the page namely search, breadcrumbs, guided navigation point to the parent data source("P") containing all the record types.
    Whenever we select a value from the guided navigation using the common attributes both the result list and result table are getting filtered.
    What we require is that, whenever an attribute(common attribute) is clicked in the result list, the data in the result table needs to get filtered based on the value of the attribute that is clicked.
    Is this possible? If so, pl. suggest how.

    Take a look at the Studio release notes for EID 2.4 http://docs.oracle.com/cd/E35976_01/studio.240/RELNOTES.txt a lot of little bugs like the one you describe have been resolved. If you haven't already done so you should upgrade to 2.4.

  • Hide "Your Reference" column in the results displayed at genericsearch.jsp

    Hi Experts,
    I am new to ISA 5.0 & have a requirement which I need to develop:
    Select u201COrder existing Quotation" on welcome.jsp. Then in the result table shown. I need to hide the column u201CYour Reference.u201D
    My problem is that I am not able to understand how this table is shown & where is the code for displaying the resultdata. On the /appbase/genericsearch.jsp I can not find any html code which is used to display the u201CYour Reference.u201D column & values for each row.
    Please help.

    In ISA, all the strings are externalized. "Your reference" too is externalized and comes from the resource bundle. To know the parameter name, use the URL parameter - translate.show.key.concat=99 to see the key name of the parametrized string of the table header.
    http://<host>:<port>/b2b/init.do?<url-parameter-key=value>&<url-parameter-key=value>
    The language keys are normally located in \WEB-INF\classes folder in language-dependent resource files.

Maybe you are looking for