Function to find the number of lines to display by the foreach loop?
Hi allIs it possible to find the number of lines to display per the foreach loop in the rtf model?
We need to get the number of rows without using the count() in the xml file.
We do some calculations based on the count in the rtf model.
Thanks in advance
Paste your file xml here, patients show us how count.
You can count the number of lines.
use
Tags: Business Intelligence
Similar Questions
-
1 - where is the search function to find the authors muse a list?
1 - where is the search function to find the authors muse a list?
Hello
Regarding your first question of the creation of a search box in your site from muse, please see this forum post:- Re: how to create a search box in MUSE?
In addition, you can use different widgets available on Adobe Exchange .
Now, regarding your second please can question of the creation of a bulleted in Muse, you these tutorials:
Adobe help Muse | Bullets and numbers
Bullets and lists numbers | Adobe Muse CC tutorials
Now, it seems that the Muse version you are using is obsolete and it is possible that you might not find these features in it. I would ask update you your Muse to the latest version 2014.2 using the CC desktop application to take advantage of all these features. Please refer to this screenshot:- http://prntscr.com/55uvs9
Hope this helps
Kind regards
Rohit Nair
-
Oracle Spatial function to find the closest channel line according to lat/long
Hello
Here's my scenario. I have a table that contains the geometries of type line (road network) channels. The line geomteries are of type Ohio state South (SRID 41104) plan.
I have a requirement - given a lat/long, find the string line that aligns with this lat/long or the nearest set of strings of line at 0.02 miles.
It is a typical example of an attempt to identify an accident on our road network situation. Accidents reported us in lat/long through the GPS system.
How can I achieve this through any space function?
Thanks for the help in advance.
Thank you
L.Hello L,
SELECT r.
FROM roadsegments r WHERE SDO_NN(r.geometry, sdo_geometry(2001, 41104, sdo_point_type(lat,lon,NULL), NULL, NULL), 'sdo_num_res=2 distance=0.02 unit=mile') = 'TRUE'; This will give you the two segments of road nearest you at 0.02 miles. See [url http://docs.oracle.com/cd/E11882_01/appdev.112/e11830/sdo_operat.htm#i78067] documentation on the operator SDO_NN, especially the bit about the use of the index indicator.
HTH,
Stefan -
Function to find the name of the nth month [V 10 g]
Hi Experts,
Please, help me find the name of Nth last month [months].
Simply use a variable?
SQL > n number of var
SQL > exec: n: = 3PL/SQL procedure successfully completed.
SQL > select to_char (add_months (sysdate,: n), 'Month') twice;
TO_CHAR (ADD_MONTHS (SYSDATE,: N), 'MOUNT)
------------------------------------
December1 selected line.
SQL > exec: n: = - 1
PL/SQL procedure successfully completed.
SQL > select to_char (add_months (sysdate,: n), 'Month') twice;
TO_CHAR (ADD_MONTHS (SYSDATE,: N), 'MOUNT)
------------------------------------
August1 selected line.
SQL > exec: n: = 1658
PL/SQL procedure successfully completed.
SQL > select to_char (add_months (sysdate,: n), 'Month') twice;
TO_CHAR (ADD_MONTHS (SYSDATE,: N), 'MOUNT)
------------------------------------
November1 selected line.
-
Function to find the County of ocurrances of an XML tag in developer j
Hi all
I need to find the number of xml tag that appears more than once in an xml load.
I have not found any function in bpel in doing so. I use the developer of j 11.1.1.5.0 and SOA Composite editor version 11.1.1.5.0.01.74 version
Is there any function in Bpel giving as the number of occurrence of an element in a payload?
Kindy suggerez_ me on this.Hello
You must use the ora:countNodes () function.
For example:
Ora:countNodes('inputVariable','payload','/client:GetData/client:input')Arik
-
Is it possible to change the number of lines to display in the query of the adf?
Hello
is it possible to change the number of lines that appear in a query of the adf that is similar to a form of the adf?
I need about 5 lines per column rather than display all the fields in a single column to display? Thank you.
Hello
What do you mean that it didn't work? Attributes of how you have in the Panel of the query? Maybe you have fewer number than the combination or lines and the properties of the argument maxColumns attributes.
Try again with
and see if you are able to get everything under a single column. If you get, play with these two properties to get the desired result.
Arun-
-
How to put a line inside the foreach loop number
Hello
I work in a nutshell, model, and I have a foreach loop. For each row of data, I would like to put a line at the beginning of the line number, i.e., 1,2,3,4, etc.
How can I do this in Word?
Thank youuse
-
Any function to find the difference?
Hi all
Rtf model we are performing manual calculations.
We need to find the difference between two values.
Is there a function that is used to find the difference between the two values in rtf model?
Pointers on the same are appreciatableUse absolute funcion.
-
BPEL 2.0: assessment of the values of node in the forEach loop
[With the help of BPEL 2.0, SOA Suite 11 (11.1.1.6.0) Linux Virtual Box on Windows 7]
It seems like it should be pretty simple, but for some reason that is eluding me. I run a database query to return a list of nodes in the network in a system. then I execute a forEach income statement using a number of XML nodes as a limit of loop. It all works very well.
That is the problem. now, I'm just (?) try to assign the value of the current node UID in the loop to a local variable, using concat and the loop index. Thus, the value should be something like "401" or "523". However, what I actually get back is concatenated XPath itself, as well as the iteration of the loop, my variable is as follows:
[< currentNetworkNodeID xsi: type = "def:string" > $networkNodesOutputVariable.ExecutionNetworkNodeCollection/ns6:ExecutionNetworkNode/ns6:executionNetworkNodeUid[1] < / currentNetworkNodeID >
...
[< currentNetworkNodeID xsi: type = "def:string" > $networkNodesOutputVariable.ExecutionNetworkNodeCollection/ns6:ExecutionNetworkNode/ns6:executionNetworkNodeUid[2] < / currentNetworkNodeID >
etc...
I tried to reach "/ text()" to the end, using ora:getNodeValue (...), etc., but nothing I tried to will give me my value of the current node. If I just use "$networkNodesOutputVariable.ExecutionNetworkNodeCollection/ns6:ExecutionNetworkNode/ns6:executionNetworkNodeUid", I get an error of multiple selection, as expected, because there is always more than one executionNetworkNodeUid.
How I can truly assess these XPath expressions to assign the node real value to my variable...? I can do this in a simple entitled, as I'm doing, or what I have to use a transformation...?
Here is the code:
< parallel forEach = "" counterName = "nodeCounter."
name = "forEachNetworkNode" >
< startCounterValue > 1 < / startCounterValue >
< finalCounterValue > count($networkNodesOutputVariable.ExecutionNetworkNodeCollection/ns6:ExecutionNetworkNode) < / finalCounterValue >
< name of scope = "Scope1" >
< variables >
< variable name = "currentNetworkNodeID" type = "xsd: String" / >
< / variables >
< name of sequence = sequence of '1' >
< assign the name = "assignCurrentNodeID" >
< copy >
([< to > concat('$networkNodesOutputVariable.ExecutionNetworkNodeCollection/ns6:ExecutionNetworkNode/ns6:executionNetworkNodeUid[',$nodeCounter,'] ') < / from >
< to > $currentNetworkNodeID < /pour >
< / copy >
< / assign >
< / sequence >
< / scope >
< / forEach >
Edited by: rhoward on April 3, 2013 15:08Should not just $networkNodesOutputVariable.ExecutionNetworkNodeCollection/ns6:ExecutionNetworkNode/ns6:executionNetworkNodeUid[$nodeCounter] without using concat?
Hruthayah
-
How to get the value selected inside the forEach loop
Hello
I have foreach loop with a link inside command. It looks like in below:
* < af:forEach items = "#{PagingBean.pages}" var = "item" > * "
* < text af:commandLink = ' #{point} "id ="cl1. "
* actionListener = "#{PagingBean.pageLinkClicked}" / > * "
* < af:spacer width = "10" height = "10" id = "s1" / > *.
* < / af:forEach > *.
where PagingBean.pages is an array of integers.
Now the links look like this * 1 2 3 4 5 * I want to get the value of the clicked link.
Anyone please help me to get the value of commandlinks clicked in the beanHello
How about the text in the actionListener for the clicked commandLink and process accordingly?
Ex:
public void pageLinkClicked(ActionEvent actionEvent) { // Add event code here... System.out.println(((RichCommandLink)actionEvent.getSource()).getText()); }
Arun-
-
How to increase the number of lines to display in the OBIEE answers-dashboard page?
Hi all
I have problem in export of my reports. I need my report to export to PDF or EXCEL format. My report contains more than 1,200 lines. But when I export the report in PDF format, it contains only 500 lines, for the rest of the lines, I have to scroll down and again I need to export to obtain the content of 501 to 1000.
Is it possible to change any property, can I export entire lines of 1200 + EXCEL or PDF? Pls someone shed light on this question.
Thanks in advance
Stephanie.Hello
D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfig. XML
before takeoff he you upward and then update the code below...
6500000
100
1000
65000
25
500
75
65000
fake
6500000
1000
65000
25
500
75
65000
Finally re start all services, and then try again... here his works very well...
Thank you
Deva
-
The search function will find the content of the banner?
I see that the search only works with items and NO banners and collections. It will be something that will be added to collections or banners.
(1) is currently only to objects.
(2) Yes, at one time given, it can be extended, but there is no time horizon clear for when and if it will happen.
-
I have the table names in the list box to check if the same tables has same columns. For example
listBox3 is the name of the EMPLOYEE table that my request must verify if the EMPLOYEE table has different columns.
This query working as for example: table Employee UserA and UserB has Employee table too. After comparing the time user Employee table I get the altar of statements about richTextBox1.
Depends on my EMPLOYEE table, I guess only to see the result as below;
ALTER table EMPLOYEE add DESCRIPTION VARCHAR2 (15);
ALTER table EMPLOYEE add CITY VARCHAR2 (10);
but only seeing:
ALTER table EMPLOYEE add DESCRIPTION VARCHAR2 (15);
foreach (string Items in listBox3.Items)
{
using (OracleCommand crtCommand = new OracleCommand("with src as(select src.table_name src_table_name, src.column_name src_col_name, src.data_type src_data_type, src.data_length src_data_len, src.data_precision src_data_precision, src.data_scale src_data_scale, src.nullable src_nullable,decode(T.Constraint_Type,'P', 'Primary Key','U','Unique','') as src_cons from all_tab_columns src left join (select Cc.Column_Name,Uc.Constraint_Type from user_cons_columns cc, user_constraints uc where Cc.Constraint_Name = Uc.Constraint_Name and Cc.Table_Name = Uc.Table_Name) t on T.Column_Name = Src.Column_Name where table_name = '" + Items + "' and owner='" + txtSrcUserID.Text + "'), tgt as(select tgt.table_name tgt_table_name, tgt.column_name tgt_col_name, tgt.data_type tgt_data_type, tgt.data_length tgt_data_len, tgt.data_precision tgt_data_precision, tgt.data_scale tgt_data_scale, tgt.nullable tgt_nullable, decode(T.Constraint_Type,'P', 'Primary Key','U','Unique','') as tgt_cons from all_tab_columns tgt left join (select Cc.Column_Name,Uc.Constraint_Type from user_cons_columns cc, user_constraints uc where Cc.Constraint_Name = Uc.Constraint_Name and Cc.Table_Name = Uc.Table_Name) t on T.Column_Name = tgt.Column_Name where table_name = '"+Items+"' and owner='" + txtDesUserID.Text + "'), col_details as(select src.src_table_name, nvl(tgt.tgt_table_name, first_value(tgt_table_name) over(order by tgt_table_name nulls last)) tgt_table_name, src.src_col_name, src.src_data_type, src.src_data_len, src.src_data_precision, src.src_data_scale, src.src_nullable,src_cons, tgt.tgt_col_name, tgt.tgt_data_type, tgt.tgt_data_len, tgt.tgt_data_precision, tgt.tgt_data_scale, tgt.tgt_nullable,tgt_cons from src full outer join tgt on (src.src_col_name = tgt.tgt_col_name))select * from (select case when tgt_data_type != src_data_type or tgt_data_len != src_data_len or tgt_data_precision != src_data_precision or tgt_data_scale != src_data_scale or tgt_nullable != src_nullable then 'alter table ' || tgt_table_name || ' modify ' || tgt_col_name || ' ' || src_data_type || ' ' || case when src_data_type in ('DATE') then null else case when src_data_type in ('VARCHAR', 'VARCHAR2') then ' (' ||nvl(to_char(src_data_len), ' ') || ') 'else decode(nvl(src_data_precision, -1), -1, null, nvl(to_char(src_data_precision), ' ') || ', ' || nvl(to_char(src_data_scale), ' ') || ')') end end || case when tgt_nullable = 'Y' then ' null ' else ' not null ' end || tgt_cons when tgt_col_name is null then 'alter table ' || tgt_table_name || ' add ' || src_col_name || ' ' || ' ' || ' ' || src_data_type || ' ' || case when src_data_type in ('DATE') then null else case when src_data_type in ('VARCHAR', 'VARCHAR2')then '('|| nvl(to_char(src_data_len), ' ') || ') ' else decode(nvl(src_data_precision, -1), -1, null, nvl(to_char(src_data_precision), ' ') || ', ' || nvl(to_char(src_data_scale), ' ') || ')')end end || tgt_cons when src_col_name is null then 'alter table '|| tgt_table_name ||' drop '||tgt_col_name end alter_statement from col_details) where alter_statement is not null", conn1))
{
var result = crtCommand.ExecuteScalar();
if (result != null)
{
richTextBox1.AppendText(Environment.NewLine);
richTextBox1.AppendText(result.ToString() + ";");
richTextBox1.AppendText(Environment.NewLine);
}
else
{
continue;
}
}
}This is the same query:
with the CBC as
(
Select src.table_name src_table_name, src.column_name src_col_name, src.data_type src_data_type, src.data_length src_data_len, src.data_precision src_data_precision, src.data_scale src_data_scale,
CBC. Nullable src_nullable, decode (T.Constraint_Type, 'P', 'Primary Key', 'U', 'Unique', ") as src_cons
all_tab_columns CBC
left join (select Cc.Column_Name, Uc.Constraint_Type
of user_cons_columns cc, uc user_constraints
where Cc.Constraint_Name = Uc.Constraint_Name
and Cc.Table_Name = Uc.Table_Name) t
on T.Column_Name = Src.Column_Name
where table_name = ' EMPLOYEE worker ' and owner = "ERHAN"
),
As TGT
(
Select tgt.table_name tgt_table_name, tgt.column_name tgt_col_name, tgt.data_type tgt_data_type, tgt.data_length tgt_data_len,
TGT.data_precision tgt_data_precision, tgt.data_scale tgt_data_scale, tgt.nullable tgt_nullable,
Decode (T.Constraint_Type, 'P', 'Primary Key', 'U', 'Unique', ") as tgt_cons
from all_tab_columns tgt
left join (select Cc.Column_Name, Uc.Constraint_Type
of user_cons_columns cc, uc user_constraints
where Cc.Constraint_Name = Uc.Constraint_Name
and Cc.Table_Name = Uc.Table_Name) t
on T.Column_Name = TGT. Column_Name
where table_name = 'EMPLOYEE' and owner = "SARIGUL"
),
col_details as
(
Select src.src_table_name, nvl (tgt.tgt_table_name, first_value (tgt_table_name) more (order of nulls last tgt_table_name)) tgt_table_name;
SRC.src_col_name, src.src_data_type, src.src_data_len, src.src_data_precision, src.src_data_scale, src.src_nullable, src_cons,
TGT.tgt_col_name, tgt.tgt_data_type, tgt.tgt_data_len, tgt.tgt_data_precision, tgt.tgt_data_scale, tgt.tgt_nullable, tgt_cons
the CBC
outer join full tgt
on)
SRC.src_col_name = tgt.tgt_col_name
)
)
Select *.
BeO
Select the case sensitive option
When tgt_data_type! = src_data_type or tgt_data_len! = src_data_len or tgt_data_precision! = src_data_precision or tgt_data_scale! = src_data_scale or tgt_nullable! = src_nullable
then 'alter table ' | tgt_table_name | 'Edit ' | tgt_col_name | ' ' || src_data_type | ' ' ||
-case when src_data_type null ('DATE') then
on the other
case
When src_data_type in ('VARCHAR', 'VARCHAR2')
then ' (' |) NVL (to_char (src_data_len), ' ') | ') '
otherwise decode (nvl (src_data_precision-1),-1, null, nvl (to_char (src_data_precision), ' ') |) ', ' || NVL (to_char (src_data_scale), ' ') | ')')
end
end
||
cases where tgt_nullable = 'Y' then 'null '.
of another end 'not null '.
|| tgt_cons
When tgt_col_name is null
then 'alter table ' | tgt_table_name | 'Add ' | src_col_name | ' ' || ' ' || ' ' || src_data_type | ' ' ||
-case when src_data_type null ('DATE') then
on the other
case
When src_data_type in ('VARCHAR', 'VARCHAR2')
then ' ('| nvl (to_char (src_data_len), ' ') |) ') '
otherwise decode (nvl (src_data_precision-1),-1, null, nvl (to_char (src_data_precision), ' ') |) ', ' || NVL (to_char (src_data_scale), ' ') | ')')
end
end
|| tgt_cons
When src_col_name is null
then 'alter table' | tgt_table_name: ' drop '. tgt_col_name
end alter_statement
of col_details
)
where alter_statement is not null;
After reading the post, I could not understand if you mean that the problem is with your query or the code displays the result on your UI.
The query returns a correct result when it is run on SQL Prompt?
If this is the case, then perhaps problem exists with your logic to assign variables. Maybe, you need a loop in the set of results rather that by assigning them once. Or maybe not, because I do not know what language you are using.
var result = crtCommand.ExecuteScalar(); if (result != null) { richTextBox1.AppendText(Environment.NewLine); richTextBox1.AppendText(result.ToString() + ";"); richTextBox1.AppendText(Environment.NewLine); } else { continue; }
If you say, there is problem with the query, it's a good place to ask your question, but you must provide the Table definitions that can be replicated.
If the query works fine, then maybe consider posting this question at an appropriate forum (c#).
-
BI Publisher - how to display the number of lines displayed at the bottom of the table on each page
Hello
We are the conversion reports Actuate BEEP and not able to understand how to view "Accum.Total = < n >" at the bottom of each page. In the attached report to operate it, "Accum.Total = < n >" must be displayed at the bottom of each page where < n > is the number of lines displayed on the current page and previous page.
For example, if there are 10 rows in the result set, if the 1st page displays 4 rows, 2nd page displays 3 rows and 3rd page is 3 lines and then Accum.Total = 4 on page 1, Accum.Total = 7 on page 2 and Accum.Total = 10 on page 3.
Note that we use the property table "allow the lines to break Pages = False" as we do not want a specific line can be split across pages.
I enclose a sample of report actuate, rtf, BEEP and XML report for testing file.
Approach used so far-
1 > I tried to put the counter in the footer, but it seems that only the fields that come directly from the IC can be used on the header/footer. No matter what form text field or variables defined in the report.
2 > I used approach given in the link below. Using this approach, I am able to view a coded value hard at the bottom of every page (just below the table) but his does not work for the variable (in my case the counter c1).
https://blogs.oracle.com/xmlpublisher/entry/continued
3 > on Google, I found a few articles on the page break conditionally as display only certain numbers on a page or the page by section break but in our case, its dynamics and its number of lines to display on a page is driven by data, so I could not think of a certain condition to use in "Condition." ": If" for use as a page break.
Thank youRicha
Watch see the-Report
http://docs.Oracle.com/CD/E28280_01/bi.1111/e22254/create_rtf_tmpl.htm#do_bf_cf
Download the https://blogs.oracle.com/xmlpublisher/entry/continued sample
Add
<>
name = "contd_footer".
format = "99G999G999" / >
After the field "Footer."
If need to use a footer to display the meter then and sous-modèle with code above and call it in footer
-
form table - displays the number of lines using LOV static
Hello
I have a report in table form, in that I want to display the number of lines.
For this I created a static LOVfor no lines and transmitted a list of values say 10; 25.50; 10,25 and 50... 1000; 1000
but my question is that how can I display all the lines in the tabular presentation using the static lov (as having one of the values in LOV like ALL for the number of lines to display).
can someone help me with this.1000; 1000... ALL; 9999999999
Maybe you are looking for
-
320N crashes when you try to transfer data via wifi
I have the 320N and I am very frusterated. I would just take it, but I bought it new on Amazon.com, which means I have to pay shipping because I threw away the box and the return shipping of RMA form! I don't even know if Amazon bring it back witho
-
Problems when creating extension using pim contact webworks API
Hello I need to create an extension that use webworks APIs to get all contact data as well as launch the contact selector and must obtain the name of the contact, numbers and Base 64 of contact image chain. Now, I have a few quesries below: 1. I trie
-
Windows 7 upgrade - what drivers, thinkvantage Centre etc?
Hello I just got the computer (with XP that was a mistake, darn-it) and ordered to Windows 7. I'm ready to do a clean install, but what happens to all the drivers installed and software Lenovo? I have to reinstall those too? Thank you RG
-
Why autoplay does not start whwen I insert a dvd in my acer aspire
When I insert a dvd into my player I get a message saying that windowe does not say this and that ITI may require setting in shape, but I can't get autoplay to exploit
-
No internet connection with base filtering engine service turned on
I have a DELL PC running Windows 7 Home premium 64-bit and McAfee (preload) antivirus and firewalls. The system has recently lost access to the internet. If I boot in safe mode with networking, I get internet access. Normal startup come "connected