How can i use a common header in Cognos among many report pages? - report

I have a Cognos report and i have created 3 pages and 1 common prompt page. According to a radio selection in the prompt page i show the appropriate among these 3 pages.
In each page i have a block that is the header and there i just show title, current date and the selected values of the prompt controls (parameter values).
This header is the same among all pages and i want to find a way to create only 1 header section and then assign it on the top of each page. So if later i want to change anything in the header i will do it in one place.
Any ideas?

Re-using parts of a report (either from the report or other report in Cognos Connection) can be achieved with the help of layout component refenrences which are inserted into your report page and which refer to other existing components.
To use them proceed as follows:
Indentify the layout component(s) to be re-used (e.g. a table or a text or more or less anything less).
In the property list of that component go to the name and give it a unique name.
In the report page that is supposed to re-use the component drag an instance of the layout component reference to the appropriate location in the page.
Specify the target of the reference by choosing the report and within the report the named component (same name as given above).
Example
A block component (which could be incorporated into a header) is to be re-used. Give the block a name, e.g. my_block:
From the toolbox drag the layout component reference
to the report page. A dialog box opens which permits choosing the target component:

Related

Dynamically adding or deleting widgets in google-app-maker

I am trying to develop an interface that binds to a complex backend model. What I need is a way for scripting to enable me to have a page load different page fragments based on what list row a user clicks on. As an example, on the left side of the page there would be a vertical list displaying different sections in a large assessment 'document' (mental health assessment) (each section would be it's own data model [e.g. presenting problems family history, trauma history, etc...). In the main section of the page to the right, you would have room for a page fragment or some type of container that would contain the actual page or page fragments associated with each section listed in the list on the left. When you click on the section name in the list to the left, scripting would be able to have the correct page fragment or page loaded inside the container.
The data model needs to be this complex because there are multiple types of "documents' and the system needs to be able to dynamically load a list of document sections and allow the user to load the form for each section type.
THIS IS FROM Markus Malessa: The dynamic page content is definitely possible, however since it sounds like a lot of your items are going to be based on hard data, the models really are not dynamic, so you really can't build in dynamic data at run time for example. Rather than visible/invisible properties I might suggest navigating to different pages instead and maybe having many-to-many relations to your list item and if your list item has OldFamilyHistory and NewFamilyHistory data relations incorporate a popup to select which page you may want to navigate to.

Changing the function of dynamic links in info parts

I am trying to let an info part's dynamic link work so that it only opens the queried values in a list on the new form.
Basically now, if i click Installation No. on the form part below.
Then this form opens up with all the Installations, not only the related Installations.
What i want to happen is when the Installation No is clicked then the list should look like when the "more" button is clicked or like the image below.
It seems like this is the standard function but i want to know if there is a way to change it.
Does anyone know a solution to this or know if there is any?
Dynamic links should work on info part forms provided prerequisites are met:
A data relationship exists between two tables, usually as one-to-many (one parent row relates to many child rows).
Each table has a field of the same extended data type.
In the parent table, the extended data type field values uniquely identify each row.
The extended data type has a relation defined on it for the field in the parent table.
Each table is a data source for one of the two forms.
The parent form contains a button that launches the child form.

Transfering variable from one page to antother page containing HTML area same component in people code

I amd new in people code , creating one application in which we need to transfer variable from one peoplecode page to antother page containing HTML area. When i am trying to do the same i am getting blank page.
You don't need to transfer variable values from one peoplecode event (e.g. page1.activate) to another (e.g. page2.activate).
First and better solution: Assign your html area object to a component record field and you can access its value within context of your component.
Another solution: Declare a variable at component level

Edit static grouped table view with multiple sections in Xcode Storyboard

In XCode storyboard, it is possible to Edit the cells in table view if it's static. Is it possible to enter multiple section of data (that is in group view multiple groups) right under Storyboard, or do I need to use the data source delegate instead?
I'm not sure if I quite understand the question, but if you're asking if you can do everything in Interface Builder, the answer is yes. After you've set the table content to 'static cells' in the Attribute Inspector, set the number of sections to the number of data sections you want, then modify each section by selecting the section, changing the header, footer, and number of rows. You can also quickly edit the header by double-clicking on it.
Each row in the section can be modified in the same way.

Can I Only Export the visible items in a DevExpress Grid

We have data using DevExpress Grid on a web application, and the users are asking to only export the visible data from the page. At the moment, if we do an export, it exports everything from the grid, whether it is shown on the current page, or on a future page (200 items, 20 pages, showing only page 4, we export everything).
We are using the WritePdfToResponse (if its a PDF file as an example) and tried using the PdfExportOptions PageRange, but it seems to only work for Pages of the PDF file, not the data... For example, if there are 200 items to display, on the site it shows as 20 pages, but in PDF, it shows up as 4 or 5 pages. If we want only page 4, we get page 4 of the PDF, not of the site... Can this be done? Ideally, for PDF, CVS, RTF and XSL...
The grid exporter exports the entire data from the ASPxGridView control. However, if you temporarily bind the grid to a visible page only, and then export it, you will get the same result.
For example, you can get the grid's page index to determine what user sees on the screen and that fetch these records from the datasource.
I assume that you can select required range of rows and set the ExportedRowType property of the ASPxGridViewExporter to Selected.
Please also review the following help topics:
- Export Overview
- Selection

Resources