Setting a comma in a dynamic list build
Hi Guys, can anyone please help me with this issue. I want to
take a list and find the last characters in the list and then build
another list. With this other list I am having a problem not
dropping a comma after the last element.
I am expecting this y,n I am getting y,n,
Here is my code.
<cfset initials = " ">
<cfset george = "hary,martin">
<cfset showComma = false>
<Cfloop index="name" list="#george#" delimiters=",">
<cfset initials = initials & right(name,1) &
"<cfif showComma>,<cfelse><cfset showComma =
true></cfif>">
</cfloop>
Well, here is what I am trying to further do. I want to use
the ListToArray function and then use the ArrayMax function to find
the largest value. The problem is that when I have a character
other than a number in the Array the ArrayMax function throws an
error. Here is my code.
<cfset initials = "">
<cfset george = "pighg1,pighg2,PIGHGB">
<Cfloop index="name" list="#george#" delimiters=",">
<cfset initials = initials & right(name,1)>
<cfif ListLast(george) neq name><cfset initials =
initials & ","></cfif>
</cfloop>
<!---I would like to replace that b in the
ListcontainsNoCase function with a REGEX for [a-z] the problem is
that it throws an error --->
<cfset takeAway = ListContainsNoCase(initials, "b")>
<cfset temp2 = ListDeleteAt(initials, takeAway, ",")>
<cfdump var="#temp2#">
<cfset george2 = (ListToArray(temp2, ","))>
<cfset count = ArrayMax(george2)>
<cfdump var="#count#" >
Similar Messages
-
Need Help: Use Combox Box + List Builder + Column chart!
Hi experts,
I'm a novice in Xcelsius but i met some problems in encountering it, therefore, i would like to seek some assistance from the experts, Thanks!
These are my data for F1 race. And I have 10 years data and below is an example of my data. I would be using 2 years data as an example first.
Year Country Driver Point Laps Time/Retired No.of Driver Position
2009 Australia Jenson Button 10 58 1:34:15.784 22 1
2009 Australia Rubens Barrichello 8 58 +0.8s 23 2
2009 Australia Jarno Trulli 6 58 +1.6s 9 3
2009 Australia Timo Glock 5 58 +4.4s 10 4
2009 Australia Fernando Alonso 4 58 +4.8s 7 5
2009 Malaysia Jenson Button 5 31 55:30.622 22 1
2009 Malaysia Nick Heidfeld 4 31 +22.7s 6 2
2009 Malaysia Timo Glock 3 31 +23.5s 10 3
2009 Malaysia Jarno Trulli 2.5 31 +46.1s 9 4
2009 Malaysia Rubens Barrichello 2 31 +47.3s 23 5
2009 China Sebastian Vettel 10 56 1:57:43.485 15 1
2009 China Mark Webber 8 56 +10.9s 14 2
2009 China Jenson Button 6 56 +44.9s 22 3
2009 China Rubens Barrichello 5 56 +63.7s 23 4
2009 China Heikki Kovalainen 4 56 +65.1s 2 5
2009 Bahrain Jenson Button 10 57 1:31:48.182 22 1
2009 Bahrain Sebastian Vettel 8 57 +7.1s 15 2
2009 Bahrain Jarno Trulli 6 57 +9.1s 9 3
2009 Bahrain Lewis Hamilton 5 57 +22.0s 1 4
2009 Bahrain Rubens Barrichello 4 57 +37.7s 23 5
2009 Spain Jenson Button 10 66 1:37:19.202 22 1
2009 Spain Rubens Barrichello 8 66 +13.0s 23 2
2009 Spain Mark Webber 6 66 +13.9s 14 3
2009 Spain Sebastian Vettel 5 66 +18.9s 15 4
2009 Spain Fernando Alonso 4 66 +43.1s 7 5
2009 Monaco Jenson Button 10 78 1:40:44.282 22 1
2009 Monaco Rubens Barrichello 8 78 +7.6s 23 2
2009 Monaco Kimi Raikkonen 6 78 +13.4s 4 3
2009 Monaco Felipe Massa 5 78 +15.1s 3 4
2009 Monaco Mark Webber 4 78 +15.7s 14 5
2009 Turkey Jenson Button 10 58 1:26:24:848 22 1
2009 Turkey Mark Webber 8 58 +6.7s 14 2
2009 Turkey Sebastian Vettel 6 58 +7.4s 15 3
2009 Turkey Jarno Trulli 5 58 +27.8s 9 4
2009 Turkey Nico Rosberg 4 58 +31.5s 16 5
2010 Bahrain Fernando Alonso 25 49 1:39:20.396 8 1
2010 Bahrain Felipe Massa 18 49 +16.0s 7 2
2010 Bahrain Lewis Hamilton 15 49 +23.1s 2 3
2010 Bahrain Sebastian Vettel 12 49 +38.7s 5 4
2010 Bahrain Nico Rosberg 10 49 +40.2s 4 5
2010 Australia Jenson Button 25 58 1:33:36.531 1 1
2010 Australia Robert Kubica 18 58 +12.0s 11 2
2010 Australia Felipe Massa 15 58 +14.4s 7 3
2010 Australia Fernando Alonso 12 58 +16.3s 8 4
2010 Australia Nico Rosberg 10 58 +16.6s 4 5
2010 Malaysia Sebastian Vettel 25 56 1:33:48.412 5 1
2010 Malaysia Mark Webber 18 56 +4.8s 6 2
2010 Malaysia Nico Rosberg 15 56 +13.5s 4 3
2010 Malaysia Robert Kubica 12 56 +18.5s 11 4
2010 Malaysia Adrian Sutil 10 56 +21.0s 14 5
2010 China Jenson Button 25 56 1:46:42.163 1 1
2010 China Lewis Hamilton 18 56 +1.5s 2 2
2010 China Nico Rosberg 15 56 +9.4s 4 3
2010 China Fernando Alonso 12 56 +11.8s 8 4
2010 China Robert Kubica 10 56 +22.2s 11 5
2010 Spain Mark Webber 25 66 1:35:44.101 6 1
2010 Spain Fernando Alonso 18 66 +24.0s 8 2
2010 Spain Sebastian Vettel 15 66 +51.3s 5 3
2010 Spain Michael Schumacher 12 66 +62.1s 3 4
2010 Spain Jenson Button 10 66 +63.7s 1 5
2010 Monaco Mark Webber 25 78 1:50:13.355 6 1
2010 Monaco Sebastian Vettel 18 78 +0.4s 5 2
2010 Monaco Robert Kubica 15 78 +1.6s 11 3
2010 Monaco Felipe Massa 12 78 +2.6s 7 4
2010 Monaco Lewis Hamilton 10 78 +4.3s 2 5
2010 Turkey Lewis Hamilton 25 58 1:28:47.620 2 1
2010 Turkey Jenson Button 18 58 +2.6s 1 2
2010 Turkey Mark Webber 15 58 +24.2s 6 3
2010 Turkey Michael Schumacher 12 58 +31.1s 3 4
2010 Turkey Nico Rosberg 10 58 +32.2s 4 5
2010 Canada Lewis Hamilton 25 70 1:33:53.456 2 1
2010 Canada Jenson Button 18 70 +2.2s 1 2
2010 Canada Fernando Alonso 15 70 +9.2s 8 3
2010 Canada Sebastian Vettel 12 70 +37.8s 5 4
2010 Canada Mark Webber 10 70 +39.2s 6 5
2010 Europe Sebastian Vettel 25 57 1:40:29.571 5 1
2010 Europe Lewis Hamilton 18 57 +5.0s 2 2
2010 Europe Jenson Button 15 57 +12.6s 1 3
2010 Europe Rubens Barrichello 12 57 +25.6s 9 4
2010 Europe Robert Kubica 10 57 +27.1s 11 5
Basically, my requirement is to have year 2009 and 2011 in my component "Combo Box" and when user choose Year 2010, the source data under the component "List builder" shows the FILTERED countries (since i have duplicated countries here) under year 2010 only.
So user can choose the correct countries and view the details of the countries that he/she choose for year 2010 at the column chart.
Pls feel free to clear your doubts if any.
Your assistance will be appreciated!!
Thanks alot!
Best regards,
htohHi Sanjay,
Appreciate your quick response.
However this is what i've set for my combo box and list builder:
Combo box:
Insertion Type: Filtered rows
Source data: Column A & B (Year,Country)
Destination: Some empty cells
List builder:
Insertion type: Row (I can't find Filtered rows as an option)
Source data: From the empty cells i mentioned above ***
Destination: Another Empty cells.
Is there anything wrong with my settings? Pls help, thanks a lot!
Best regards,
htoh -
How to use dynamic list box in survey builder?
Hello,
Could someone give me a little bit of thread? How to use dynamic list box in survey builder?Hi Liu,
Dynamic combo boxes::A combo box is dynamic if it references a document property for which a value set is defined in the configuration (System Administration ® System Configuration ® Content Management ® Global Services ® Property Metadata ® Properties ® Parameter Allowed Values).
At runtime (when you open the creation form) the system reads these values from the configuration and displays them in the dropdown list.
If you link a combo box for which list entries already exist to a document property with a value set, the system asks whether you want to delete the list entries. it is recommend that you accept this suggestion and delete the list entries from the XML Forms Builder. Otherwise inconsistencies could arise between the entries in the XML Forms Builder and the value set in the configuration. This can cause errors when saving.
Also you may Refer the Link for Further help:
http://help.sap.com/saphelp_crm50/helpdata/en/29/c40d3d2a83752de10000000a114084/frameset.htm
http://help.sap.com/saphelp_crm50/helpdata/en/00/9e7f41969e1809e10000000a155106/frameset.htm
http://help.sap.com/saphelp_crm50/helpdata/en/a7/5a874174a8050de10000000a1550b0/frameset.htm
Hope it Answers your Queries..
Thanks and Regards,
RK. -
List Builder only shows 1 data set at a time
Am attempting to get a list builder to display multiple data sets but am hitting a wall. When a 1st data set is selected then all OK. Add 2nd data set and update list and only 1st is shown. Remove 1st and update and data is refreshed to 2nd list. Add 3rd and repeats itself and so on. Looks like all OK based on the sample but built from scratch and think missing something simple in the destination range (although appears fine). thoughts?
Can you describe this in more detail?
How are your datasets defined in your excel model and how are your target cells formatted?
How are you trying to display the two resultsets in list builder in the first place? The cell range has to be contiguous for list builder to work. -
Dynamic List of record subsets with a Many-to-many relationship
I'm feeling pretty lost here and would appreciate any pointers.
I'm trying to use ADDT to create a dynamic list of records that includes a subset of comma separated list of many-to-many related records. Specifically I'm listing a bunch of workshops that have various teachers associated with each workshops. Teachers team teach a variety of workshops, thus the need for a many-to-many link table.
I've created a basic query to retrieve the workshop list, then another query to return the teacher's associated with the workshops. However I can't figure out how to use ADDT to list the teachers for each workshop.
I have a sense that it has something to do with a nested repeat region but there does not seem to be a way to get the wizard to see beyond the link table.
Am I way off here?
Thanks!Hi,
a list used in the singleSelectOne component does not change or set the currency in the list VO (in opposite to the navigation list). So this synchronization needs to be done programmatically. Examples of dependent list of values are available here
--> example 62 http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
--> word document you can download from http://thepeninsulasedge.com/frank_nimphius/2008/05/16/blogbuster-treasures-hunt-blog-entries-from-the-lost-orablogs-blog-for-download/
Frank -
DRM Function to divide comma delimited string to list value
Hi
Any one knows how to seperate comma delimited string into list values.
ThanksAre you wanting to dynamically set the list values for a property? If so there are a couple options:
1. You can update them via the API.
2. You can write a sql script to update the table Property_List. This requires an application server restart and generally isn't recommended for support reasons but it makes sense in some instances.
Edited by: Naren Truelove on 16/02/2011 22:08 -
Referencing a "checked record" from my ADDT Dynamic List using a SPRY Menu
I have just posted a Beta of my site to:
http://www.clearwave.biz/Beta/T1COElogin.cfm
- Username is: Beta
- Password is: 123
- Once you are logged in you should see the ADDT list w/one
order listed.
- Click on the Printer icon & the Order Agreement will
open in PDF. (this works fine)
- Click on the InfoSheet link & the Report will open in
PDF as well. (this works fine)
- Everything works fine if you use the links on the same line
as the record.
- But if you check the CheckBox on the left, then choose the
Spry Menu above, Reports/T1 Agreement the report will not work?
Question: What should the Link be to reference the checked
item below, pass the CustID value to the report & print the
PDF?
(Note: the CF report has the following line in the SQL:
(tblT1OrderProcessing2.T1CustID = #param.T1CustID#) and the report
prints fine in Report Builder if I pass it the T1CustID, as well as
if I click the links on the same line as mentioned above, so this
is just an issue of grabbing the CustID value from the checked line
& passing it to the report link in the Spry menu)
Here is a visual picture of my Dynamic List page:
http://cerberus.clearwave.com/jerry/Order_Management_Main_Page.jpg
Thanks in advance for the help,
jligHere is the Report URL that works perfectly when clicking the
Printer icon on the right of my List:
http://www.clearwave.biz/Beta/reports/T1_Service_Agreement.cfm?T1CustID=1508
and the link to the InfoSheet:
http://www.clearwave.biz/Beta/reports/T1_Information_Sheet.cfr?T1CustID=1508
Both of these work perfectly by grabbing the T1CustID value
of 1508 from the line. -
Dynamic list of values in CR 2008 - request of login to database
I am using CR2008 with VB2005. I created simple application which generate report on different SQL Server 2005 databases.
Report uses OLE.DB connection to SQL Server, I pass logon information in VB using "SA" username and password. The same simple report works great on different databases with one exception: if parameter (dynamic list of values) is used in report it runs correctly only on database it was created (connection to this database is saved in report and can be seen in Database->Set Datasource Location). Changing connection to other databases in VB during runtime causes CR to ask for username and password (in standard parameter window). It looks, like Crystal have one connection for report and the other for dynamic list of values parameter. I pass connection information to report using ConnectionInfo(). I loop through alll tables in report and apply connection:
For Each crTable In crTables
crTableLogOnInfo = crTable.LogOnInfo
crTableLogOnInfo.ConnectionInfo = crConnectionInfo
crTable.ApplyLogOnInfo(crTableLogOnInfo)
Next
I tried to pass connection information also to parameter but I couldn't find such possibility.This is a known issue (Tracking number is ADAPT01333806.) and a note has been written, unfortunately it is not yet published. Below is the note content, including a work-around / resolution. You may also want to try FP 2.3, see that helps. (I'll break this post into two as I'll loose the formatting if I don't.
Reproducing the Issue
Use Crystal Reports 2008 SP2 to create a report with dynamic parameter(s)
Use the following code from the Crystal Reports SDK for VS .NET
Dim crDatabase As Database
Dim crTables As TablesDim crTable As Table
Dim crTableLogOnInfo As TableLogOnInfo
Dim crConnectionInfo As ConnectionInfo
crReportDocument.Load("<path>")
crReportDocument.Refresh()
crConnectionInfo = New ConnectionInfo()
With crConnectionInfo
.ServerName = "<New Server Name>"
.Password = "<password>"
End With
crDatabase = crReportDocument,Database
crTables = crDatabase.Tables
For Each crTable In crTables
crTableLogOnInfo = crTable.LogOnInfo
crTableLogOnInfo.ConnectionInfo = crConnectionInfo
crTable.ApplyLogOnInfo(crTableLogOnInfo)
Next
CrystalReportViewer1.ReportSource = crReportDocument
The above code works with Crystal Reports 2008 SP 1 -
How to add a column to a list created with the Dynamic List Wizard to display the values of the fiel
Hi,
ADDT, Vista, WAMP5.0
We have 2 tables: clients_cli (id_cli, name_cli, tel_cli, and several more fields) and cases_cas (id_cas, idcli_cas, court_cas, and a lot of other fields).
Clients may have many cases, so table cases_cas have a foreign key named idcli_cas, just to determine which case belongs to which client.
We designed the lists of the two tables with the Dynamic List Wizard and the corresponding forms with Dynamic Form Wizard.
These two forms are linked with the Convert Dynamic List and Form Wizards, which added a button to clients list named "add case".
We add a client and then the system returns to the clients list displaying all clients, we look for the new client just added and then press "add case", which opens the Dynamic Form for cases, enter all case details and everything processes ok.
However, when we view the cases list it display all the details of the case, including the column and values for the foreign key idcli_cas. As you can image, it is quite difficult for a human to remember the clients ids.
So, in the cases list we added a another column, named it Name, to display the names of the clients along with cases details. We also created another recordset rsCli, selected the clients_cli table, displaying all columns, set filter id_cli = Form Variable = idcli_cas then press the Test button and everything displays perfect. Press ok.
Then, we position the cursor inside the corresponding cell of the new Name column, go to Bindings, click on name_cli and then click on insert. The dynamic field is inserted into the table cell as expected, Save the page, and test in browser.
The browser call the cases list but fails to display the values of the Name column. The Name column is simply empty.
This issue creates a huge problem that makes our application too difficult to use.
What are we doing wrong?
Please help.
Charles1. Start transaction PM01, Create Infotype, by entering the transaction code.
You access the Create Infotype screen.
2. Choose List Screen.
3. In the Infotype no. field, enter the four-digit number of the infotype you want to create.
When you specify the infotype number, please remember to enter any leading zeros.
4. In the Screen Number field, enter the screen number of the list screen you want to enhance.
5. Choose Create.
The Dictionary: Initial screen appears:
6. Create the list screen structure.
7. Choose Activate.
8. Return to the Enhance List Screen in the Enhance Infotypes transaction (PM01).
9. Choose Create All.
The additional fields are displayed on the list screen, however, they contain no data.
The fields can be filled in the FORM routine FILL-LISTSTRUCT in the generated program ZPnnnn00. The FORM routine is called for each data record in the list.
Structure ZPLIS is identified when it is generated with a TABLES statement in the program ZPnnnn00.
The fields can be filled from the Pnnnn structure or by reading text tables. -
Dynamic list of .Mac Web Gallery into iWeb
Hi guys,
I would like to know we can incorporate a dynamic list of all my .mac web galleries so that it appears in iWeb.
For example, in my .mac gallery, I have these four galleries:-
1. Picnic shots
2. Wedding shots
3. Pet shots
4. Zoo shots
I want this entire list to be shown in iWeb, and it should be dynamic in such if I change the title of the gallery, it changes in iWeb as well. Or when I modify and add new galleries in my .mac , it should be reflected in my iWeb.
I just want the list to appear, not the gallery widget. Thanks!!Assuming it's possible to do at all outside of Apple, I suspect that it would require some sophisticated programming on the server where your site is hosted. If you are hosted on .Mac, I doubt such programming is possible. However, if you are hosted on a non-.Mac server, perhaps someone here can suggest an approach.
Possibly Apple will provide that feature in a future version of iWeb and you can request it via this feedback form:
...in +Feedback Type+ choose +Enhancement Request+.
Meanwhile, you've probably guessed already that the non-dynamic solution is to set up text hyperlinks in iWeb to your Galleries and update those links manually as necessary. -
ADDT Dynamic List with Session Variable?
I've created a dynamic list using ADDT. When a member logs into the site I want the member to see only his or her specific information in this list. How do I create a session variable that allows only the logged in member to see there specific information in the list?
<br />
<br /><%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<br />
<!--#include file="../Connections/rentalpaypro.asp" -->
<br />
<!--#include file="../includes/common/KT_common.asp" -->
<br />
<!--#include file="../includes/tfi/TFI.asp" -->
<br />
<!--#include file="../includes/tso/TSO.asp" -->
<br />
<!--#include file="../includes/nav/NAV.asp" -->
<br /><%<br />' Filter<br /> Dim tfi_listLandLordRentalProperties3: Set tfi_listLandLordRentalProperties3 = new TFI_TableFilter<br /> tfi_listLandLordRentalProperties3.Init MM_rentalpaypro_STRING, "tfi_listLandLordRentalProperties3"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.memUserName", "STRING_TYPE", "memUserName", "%"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.StreeNumber", "NUMERIC_TYPE", "StreeNumber", "="<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.StreetName", "STRING_TYPE", "StreetName", "%"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.AptNumber", "NUMERIC_TYPE", "AptNumber", "="<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.City", "STRING_TYPE", "City", "%"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.State", "STRING_TYPE", "State", "%"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.ZipCode", "NUMERIC_TYPE", "ZipCode", "="<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.RentAmount", "NUMERIC_TYPE", "RentAmount", "="<br /> tfi_listLandLordRentalProperties3.Execute()<br /><br />' Sorter<br /> Dim tso_listLandLordRentalProperties3: Set tso_listLandLordRentalProperties3 = new TSO_TableSorter<br /> tso_listLandLordRentalProperties3.Init "rslistLandLordRentalProperties3", "tso_listLandLordRentalProperties3"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.memUserName"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.StreeNumber"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.StreetName"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.AptNumber"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.City"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.State"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.ZipCode"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.RentAmount"<br /> tso_listLandLordRentalProperties3.setDefault "LandLordRentalProperties.memUserName"<br /> tso_listLandLordRentalProperties3.Execute()<br /><br />' Navigation<br /> Dim nav_listLandLordRentalProperties3: Set nav_listLandLordRentalProperties3 = new NAV_Regular<br /> nav_listLandLordRentalProperties3.Init "nav_listLandLordRentalProperties3", "rsLandLordRentalProperties1", "../", Request.ServerVariables("URL"), 10<br />%>
<br />Hi,
when you use the dynamic list ..
it creates a SQL query..
change it ..,
add the param ( your session variable to it)
hope this helps
regards
mohnkhan
http://www.mohitech.com -
How do I add a time field to a dynamic list and form?
I'm trying to create an update form that logs when an action was taken. Among the fields are one for the date and one for the time, but I've not been able to get the time field to display or enter data correctly.
I've set the time format in the ADDT preferences (database date and time format is yyyy-mm-dd and HH:mm:ss and screen format is dd/mm/yyyy and HH:mm). When I create the list or the form using the wizard, there is no option to display the field as a time.
In step 3 of 4 in the Dynamic List Wizard, the 'Display as' options are: text, numeric, double and date. Choosing date for the time field gives me a display as though it was a date (I get '00/00/0000'). I have the same problem with generating a Dynamic Form in that there is no option to display a time, only a date.
Am I able to do this using the wizard, or is there another way that I'm, missing? Thanks for any help.If those date/time fields are only needed for logging purposes then follow Günter's instructions.
If you need to be able to edit those two fields and have their values displayed properly then there are several steps you should take.
First open the page that uses the Dynamic List behavior and make sure that all date and time fields are configured to display as dates. Then open the page with the dynamic form and click on "Manage Dynamic Form Wizard" in the Developer Toolbox. Configure your date and time fields to submit as dates. Then go to the Server Behaviors panel and double click on "Validate Form". You should now have 3 date/time options available under Validation Format: Date, Datetime, and Time. Configure each field as needed.
This will ensure that date and time fields are saved in the proper format so that when you view their values they will be displayed properly, that is dates will be displayed as dates and times as times.
There are also several additional server formats available that are accessible through the Bindings panel that you might want to experiment with. -
Attribute substitution not working in templates for dynamic lists
Hi all,
dynamic lists were introduced in APEX 4.1 and they can be used for drop-down menus. I am trying to use attribute substitution #A01#...#A10# in the templates without success.
Here is a sample select statement
<pre>
SELECT level,
short_title label,
'f?p=myapp:1:0::::MYAPP_ID:'||id target,
'NO' is_current,
NULL image,
'm'||TO_CHAR(id) attribute1
FROM mytable
START WITH parent_id = :MYAPP_ROOT_ID
CONNECT BY PRIOR id = parent_id
ORDER SIBLINGS BY seq_in_parent
</pre>
and here a snippet from the template
List Template Noncurrent
<li class="dhtmlMenuItem"><a id="#A01#" href="#LINK#">#TEXT#</a></li>
The substitution is not being made. It looks like a bug but maybe I'm missing something.
Any help would be greatly appreciated.
Regards GarryHi Garry,
When the list query is parsed, it's not the column alias that deciphers which parameters you're trying to set, it's the positioning of the parameter in the query itself. So, for example, if a user wishes to set the #A01# attribute, like in your case, then the value returned by the 8th parameter in the query will be used. In your original query, you only supplied 6 parameters i.e. up to the image attribute setting. If you're not setting anything for the image attributes, then you simply set those values to null. The syntax for the query should be similar to the following:
select level,
labelValue label,
[targetValue] target,
[is_current] is_current_list_entry,
[imageValue] image,
[imageAttributeValue] image_attribute,
[imageAltValue] image_alt_attribute,
[attribute1] attribute1,
[attribute2] attribute2,
[attribute3] attribute3,
[attribute4] attribute4,
[attribute5] attribute5,
[attribute6] attribute6,
[attribute7] attribute7,
[attribute8] attribute8,
[attribute9] attribute9,
[attribute10] attribute10
from ...
where ...
order by ...Regards,
Hilary -
Surveys - dynamic list box option
Hi,
How can I control the entries for the answer category "Dynamic list box with single selection"?
Thanks,
Susana MessiasHello Susana,
To maintain dynamic values for a specific answer, select your survey in the Survey Suite and go to the maintenance of survey attributes (CTRL+F12). Under the tab 'Technical settings', you can maintain the 'Callback to PBO' function module, which allows you to modify the survey at runtime. (The function module you specify here is called by the survey tool runtime environment at PBO.)
As an example, you can have a look at the function module 'CRM_SVY_EXAMPLE_DYNAMIC_PBO', which contains a section to set answer options at runtime. Of course, you would have to program your own logic to meet your specific requirements for setting the values.
I hope this helps.
Kind regards,
Kristoff -
How to create dynamic list element in Site Studio designer?
Hi all,
I have installed the Site Studio Designer(10gR4).The dynamic list element that i have added in the contributor region executes a query to search and display all the files in a particular folder.In the contributor mode when i try to add/edit the dynamic list element it gives an error saying :
Unable to perform the action due to the following reasons:
[+] Unable to retrieve search results. Unable to retrieve search results. Unable to create result set for query 'SELECT IdcColl2.dID, dDocName, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, VaultFileSize, WebFileSize, URL, dFullTextFormat, dFullTextCharset, DocMeta.* FROM IdcColl2, DocMeta WHERE IdcColl2.dID=DocMeta.dID AND (((((( xCollectionID >= 14 AND xCollectionID <= 14 ) AND NOT ( (CONTAINS(xDontShowInListsForWebsites, '{DIPP_Sample}') > 0) )))))) ORDER BY dDocTitle desc'. ORA-20000: Oracle Text error: DRG-10599: column is not indexed
I have enabled the full-text search on the content server and also included xWebsites and xWebsiteObjectType columns to be full indexed in the Zone Fields Configuration.Is there any other setting to be done?Please help.
Thanks,
nithyaHi
Include the xDontShowInListsForWebsites also from the zone filed and then update it.Then test it out.
Hope it helps
Srinath
Maybe you are looking for
-
Installing Oracle 10g enterprise edition on Win XP professional
Hello everybody, I have the LAN's ip address set to 192.168.0.5 during installation. In addition, I'm using WiFi to connect to the internet at the same time - is this going to cause a confusion on the host ip because I have LAN and WiFi turned on? I
-
Joining Multiple Line Segments
Is there a way to join any number of line segments into one continuous line? The end points overlap, but selecting all and going to Object>Path>Join seems to have no effect. Making a compound path helps, but doesn't allow me to smooth the final path.
-
Oracle 10g Express (XE) Tools
I have been looking site that list's and describes some of the tools available for Oracle 10g Express (XE) but have not found anything like that. I was also hoping it might provide a brief summary of what they do. Sorry I am new to oracle.
-
Hi, I have a servlet deployed in Tomcat (v5.0.12) that invokes a C++ DLL written by me. Some other Java classes that are used by my Servlet are stored in a folder C:\MyClasses (in a package called com.batra.amit). The folder C:\MyClasses is in Tomcat
-
Adobe Professional issue after trial
Hi All, One of my end-users has an issue with Adobe Professional. We have Pro 9 installed, and he recently wanted to try out Pro 11. We installed the trial and after the trial period we uninstalled it. Since then he has been having issues with Pro 9.