I have a table with a list of some items. The items are the titles of the pages which are displayed in siteadmin. E.g. my items in the table are showed like this
A
C
D
F
G
But at siteadmin they are displayed the following way:
D
C
G
F
A
The task is to keep the order of the items in the table like the order of those in the siteadmin. Going back to the example I want the order of items in the table to be like this:
D
C
G
F
A
Is that possible to do it with the QueryBuilder?
Thanx in advance
By default the pages in site admin are ordered by date of creation. try ordering the result of your query by created date.Check out the link below
ADOBE CQ5 JCR - How to orderby/sorting query builder result using node's property
The order in which the site admin shows the pages can be modified by the user by clicking on the Column headings in site admin.
Related
Is it possible to filter the data shared between panels in Grafana?
Let's say I would query all the columns in the first panel with:
SELECT time, A, B, C, D FROM "table"
And in a second panel, I would like to show only A end B, how can I filter that columns?
Thanks!
Add transformation (e. g. Organize fields) and hide fields, which you don't need - it is not a "filtering", but field hiding.
I have a SharePoint list that tracks the Form result. If user selects > 1 item, the list will be shown as below.
Is it possible to generate 2 separate rows of information in SharePoint instead of showing them together as 1 long list? That would allow me to indicate different status for different request.
The Final Result should be like
Name of BI Application | Qlikview
Qlikview, GPR Dashboard
Qlikview, Sales Dashboard
Qlikview, GPR Dashboard
No Column will have more than 1 choice of item
You can create a few conditions and check if it contains certain text. In your example, you would initialize a boolean variable called "GPRDashboard" and the value would be something like:
#{contains(outputs('Get_response_details')?['body/rd27f91c7ca5fl193546cc81c3131995e'], 'GPR Dashboard')}
and then create another variable "SalesDashboard" and do the same thing
#{contains(outputs('Get_response_details')?['body/rd27f91c7ca5fl193546cc81c3131995e'], 'Sales Dashboard')}
and repeat this for every option you have. Then you can create some nested IF conditions like the screenshots below.
I hope you are very well.
Currently I am developing a report be means of Jasper Reports and Java, for doing it I am using two groups, to group the elements of the data source.
DataSoruce returned by the database has the follows structure (it has two columns):
Group 1 | SubGroup A
Group 2 | SubGroup A
I am showing the result in the jasper file with the follows way:
->Group 1
SubGroup A
->Group 2
SubGroup A
Like you can see, there are two groups: Group 1 and 2, and each group has a subgroup, for this example is the same subgroup (SubGroup A).
Every groups were configurated for appearing in the Toc (table of contents report). I used iReport tool, and configured each group to has a Hiperlink and a Bookmark Level. (Groups with 1 Bookmark level and SubGroups with 2 Bookmark level).
Every works fine, the TOC appears correctly and when I select one element in TOC index, the document arrived me to correspondent page, however there is a problem, when the name of Group, or SubGrups, is the same each other (it has already appeared in the TOC, its name is duplicated), the Pdf file does not arrived correct page, takes me to the first page they have that title.
Does someone know how can I solve this problem.
Thanks for your help.
I was able to solve the problem.
1.- I created an variable RANDOM with the expression:
new Random().nextInt(1000)
2.- In the Anchor Name Expression I have called the variable RANDOM and behind it I wrote an *.
$F{TITLE} + "* " + $V{RANDOM}
3.- In the TOC report I added the follows expression each $F{label}, like this:
( $F{label}.contains("*") ? $F{label}.substring( 0, $F{label}.indexOf("*" )) : $F{label} )
And it is all, each title will be a unique name and the index will have the link correct for each page.
I am creating a graph in crystal report which displays values of 15 categories.
But I want to make it user define graph.
User of my application choose no. of category he wants. as per this condition i want to change my graph.
I am able to display all category in a graph.
Now I want to pass multiple category to a stored procedure and retrieve result and show it into graph.
I am sending Categories in string variable with comma
string abc = 'a,b,c'
Now I want to separate a b c and compare it with one column. and get the data n display the graph of category a, b, c
create a Dynamic parameter in crystal reports to list all those categories. Enable multiple values, so the user can select the ones he/she wants to show on the report and under record selection formula you will write {your field} in ?your parameter.
I have using Cross Tab in my report. The column is the Activities. The rows is the user name. The row will show the number of time the user attend those activities. How i can create a top N to show which activities has the most attendance? Please help.
Thanks
If you want to leave the Cross-Tab you have alone, then my suggestion would be to just add another Cross-Tab to the same report section that only has every activity summarized by row as counts of attendees. You could then restrict that CT to only show the Top-2 activities (By going to Group Sort Expert -> Sort by Top N -> N=2). You could even suppress the fields you don't want to show and hide the grid lines so that only the top 2 activities are actually spelled out.
An alternative is to pivot your original CT so that each row was an activity instead of a user, and then sort by the attendance in descending order. This would make it obvious which activities were the top 2.