Cannot create link in report region!

Hello Everyone,
I have developed a region in Page 0 which holds the page items of a JQuery Dialog Box and javascript fuctions( dispAudit_p(), dispAudit_r()) to pass value between the page and the dialog box.
Now! In my actual page i have a master detail page regions.
I created a button in the master region which calls the dispAudit_p() function and works perfectly.
In the detail region i modified the query to have a dummy column - i want this field as a link or an image which calls the function dispAudit_r().
I tried the display element as Text Field for the dummy column and in the Element Attribute i called the js using onfocus, it just worked fine.
But when i tried link column option it shows the dialog box but the values are "undefined".
Please let me know hoe to solve this. The following is the JavaScript:
<script type="text/javascript">
$( function() { 
$('#ModalForm').dialog(
modal : true ,
autoOpen : false ,
buttons : { 
Close : function() { 
closeForm();
function dispAudit_p (formItem1,formItem2,formItem3,formItem4)
$('#ModalForm').dialog('open');
     document.getElementById("P0_CREATEDBY").value = document.getElementById(formItem1).value;
document.getElementById("P0_CREATEDBY").disabled = 'true';
     document.getElementById("P0_CREATIONDATE").value = document.getElementById(formItem2).value;
document.getElementById("P0_CREATIONDATE").disabled = 'true';
     document.getElementById("P0_LASTUPDATEDBY").value = document.getElementById(formItem3).value;
document.getElementById("P0_LASTUPDATEDBY").disabled = 'true';
     document.getElementById("P0_LASTUPDATEDDATE").value = document.getElementById(formItem4).value;
document.getElementById("P0_LASTUPDATEDDATE").disabled = 'true';
function dispAudit_r(formItem1,formItem2,formItem3,formItem4,pThis)
$('#ModalForm').dialog('open');
var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
document.getElementById("P0_CREATEDBY").value = html_GetElement(formItem1+'_'+vRow).value;
document.getElementById("P0_CREATIONDATE").value = html_GetElement(formItem2+'_'+vRow).value;
document.getElementById("P0_LASTUPDATEDBY").value = html_GetElement(formItem3+'_'+vRow).value;
document.getElementById("P0_LASTUPDATEDDATE").value= html_GetElement(formItem4+'_'+vRow).value;
function closeForm()
$('#ModalForm input[type="text"]').val('');
$('#ModalForm').dialog('close');
</script>
Edited by: John on Oct 17, 2011 3:26 PM
Edited by: John on Oct 17, 2011 4:33 PM

Where can i find button classIn the button template
Usually(depend's on the theme) redirect buttons template are link tags with some class that styles them like a button. Else you can create such a button template(by copying it from another theme) without any styling
For example a button template like
&lt;a #BUTTON_ATTRIBUTES# class=&quot;&quot; href=&quot;#LINK#&quot;&gt;#LABEL#&lt;/a&gt;would render the button like a plain link

Similar Messages

  • APEX_040100.WWV_FLOW_API Error while creating a Interactive Report Region

    I am getting the following error while creating an Interactive report region on a page. (version - 4.1.0.00.32)
    Error Unable to create Dynamic Query page.
    ORA-04065: not executed, altered or dropped ORA-04065: not executed, altered or dropped stored procedure "APEX_040100.WWV_FLOW_API" ORA-06508: PL/SQL: could not find program unit being called: "APEX_040100.WWV_FLOW_API"
    DBA complied package but the error persists.
    Does anyone know how to debug this
    Thanks,
    Priyanka

    Hello ???,
    We are experiencing this too at login in an application. The error is caused by violating the constraint WWV_FLOW_DATA_IDX1 on columns FLOW_INSTANCE, ITEM_ID in table WWV_FLOW_DATA. So for some reason the value of an item in session state is set multiple times.
    When looking at the Access view (statement below) I see that there are multiple logins per second for a user (I have seen 12 times as maximum).
    select login_name, application, access_date, count(*)
    from WWV_FLOW_USER_ACCESS_LOG_V
    group by login_name, application, access_date
    having count(*) > 1
    order by access_date descSince this count of logins varies from 1 to 12, it looks like it is not caused by the application itself, but I also don't have a clue what the root cause is.
    Is there anyone else with more information on this issue?
    We are on APEX 4.0 and Oracle 11g and the applications have all been built in this environment, so no upgrades have been performed.
    Regards, Wouter
    Edited by: Wouter Breeuwsma on 31-mei-2012 12:05

  • Pls Help me to Create an Updatable report region

    hi,
    can u pls help in creating an updatable report region. as of now i have 2 regions in a page. 1st region is HTML type where we can select Year,Month&Account parameters and do submit.
    2nd region an updatable report region where the report generates according to the SQL query which includes conditions selected as parameters in where clause. even i have the processes to update the data in this report.
    now the problem is i am able to put only one submit button which is functioning for both parameter selection and as well as updating the data in report fields. so the functionality of the report became a bit tricky which is not user friendly to the client.
    whats happening is: after logging in&select the parameters month=Jan,year=2007,account=ALL
    -> If you would like to update the data for Jan’07, you can enter the value in the field and click on ‘Update’ button
    -> After that, if you would like to see the data for Feb’07, as of now you are not able to select the month from drop down list directly from this page and say ‘Update’. You need to log-out and log-in again and select ‘Feb’ for seeing Feb’07 data.
    -> Rather if you directly select the ‘Feb’ month and say ‘Update’ in the same page, it is updating by the New value you entered for ‘Jan’ ( the same thing happens for all the months what ever you select and click on ‘Update’ in the same page without log-out and log-in)
    -> So, the basic thing you have to do while you update the data is, you need to log-out & log-in for seeing or updating different month’s data after making changes to the present month and click on ‘Update’. You can not see correct data if you select the month directly after making changes to the present month’s data. This will cause automatic updating in the selected month.
    sorry for the long description of my problem, but your help in this regard will be appreciated. thanks in advance.
    Best Regards,
    _Rakesh Reddy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    hi andy,
    thanks very much for ur reply mite..
    actually i have 2 page processes.
    1 is On Submit-Before Computations and Validations;is to populate
    2 is On Submit-After Computations and Validations;is to update
    both r PL/SQL anonymous blocks.the problem is i couldn't find any triggers like things in process point drop down list.for eg;'when button pressed' or 'when LOV changed' or 'when list changed'(like in forms developer)
    and also i couldn't allocate any processes or functions to button properties in APEX.
    can u pls help in this regard.
    Cheers,
    _Rakesh Reddy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Link in report region

    Hi,
    I have report region(type=sql query). In that report region i want to add a hyperlink(View all). When user clicks on the hyperlink it should bring them to another page. Can anyone help me in this issue. i am using apex4.0.

    Where can i find button classIn the button template
    Usually(depend's on the theme) redirect buttons template are link tags with some class that styles them like a button. Else you can create such a button template(by copying it from another theme) without any styling
    For example a button template like
    &lt;a #BUTTON_ATTRIBUTES# class=&quot;&quot; href=&quot;#LINK#&quot;&gt;#LABEL#&lt;/a&gt;would render the button like a plain link

  • Creating links from report fields

    Hi,
    I have created a report but need to make one of the fields a hyperlink (ie 'LINK' field). The report is built from parameters entered by a user & so, every record returned will contain a different 'LINK' value. How can I specify that this needs to be displayed as a hyperlink? I've tried various ways to create the link by '<a href' tags in the report customization step but to no success.
    I cannot create a link component and attach it to the 'LINK' field as the value in this field changes each time depending on the entered parameters.
    Any assistance that can be provided is greatly appreciated!
    Thanks.

    You can use SQL report to do this:
    Suppose the column which contains the web addressed is called url_column, your SQL
    will be something like
    select htf.anchor(url_column, name) from the_table
    Then in the Column Formatting page,
    set the "Display as" for column url_column as HTML.
    Run the report and the values form that column will be a url which links to other web sites
    null

  • Cannot create Power View reports with HelloWorldPicnicPowerViewRTM.xlsx

    I have uploaded HelloWorldPicnicPowerViewRTM.xlsx to Power Pivot Gallery on SharePoint 2013 and SQL Server 2012.
    I have clicked Create Power View Reports, but there is error with connection.
    I'm trying to follow instructions on
    http://technet.microsoft.com/en-us/library/hh759325.aspx
    <detail><ErrorCode xmlns="rsCannotRetrieveModel</ErrorCode><HttpStatus">http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus
    xmlns="400</HttpStatus><Message">http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="An">http://www.microsoft.com/sql/reportingservices">An
    error occurred while loading the model for the item or data source 'http://servername/sites/bi/powerview/PowerPivotGallery/HelloWorldPicnicPowerViewRTM.xlsx'. Verify that the connection information is correct and that you have permissions to access the data
    source.</Message><HelpLink xmlns="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0</HelpLink><ProductName">http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0</HelpLink><ProductName
    xmlns="Microsoft">http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="11.0.3128.0</ProductVersion><ProductLocaleId">http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
    xmlns="127</ProductLocaleId><OperatingSystem">http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="OsIndependent</OperatingSystem><CountryLocaleId">http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId
    xmlns="1033</CountryLocaleId><MoreInformation">http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="<Source>ReportingServicesLibrary</Source><Message">http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message
    msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="An">http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'http://servername/sites/bi/powerview/PowerPivotGallery/HelloWorldPicnicPowerViewRTM.xlsx'.
    Verify that the connection information is correct and that you have permissions to access the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection"
    msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="Cannot">http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'TemporaryDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.SPClient</Source><Message>We
    cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source></Source><Message>We cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source>Microsoft.Office.Excel.Server.WebServices</Source><Message>We
    cannot locate a server to load the workbook Data Model.</Message></MoreInformation></MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices"
    /></detail>
    Kenny_I

    Hi Kenny_I,
    Based on the error message, the issue may be caused by the incorrect configuration of Claims to Windows Token Service (C2WTS). The C2WTS is required because the communication between the web front-end (WFE) and the Reporting Services shared service will
    always be Claims authentication.
    The domain account used by the Claims to Windows Token Service needs to be granted the following rights through the Local Security Policy:
    Act as part of the operating system
    Impersonate a client after authentication
    Log on as a service
    We can find these settings under Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment. And we should add the service account to the local Administrators Groups ahead.
    For more information, please see the following links:
    http://www.codeovereasy.com/2014/01/powerview-report-fails-no-credentials-are-available-in-the-security-package/
    http://msdn.microsoft.com/en-us/library/hh231678.aspx
    Hope this helps.
    Thanks,
    Katherine xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Cannot create links and bookmarks in version 10.1

    I am trying to create links in version 10.1 for an e-book from table of contents. I know you are supposed to highlight words and use the link tool (chain image) however I cannot find this either on the tool bar or under tools. I am using PC.

    Your in the Adobe Reader Forum.
    You've a  good question "thread" for this Acrobat Forum: http://forums.adobe.com/community/acrobat/creating__editing_%26_exporting_pdfs
    Be well...

  • How do I create Fixed-Width Report Regions in APEX?

    Hi
    I would like to create 3 or 4 report regions of uniform fixed-width on a single APEX page.
    How do I go about this?
    Each report varies in the number of columns and the width of columns.
    Thanks
    Kind Regards
    Greg

    Hello,
    Customize your region template by adding width property.

  • Cannot create user defined report

    Guys,
    For an unknown reason, I'm unable to create new reports in some subfolder inside the "User defined report". When I rigth-click on the subfolder, the contextual menu contains only "Copy" and "Paste". But If I'm going to the root folder (User defined report), I'm able to create a new subfolder and new report. I'm even able to create an new report in the subfolder.
    Did you already encounter the same issue and how did you solve it ?
    Thanks

    I vaguely remember someone having issues with user defined report operations, the problem there was solved by changing the user language to English by adding
    AddVMOption -Duser.language=ENto the sqldeveloper.conf file normally located in
    SQLDEVELOPER_INSTALL_DIR/sqldeveloper/binIf you are not already running in English try changing this.

  • Creating link on report elements to get more info

    Hello,
    I have created a data model in BI publisher which integrates two data models one from BI Answser (a query ) and One from source data (a table)
    I have linked an element on the BI Answer data model to the corresponding lement in the source table. to get more information on that data element.
    I want to be able to create a report and click on that data element and get detail information about it. Do you know who I can do this?
    Thanks

    Could be a link to a large PDF that is taking a long time to download. They show up as blank, black windows while downloading, usually with a progress bar.

  • Creating links in repeat regions

    How do I link a downloadable word document in a repeat region displaying information from a database. The word document would be different for each record. Thanks.
    I posted this question 9 hours ago and have not received a reply. I am not sure that you understant my question and so I will try to make it clearer.
    1. I created a database and stored the name of the word document in the cv_name field.
    2. I created a repeat region that displays the name of the word documents in the recordset
    3 All I need to do is to link the name of the word document to the word file in dreamweaver
    4 I highlight the name field, open the property inspector, click the folder icon, set the link to use Data Sources, and select the recordset column that holds the word document name.
    5 However when I click on the file name that is displayed on the website I get an error.
    Thanks for any assistance

    Hi Avci,
    Try this
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD><TITLE>Home</TITLE>
    <META http-equiv=Content-Type content="text/html;
    charset=iso-8859-1">
    <META content="MSHTML 6.00.2800.1458" name=GENERATOR>
    <style>
    .redlnk {
    FONT-SIZE: 9px;
    COLOR: red;
    LINE-HEIGHT: 15px;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none;
    .redlnk:hover{
    FONT-SIZE: 9px;
    COLOR: red;
    LINE-HEIGHT: 15px;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION:underline;
    .bluelnk {
    FONT-SIZE: 9px;
    COLOR: blue;
    LINE-HEIGHT: 15px;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none;
    .bluelnk:hover{
    FONT-SIZE: 9px;
    COLOR: blue;
    LINE-HEIGHT: 15px;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION:underline;
    .greenlnk {
    FONT-SIZE: 9px;
    COLOR: green;
    LINE-HEIGHT: 15px;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none;
    .greenlnk:hover{
    FONT-SIZE: 9px;
    COLOR: green;
    LINE-HEIGHT: 15px;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION:underline;
    </style>
    </HEAD>
    <BODY topmargin="0" leftmargin="0" rightmargin="0" >
    <a class="redlnk" href="red.htm"
    title="red">Red</a>
    <br/>
    <a class="bluelnk" href="blue.htm"
    title="blue">Blue</a>
    <br/>
    <a class="greenlnk" href="green.htm"
    title="green">Green</a>
    </BODY>
    </HTML>
    I hope this helps.
    shanthi

  • Version 3.1 fault - ORA-06502 error when creating SQL Report Region/Page

    I usually perfect my query in SQL*PLUS before I create a new report region.
    Consequently, I copy the code into the region wizard to create the new page. However, since we have upgraded to Version 3.1, virtually every report I have tried to create has created the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    It would appear that a maximum of 960 characters can be used to create the region/page. Perversely, once the page/region has been created, I can then edit the source and include as much code as I want (so far I've not run up against a limit)
    As it's just annoying, but not stopping me doing what I wanted to do, I've not got around to mentioning this error previously, but it occurred to me that I should (so I am!)
    David

    Hi David,
    Thank you for reporting this. Unfortunately, this was a regression introduced in Application Express 3.1. The workaround is to edit the region, as you suggested. This has been filed as Bug 6956070 and will be corrected in the forthcoming Application Express 3.1.1 patch set.
    Joel

  • SQL Query report region that only queries on first load

    Hello all,
    Is there any way in which you can prevent a SQL Query report region from quering data after every refresh?
    I would like to make a report that queries on the first load, but then I would like to change the individual values, and reload to show the change, but every time I reload the page the columns are queried and the original values are displayed once again...
    any ideas?
    -Mux

    Chet,
    I created a header process to create the HTMLDB_COLLECTION. It is something like:
    HTMLDB_COLLECTION.CREATE_COLLECTION_FROM_QUERY(
    p_collection_name => 'Course_Data',
    p_query => 'SELECT DISTINCT COURSE_ID, HTMLDB_ITEM.CHECKBOX(14,COURSE_ID) as "checker", TITLE, SUBJECT, COURSE_NUMB, SECTION, ENROLLED, null as "temp_term", null as "temp_title", null as "temp_crse_id", null as "temp_subj", null as "temp_crse_numb", null as "temp_sect", FROM DB_TBL_A, DB_TBL_B, DB_TBL_C, DB_TBL_D, DB_TBL_E, DB_TBL_F WHERE ...');
    The names were changed, for obvious reasons.
    I then created an SQL Report Region to see if it would work. The SQL is:
    SELECT c001, c002, c003
    FROM htmldb_collections
    WHERE collection_name = 'COURSE_DATA'
    When I run the page it says:
    ORA-20104: create_collection_from_query Error:ORA-20104: create_collection_from_query ExecErr:ORA-01008: not all variables bound
    Any idea why this is happening?
    I'm new to HTMLDB_COLLECTIONS, so I may be doing something wrong
    -Mux

  • Clear data in sql report region on page load....

    I have a sql report region.when i run the page the data getting populate on the screen because of the sql query. On page load i dont want to populate the data in screen.
    i have created the page process to clear cahe the page. but the data is not clearing from the screen.
    How to resolve this?
    Thanks & regards,
    Skud.

    Skud,
    you can create condition in report region query e.g. where 1 = :PXX_ITEM, and populate that item on click and then refresh report.
    Bt,
    Marko

  • How to create Links in a cell  to other Excel docs Cell  in Planning layout

    Hi All,
    I have a requirement to replace an existing forecasting process using normal Excel with BPS with Excel in place. One difficulty I came across is that the existing Excel input template has cells with links to many other excel files so users does not to open all other Excel documents and copy and paste the figures in.
    I am stuck on replicate this function in BPS as I cannot create links to to other  Excel directly in a cell in BPS Excel layout. My initial idea is to create a Macro to copy the data across but in deeper thought this might not be the best solution as the number of excel link can be a lot and the name and location of these files might change quite frequently and I cannot hard code it in the macro..
    Any ideas?
    Thanks.

    Hi Marc,
    The reason to use BPS is once the data is in the layout, we need to run the data in a  true forecast / simulation model (i.e. compare actuals, copy data between differnt planning versions, Foreign Exchange rate planning , allocation, revaluation, etc...) on a different hierarchy level.
    The problem is the starting point data is scattered in lots of other Excel file from local drives from different users. I guess this is the same reason why the csv file upload technique exist, (i.e. to load data to the layout )but in my case the data location needed to be very dynamic and comes from large / different source of data.
    I have now developed a solution to reference data from cells in different Excel sheet to the layout. Once set up, it should be able to save users significant amount of time to bring the base data into the layout, especially if their data is source from many ither Excel files.
    Regards,
    Danny

Maybe you are looking for