How to perform cross navigation with SpagoBI - spagobi

i've selected a column name of a table and have created the hyperlink using javascript:
"javascript:parent.execCrossNavigation(this.name.'child_report','pclass'="+row("class")+");" ,
where 'child_report' is chid document which must appear when hyperlink in master report is clicked, pclass is some parameter, class is the column name in master report document. But, when i run this master report in spagoBI, it's not showing hyperlink. Can anyone give me the suggestion?

This should be the format should be as shown
Ensure you have the hyperlink type as "URI"
"javascript:parent.execCrossNavigation(this.name,'child_report','pclass="+row["class"]+");"
Happy reporting ;)

Related

Oracle Apex 19.2 - Create Radio Buttons in Classic Report

Is there a good visual tutorial that takes through the various steps on how to create radio buttons in Apex 19.2? This tutorial Creating a Classic Report having radio button on each row helped me and I’m looking for a similar one..
In my case, I would like to add a radio button to each row of my classic report which when selected would add some of the informations selected by the radio button in a text field in the same page.
Any advice is much appreciated.
Thank you
Install Sample Reporting application on your APEX instance (preferably on apex.oracle.com as Dan suggested).
Navigate to the Classic Report page.
Change the query to the report to the following:
select rowid,
ID,
PROJECT,
TASK_NAME,
START_DATE,
END_DATE,
STATUS,
ASSIGNED_TO,
COST,
BUDGET,
apex_item.radiogroup(1,TASK_NAME) ACTION
from EBA_DEMO_IR_PROJECTS
where (nvl(:P3_STATUS,'0') = '0' or :P3_STATUS = status)
Note the added column "ACTION" which consists of the apex_item.radiogroup with TASK_NAME value. Let's assume that this is the value that you want to pass to another page item.
Open that column's attribute under Page Designer and disable "Escape special characters" attribute and add a CSS Class (e.g. mycolumn)
Create a Page Item (e.g. P3_NEW).
Now add the following Dynamic Action
Event > Click
Selection Type > jQuery Selector
jQuery Selector > #classic_report .mycolumn input
Your true action will be of the type Set Value and the Set Type is JavaScript Expression with the following code:
this.triggeringElement.value
Your affected element is P3_NEW and disable Fire on Initialization

Hyperlink in Oracle Reports (.RDF) Content using Oracle Report Builder

I am not sure if this is the correct forum to ask this question,
I am currently creating an oracle report (.RDF) using Oracle Report Builder and my client wants me to place hyperlinks in the content instead of putting URL in the content.
This report is going to be generated as PDF.
My current sentence looks like
Click here (http://international.usp.ac.fj/?page_id=114) to see USP
member countries.
The URL automatically converts to hyperlink in the above sentence.
What my client wants:
Click here to see USP member countries.
I tried to look for an option where I can use HTML <a> tag.
I would like to know if there is a way to include hyperlinks in Oracle Reports.
Thanks
What you could in order to achieve this is, select property inspector of item you would like to have hyperlink and choose Hyperlink.
Also choose Yes for Contains HTML Tags.
Format for passing dynamic values in URL is
http://www.google.com?pid=&DEPTNO where DEPTNO is the value in report.
Update
This is what I did to achieve your expected output, you could modify based on your requirements
Created sql query for the source
select 'Click here' txt from dual
Select Property Inspector for the field
Added link in Hyperlink property and selected Yes in Contains
HTML Tags
To see the output, generate report as PDF or run report in web
browser.
Hope this helps.

SSRS Page footer does not display the correct information after the first page

I am working on a SSRS report for SQL 2005 in Visual Studio 2005 and I need to include information in the page footers from a dataset. I followed the information in the following Microsoft article http://technet.microsoft.com/en-us/library/ms159677(v=sql.90).aspx
I setup several hidden textboxes in the body of the report to hold the aggregated dataset information I need. I then reference those textboxes in the page footer of my report.
The page footer on the first page is correct but on the rest of the report pages the text boxes are not getting the information. In my situation, I am getting the user id and date from a dataset and trying to display it on each report page in the footer.
More details:
In the first hidden textbox (lblDatetime) in the body I get the value from the dataset like the following:
=First(Fields!Date.Value, "headerData1")
In the second hidden textbox (lblUserID) in the body I get the value from the dataset like the following:
=First(Fields!UserID.Value, "headerData1")
I then reference the first textbox in the footer using the following:
=First(ReportItems!lblUserID.Value)
I then reference the second textbox in the footer using the following:
=FormatDateTime(First(ReportItems!lblDateTime.Value),DateFormat.ShortDate)
=FormatDateTime(First(ReportItems!lblDateTime.Value),DateFormat.LongTime)
I tried aggregating the dataset directly in the footer but this is not possible and causes errors.
I came up with a different solution to the one suggested in the article.
Instead of adding hidden textboxes to my body, I created two global hidden parameters. I set the default value using the "From Query" for those parameters to the datasets I needed. I then referenced those two new global parameters instead of the textboxes.
This fixed my issue.

Access the title of a birt report in the master page

I am new to birt and working with a report that has a master page. the inner report has a title property displayed in the XML as:
<text-property name="title"> title here.</text-property>
I want to access this value which will be different in every inner report and display it in the master page. I cant figure out how to access this value.
Got this answer from a co-worker:
reportContext.getDesignHandle().getProperty("title")

How to apply filter/specific criteria for browser UI component in Exact Synergy Enterprise?

I am creating a maintenance page where I want to select a task using browser UI component. What I want to do specifically is to filter and show only tasks that are not done yet. Can I implement this using browser UI component? Does Exact Synergy Enterprise offer other components for this functionality?
You should create your browser Repository Explorer and use it in browsefield UI component.
Go to System tab, process to Setup tab and under the Repository section click Explorer. Locate your Repository group, enter it, click Browsers tab next to Business components, Functional components, etc.
Click Add and provide Name, Caption, Caption suffix fields. Then write your SQL query in Query field. The structure is:
SELECT <column(s)> FROM <database table> WHERE <column(s)> IS NOT NULL ORDER BY <column>.
Leave the Column info field empty for now. Fill in the Result columns field with column name which will be used as a Browser component result.
Finally, add database table name in the Table list field. Click Save + Edit column info button. Edit column names from a list shown below Information section and fill in Header/Term ID field with title, describing your columns (this will be shown in Browser UI for the front-end user). Click Save and test your newly created browser. If something went wrong, repeat steps from the start. Most of the time problem could be wrongly filled Column info field.
Now go to your ASPX page and add browsername attribute to your browsefield UI component. Doing so will set the browserfield component to your newly created browser component. This is that you want to see in your maintenance page when setting up the browsefield UI component:
<ex:cardfield runat="server" id="cf" caption="Item" captionid="0">
<ex:browsefield runat="server" id="p" browsername="pbr" datasource="bc" />
</ex:cardfield>
Hope this gives you quick idea of what you need to do in order to adjust it to your situation with tasks.

Resources