Tutorial Announcement: exploring the Dynamic List´s Filter Conditions

Hi all,
based on Paul Taylor´s recent Dynamic List related "How do I filter by date range ?" question I just published yet another (pretty long and in-depth) tutorial which will not just explain the available SQL Comparison Operators for numeric and date/datetime fields, but also provides three live demos to help you get an idea on how powerful this is.
This tutorial will also show you how to add a "date range" and "price range" search to your Dynamic List based on separate columns -- and the intermediate to advanced user will learn how to apply a "Range" search on just *one* column, what´s something that has finally become clear to me these days :-)
Perma-URL: http://www.guenter-schenk.com/tutorials/tutorial.php?id=6
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver

Me too,<br />Thanks for your input :-)<br /><br /><[email protected]> wrote in message <br />news:[email protected]..<br />> Günter,<br />><br />> Thanks for these recent tutorials. I am definitely going to go thru them!<br />><br />> Shane

Similar Messages

  • 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.
    Charles

    1.     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.

  • How to Add the Dynamic List Wizard Form to a Spry Accordion Panel?

    Is it possible to add ADDT Dynamic Forms to the Spry Widgets?
    - I have been trying to add the Dynamic List Wizard to my existing Accordion but everytime I do, the Accordion turns into plain text?
    -Also, If it is possible then how do I target the Panels and have the detail record open up in Panel number 2?
    I plan on having the ADDT Dynamic Form in Panel 1, and want the Add, Edit, New, Delete form to open up in Panel 2.
    Thanks for your help,
    jlig

    I figured this out.
    1) First add all the Fields to the Form using the ADDT Insert Record Form Wizard.
    2) View the ADDT form in the browser to make sure the fields all display.
    3) In DW design view, move the cursor just to the left of the ADDT Form and hit Enter to Add a line just above the ADDT Table.
    4) With the cursor below the Red Form line and just above the ADDT table add the SPRY widget. (ex..Tabs)
    5) Now highlight the rows you want to move & hit Cut, then open up Tab1, highlight Content1 and hit Paste.
    I decide to leave my date_added, modified_By & date_modified fields below the SPRY tab widget so that these fields are visible all the time. When I click on the Insert button, the record was added correctly to my Table after Validation passed.
    Thanks,
    jlig

  • Hide field of the dynamic line for some conditions

    Hello,
    I have a dynamic table filled like that :
    material  |   qty    |   unit    |    button  
    123455   |    489      |    PC    |     
    987654   |    376      |    PC    |     
    765432   |    534      |    PC    |     
    On the last column I have a button. When I click on it, I would like to show 2 more fields but only for the line where I clicked the field.
    material  |   qty    |   unit    |    button  
    123455   |    489      |    PC    |     
    987654   |    376      |    PC    |__X__        |      here        |       here        |
    765432   |    534      |    PC    |
    I think that I can define my table with 6 columns, hide the header of the last 2 ones, but I can't find any instruction to hide and make visible only fields of the line.
    Could you help me ?
    thanks

    I wrote this in the click method but I get an error :
    var cnt = data.form.TABLE.line.instanceManager.count;
    cnt = cnt;  //zero-based index
    for ( var i = 0; i < cnt; i++) {
    if ( i == this.parent.index )
    if ( data.form.TABLE.line.BUTTON == "X" )
    data.form.TABLE.line(i).new_field = "visible" ;
    else{
    data.form.TABLE.line(i).new_field = "invisible"

  • Dynamic List filter not refreshing - suggestions?

    Dynamic list filtering problems...
    Any suggestions for how to begin trouble shooting this ussue?
    (Apache, MySql, php) I have to click multiple times on the column header for a sort to occur and the filter text field drops any entered value when you click the filter button. If you click on the specific filtered column header later, the filter value re-appears and filtering occurs.
    The dynamic lists I have been testing are created with the list wizard, with no modifications to any settings, made from recordset or straight from data table. In either case the lists and filtering work with one click in my testing server (same setup) but have these oddities if in the production server.
    Any suggestions of what to look for to get it working in the production server for my client...filtering would be wonderful for them!
    Thank you anyone for suggestions,
    Steve

    Thanks Günter Schenk for the reply however...
    So you can see what's happening I created a seperate mysql database with one table and four fields. ID, date, and 2 varchar 50. I then created a dynamic list and form, both made without any hand coding using the wizards.
    I made sure all relavent files from the includes folder are up-to-date with 1.0.0 version files.
    You are welcome to go to http://www.sunkistkids.org/mmtest/listtest.php to test this.
    Also you will find info.php in the root directory of the site just in case you spot any part of the general configuration that might be causing this.
    Any further suggestions are very welcome and will be implemented quickly so I can make the filter feature work for the client.
    Thank you very much for your time,
    Steve

  • Dynamic List Wizard error - can't connect to recordset or table

    I'm using Windows Vista, CF 8, and DW CS3.
    I have just started working with the Dynamic List Wizard and cannot get it to work. I have tried both options: get data from recordset, and get data from table. When I click on "finish" I get the following error message: Please select a connection that contains tables for updating, or click cancel.
    Everything appears to be good to go. I've refreshed my recordset, my database connections, etc. Has anybody else had this issue and what is the workaround?
    Also, is there a tutorial out there ANYWHERE for this part of the extension? Interakt had such great Flash demos ... what's up with Adobe? No Flash demos for this extension?
    Thanks!

    Backing up to a third-party NAS with Time Machine is risky, and unacceptably risky if it's your only backup. This is an example of what can happen. If the NAS doesn't work, your only recourse is to the manufacturer (which will blame Apple.)
    If you want network backup with Time Machine, use as the destination either an Apple Time Capsule or an external hard drive connected to another Mac or a mini-tower (802.11ac) AirPort base station. Only the 802.11ac base station supports Time Machine, not any previous model.

  • 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

  • ASP VBScript and ADDT Dynamic List Wizard HELP

    Using ADDT I've created a dynamic list in a membership area. How do I get that dynamic list to populate only the data for that particular member that is logged in. Any help would be so much appreciated as I have been trying to figure this out for days now.
    <br />
    <br /><%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <br />
    <!--#include file="../Connections/rentalpaypro.asp" -->
    <br />
    <!--#include file="../includes/common/KT_common.asp" -->
    <br />
    <!--#include file="../includes/tNG/tNG.inc.asp" -->
    <br /><%<br />'Start log out user<br />  Set logout = new tNG_Logout<br />  logout.setLogoutType "link"<br />  logout.setPageRedirect "../index.html"<br />  logout.Execute<br />'End log out user<br />%>
    <br />
    <!--#include file="../includes/tfi/TFI.asp" -->
    <br />
    <!--#include file="../includes/tso/TSO.asp" -->
    <br />
    <!--#include file="../includes/nav/NAV.asp" -->
    <br /><%<br />'Start Restrict Access to Page<br />  Dim restrict: Set restrict  = new tNG_RestrictAccess<br />  restrict.Init MM_rentalpaypro_STRING, "../"<br />'Grand Levels: Any<br />  restrict.Execute<br />'End Restrict Access to Page<br />%>
    <br /><%<br />' Filter<br />  Dim tfi_listLandlord_Property1: Set tfi_listLandlord_Property1 = new TFI_TableFilter<br />  tfi_listLandlord_Property1.Init MM_rentalpaypro_STRING, "tfi_listLandlord_Property1"<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.ContactInfoID", "NUMERIC_TYPE", "ContactInfoID", "="<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.RegistrationID", "NUMERIC_TYPE", "RegistrationID", "="<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.StreetNumber", "NUMERIC_TYPE", "StreetNumber", "="<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.StreetName", "STRING_TYPE", "StreetName", "%"<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.AptNumber", "NUMERIC_TYPE", "AptNumber", "="<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.City", "STRING_TYPE", "City", "%"<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.State", "STRING_TYPE", "State", "%"<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.ZipCode", "NUMERIC_TYPE", "ZipCode", "="<br />  tfi_listLandlord_Property1.addColumn "Landlord_Property.MonthlyRent", "NUMERIC_TYPE", "MonthlyRent", "="<br />  tfi_listLandlord_Property1.Execute()<br /><br />' Sorter<br />  Dim tso_listLandlord_Property1: Set tso_listLandlord_Property1 = new TSO_TableSorter<br />  tso_listLandlord_Property1.Init "rslistLandlord_Property1", "tso_listLandlord_Property1"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.ContactInfoID"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.RegistrationID"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.StreetNumber"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.StreetName"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.AptNumber"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.City"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.State"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.ZipCode"<br />  tso_listLandlord_Property1.addColumn "Landlord_Property.MonthlyRent"<br />  tso_listLandlord_Property1.setDefault "Landlord_Property.ContactInfoID"<br />  tso_listLandlord_Property1.Execute()<br /><br />' Navigation<br />  Dim nav_listLandlord_Property1: Set nav_listLandlord_Property1 = new NAV_Regular<br />  nav_listLandlord_Property1.Init "nav_listLandlord_Property1", "rsLandlord_Property1", "../", Request.ServerVariables("URL"), 10<br />%>
    <br /><%<br />Dim qry_contactinfo__MMColParam<br />qry_contactinfo__MMColParam = "1"<br />If (Session("kt_login_id") <> "") Then <br />  qry_contactinfo__MMColParam = Session("kt_login_id")<br />End If<br />%>
    <br />

    Use the session variable from the log in method (MM_Username as I recall) to create a recordset that you then use in the dynamic list versus using the whole table.

  • Can we catch the dynamic item value in Apex?

    Hi All,
    In my application i am using SELECT_LIST_FROM_QUERY_XL Function. The select list will be populated based on some product group id.
    Some times the list will be 2 or 5 based on prgr id. Now how to catch the dynamic list item name. Is it possible?
    Thanks,
    Anoo..

    Not directly. You can have two items and then dynamically switch between those two items. This can lead to other issues of cause. For example if the item value should be stored in the database, you have to decide which item to store and how to do that.
    The field type itself should not be changed. There are a lot of other things that depend on that. Possible ? Yes. Advisable? No. Check the page source text to see the difference between a select item and a normal text field. Then think if you want to set all this dynamically.
    Maybe a popup list would be better suited?
    One more point: In my experience adding too many dynamic stuff onto a page will not improve the user experience, but will decrease it. So you should carefully consider if this is something. Dynamic actions are great, but they are not always the best tool for the job.

  • Dynamic List and Security Issue

    Hi
    I have a Dynamic List Wizard for orders, which the user can click on edit to edit or modify the order and if the user choose "Yes" to submit ( the order form has a submit filed which has Yes / No Values)then the EDIT button disappear and the user has no more control on the record(using show if conditional Region server behavior).
    - Now i noticed that when i click on the edit the address bar includes the (www.mysite.com/form.php?order_id=1) now say the order Number 2 is already submitted (still on the list but no Edit button for it) if i write 3 or 4 or any other number instead of 1 at the address bar (www.mysite.com/form.php?order_id=3) the record which has the order number 3 displays on the screen and then you can edit it and when click update the Edit Button becomes Active which destroy the whole concept.
    so, how to fix that?

    Hi Lorie,
    Taking it a step further
    interesting that you´re mentioning this -- because I was just in the middle of finding a workaround for the very same issue ;-)
    I actually did find a pretty easy solution, which basically goes like this:
    1) wrap the whole table *plus* any possibly added hidden fields located below this table in a "Show IF conditional region" behaviour -- but make sure to *not* include the buttons within the "KT_bottombuttons" div in here.
    2) as I assume that your "supplier_name" column holds a numeric value which equals the user´s "kt_login_id" Session Variable (which it should !), define the following conditions for the "Show IF conditional region" behaviour:
    Expression 1: choose "supplier_name" from the tNG recordset
    Condition: ==
    Expression 2: choose Session -> kt_login_id
    3) tick the Has ELSE option
    4) confirm with OK
    5) replace the default "has Else" message with something meaningful like "you can´t edit this record !"
    Switching to Code view and navigating to the very start of your "Show IF conditional region" should display something like this:
    if (@$row_rsqueryname['supplier_name'] == @$_SESSION['kt_login_id']) {
    When viewing the modified Dynamic Form in a browser, you´ll note that this solution will indeed display the form instances for all "authorized" records, whereas those form instances which don´t match the required credentials will be replaced with that "has else" message.
    BUT !! This solution has one major drawback which I haven´t been able to resolve yet :: when the Dynamic Form goes into Insert Record mode
    (means when you click the "add new" link in the Dynamic List), all inner form instances will display that "has else" message.
    The only workaround I currently can come up with is to have the List´s "add new" link point to a separate "add_new.php" page that´s going to insert a single record.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Dynamic list to generate url variable

    Hello, I am using a dynamic list to pull product codes from a
    database. I then want to pass the code into a url variable when it
    goes to the results page. This is so customers can chose which code
    they want to go to a detail page about. I already have the dynamic
    list working, I just can not figure out how to embed the selected
    code into a url variable. For example I want it to do the
    following:
    sitename.com/search.php <--- here is where you start and
    make the selection then it brings you to:
    sitename.com/details.php?code=202 <---- code202 was
    selected on previous page in dynamic list.
    I know how to do it by pulling results from a database and
    generating links for each one, but I need to do it from a dynamic
    drop down list.
    Here is the coding that I was trying to use:
    Thank you for your assistance.

    Sorry, dumb error on my part. Used method=post rather then
    get.

  • 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.

  • Unable to use #A01# substitution variable in dynamic list

    Greetings...
    I am attempting to generate a dynamic list on the page.  The list will contain a flag indicating whether the list entry is actually hidden to the user or not.  If it is hidden to the user, then I want to apply a particular class to that list entry when rendered.
    The dynamic list has the following SQL:
    SELECT null lvl,
           menu.menu_nm label_value,
           q'!javascript:$s('P32_MASTER_MENU_ID', '!' ||
              menu.menu_id || q'!');!' target_value,
           null image,
           null image_attribute,
           null image_alt_attribute,
           case when menu.hidden = 'Y'
                  then 'class="hiddenNode"'
                  else null end attribute1
    from ( select 'N' hidden, vis.* from std_vw_apex_menu vis
            union all
           select 'Y' hidden, hid.* from std_vw_apex_menu_hidden hid ) menu
    where menu.menu_ty = 'MAINMENU'
    order by menu.sort_order
    I am then using a list template with the following as the "Current" list entry:
    <li class="active"><a href="#LINK#"><span #A01#>#TEXT#</span></a></li>
    ... and the following as the "Non-Current" list entry:
    <li><a href="#LINK#"><span #A01#>#TEXT#</span></a></li>
    The result I see in the rendered page however is that the substitution is not happening, as indicated in the following snippet :
    <li><a href="javascript:$s('P32_MASTER_MENU_ID', '18893191201');"><span #a01#="">Education</span></a></li>
    We are on ApEx 4.2.1.  What am I doing wrong as I've seen other threads indicate that it is possible for dynamic lists to use substitution variables in their list templates.
    Shane.

    I found the solution at Attribute substitution  not working in templates for dynamic lists.

  • Using variable in dynamic list queries

    How can we use a variable value like metadata value of the parent content in the dynamic list query?
    I tried something following ways but the query was not picking up the value of xCountries.
    dDocType <matches> `State` <AND> xCountries <matches> xCountries
    dDocType <matches> `State` <AND> xCountries <matches> `xCountries`
    dDocType <matches> `State` <AND> xCountries <matches> `$xCountries`
    dDocType <matches> `State` <AND> xCountries <matches> `<!--$xCountries-->`
    None of them worked. But when I printed the <!--$xCountries--> on the secondary page for the selected country the value is getting printed.
    Regards,
    Pratap

    Hi Bex,
    You were right. Eval function call was helpful here.
    The problem was resolved only to an extent by using the eval function. This is
    evaluating the query string given in parameters window for ssQueryText to
    correct value. We used the eval() function in the dynamic list fragment. The
    format of query we were trying earlier was incorrect. The correct format is like
    this
    dDocType <matches> `City` <AND> xCountries <matches> `<$xCountries$>` <AND>
    xStates <matches> `<$xStates$>`
    There is another problem though. We are able to add new states or cities by
    going to the specific state page or to the cit page and then edit it. But if we
    click edit on a secondary page e.g. on a State page(which contains list of
    cities) the correct values for cities are not getting populated in the Cities
    dynamic list in state edit window. Possible cause is that the eval function is
    not called in the edit window (which shows all applets), instead the eval
    function is called only in dynamic list fragment which is evaluated in the
    secondary page template for State. How can we make the eval function execute in
    the edit window as well?
    In fact the query is failing from paramters window itself. If I use Test Query
    it is returning 0 results.
    Is there a work around to address this problem? Hope I didn't confuse much.
    Regards,
    Pratap

  • 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,
    nithya

    Hi
    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