Dynamic Parameter List questions: Length and Custom Values

I've got a Crystal Report that I want to use Dynamic Values for.
Right now... this report is simply a "SELECT stuff  FROM table" SQL query... with a parameter that the report uses to filter.
I use a "Select DISTINCT value from table" to generate a list of values. I put those values into a txt. I then import the text into a static list. This creates a parameter list that is 11 "pages" long on the parameter screen. I also have "custom" values allowed. This is to allow for "new" values and also allow not needing to browse 11 pages for one or two known values.
If I turn the parameter into a Dynamic List based on the same Select statement it stops at 5 pages, obviously cutting off half of the possible values.
Dynamic List also removes the ability to do Custom Values. The filter option wouldn't be a bad alternative BUT it don't work for pages 6+ that aren't there.
How can I remove the 5 page limit (or whatever it is) for Dynamic values?
Thanks
Chris
Edited by: WernerCD on Aug 4, 2010 4:14 PM

There is a limit of 1000 records in dynamic parameters. You can change this by adding a registry value:
registry key : HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV
and then add a key called MaxRowsetRecords and give it a value.
if you have Crystal 2008 then the above registry folder will say Suite 12.0.

Similar Messages

  • Report Viewer Dynamic Parameter List not showing a complete list of values

    Hi, I have installed the crystal report runtime 13.0.1.220 for framework 4.0 in a 64-bit windows 7 professional server.
    I have an aplication that opens crystal reports using the crystal report viewer control for visual studio 2010, also version 13.0.1.220.
    ISSUE: The report opens fine, but it does not shows all the available values in the dynamic parameter list.
    I have tried setting the MaxRowsetRecords registry key to diferent values but it does not work.
    I do not have any crystal report stand alone version installed in my server.
    Please help me?

    Hi Ludek,
    yes i followed the instructions of the KBase you are mentioning, but it isn't working for me.
    I modified the following keys:
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    and
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    1) I had to create the LOV key under the DatabaseOptions in both keys.
    2) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
    3) I restarted my server. Still not working.
    4) Then after that i modified the following registry keys: (leaving the first 2 keys modified)
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\DatabaseOptions\LOV
    and
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\DatabaseOptions\LOV
    5) Also had to create the LOV key under the DatabaseOptions in both keys.
    6) Inside the LOV keys I created the new string value MaxRowsetRecords and set the value to different values. (Ex: 5000, 10000 and 1000000)
    7) Restarted my server. still not working
    8)  Then after that i modified the following registry key: (leaving the first 4 keys modified)
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports Designer Component\ReportView
    Inside this key I created the DWORD PromptingLOVBatchSize and gave it a decimal value of 1000000
    9) Restarted the server. Still not working. For crying out LOUD!!

  • IMPORT from database with dynamic parameter list

    Hi Gurus,
    Iu2019m having problems during import from a cluster table.
    I wanu2019t to do an import with a dynamic parameter list, but I cannot get it to work.
    Sample code ********
    DATA: BEGIN OF st_key,
    report LIKE rsvar-report,
    variant LIKE rsvar-variant,
    END OF st_key.
    DATA dirtab1 LIKE cdir OCCURS 10 WITH HEADER LINE.
    DATA dirtab2 LIKE cdir OCCURS 10 WITH HEADER LINE.
    st_key-report = 'ZPRG'.
    st_key-variant = 'VAR1'.
    IMPORT DIRECTORY INTO dirtab1 FROM DATABASE vari(vb) ID st_key.
    IMPORT DIRECTORY INTO dirtab2 FROM DATABASE vari(va) ID st_key.
    DATA: tmp_var(100)   TYPE c.
    This works - P_BWTAR is a parameter from the selection screen registred in VARI
    I'm getting the content of the field in tmp_var
    IMPORT p_bwtar TO tmp_var FROM DATABASE vari(va) ID st_key.
    This does not work - the parameter P_BWTAR is in the dirtab2-name
    I'm not getting the content
    LOOP AT dirtab2.
        IMPORT dirtab2-name FROM DATABASE vari(va) ID st_key.
      ENDIF.
    ENDLOOP.
    I have tried the syntax IMPORT (dirtab2-name) ........
    but this fails the syntax check.
    Please - if you have any suggestions  :o)
    Best Regards,
    Vibeke

    Dear Vibeke,
    Could you please explain us how you solved the problem because you have the same issue ?
    thanks a lot
    KR
    véronique

  • What is the maximum number of records in a dynamic parameter list of values?

    In Crystal Reports Developer, I am attempting to add a dynamic parameter from a view.  The view has 6773 total records.  The field used for the parameter has 1819 distinct values, none of which are null.
    I have the parameter set to allow multiple values, and I have added
    field is equal to parameter
    in the select expert.
    However, when I refresh the report and tell it to prompt for new parameters, the list of values does not contain all the values, so about half of the records are dropped.
    Is there a way I can guarantee that all 1819 (or an unlimited number) records show up in the List of Values?

    This has been answered. Search forums for the results

  • Dynamic parameter list condition question.

    CR2008
    Let say I have a dynamic parameter based on EmployeeName field in Employee table. How can I limit a parameter drop down list only to employees from one specific department? I do not want to select department first, I want to "hardcode" it somehow. It seems that parameter setup window does not  have any search criteria.
    Thanks,
    Oleg

    Try to put the filter condition in business view manager. Once you publish the report to server by default it generates an LOV in repository. Now open the business view manger and select the LOV and click on the object definition icon to see related business view and data foundation. Now open the data foundation and in the field explorer try to insert a new filter and add the condition like ="department name" and apply this and save the datafoundation. Now right click on the filter edit rights and apply this to all the user groups. Now when you open the report and refresh the report you will be able to see only the list related to the department.
    Regards,
    Raghavendra.G

  • How to create Exchange dynamic distribution list using multivalue extension custom attribute

    I am trying to create a dynamic distribution list using an ExtensionCustomAttribute.  I am in hybrid mode with Exchange 2013.  The syntax I have is this: 
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {(ExtensionCustomAttribute2 -eq 'NH')} 
    This works correctly on-prem.  But hosted always results in an empty list.  I can see in dirsync the attribute is in the hosted environment, but for whatever reason, the distribution group gets created but always come up null.
    If I create a group looking at the single valued attributes, such as CustomAttribute6 -eq 'Y', it works correctly on-prem and hosted.  
    If anyone has any suggestions I would appreciate it.

    I don't think I provided enough information about the problem.  Let me add some and see if it makes sense.
    I have an Exchange 2013 on-premise configured in hybrid mode with Office365.  For testing purposes, I have 2 users, Joe and Steve, one with the mailbox on-prem, and the other with the mailbox in the cloud.  Each of them has CustomAttribute6 = 'Y'
    and ExtensionCustomAttribute2 = 'NH'. Dirsync shows these users and these attributes are synced between on-prem and cloud.
    Using on-prem Exchange powershell, I run the following command:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them as follows:
    $DDG = Get-DynamicDistributionGroup DG_NH
    Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter | FT alias
    So I then delete this DG, and recreate it this time looking at the multi-value attribute ExtensionCustomAttribute2, as follows:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    Replaying the query above, I can see this also works fine and finds my two users.
    Next I open a new powershell and connect to Office 365 and repeat the process there.
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them.
    And then delete the group and recreate it using the multi-value attribute:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    When I run the query this time it produces no result.  Every test I try results in an empty group if I am using a multi-valued attribute in the search criteria in the cloud.  If I use single valued attribute, it works fine.
    I really need to be able to get multi-valued DDG's working in the cloud.  If anyone has done this and has any suggestions, I would appreciate seeing what you did.  And if this is the wrong forum to port this, if you can point me to a more suitable
    forum I will report there.
    Thanks,
    Richard

  • Dynamic Parameter List works on desktop but not when run on Crystal Server

    Hi,
    I have a report, and the database command query takes one parameter ({?Year}. There is a second parameter used for a record select which is a dynamic paramenter list (multiple select, required). When running the report from Crystal Reports 2008 on my desktop, it first prompts for a year, and then once that is entered, it will come back with the list (of Companies) to select from. It works very smootly and as desired.
    But when I load this report to Crystal Reports 2008 Server, it will ask for the year (which is a static list), and this is good, but then it comes back with an empty dynamic select list on the next screen.
    Are there any special caveats that I need to be aware of in regards to dynamic lists when running from the CR server?
    Thanks!

    Hi Pat, 
    This should work but a couple of things to check: 
    1)  Are the two parameters linked to the same database?  If the parameters are linked to fields from different tables in different databases then you need to make sure you set the Database Configuration and have the report log on to both databases. 
    2)  Are Crystal Reports and Crystal Server the same version?  I had problems with parameters after we upgraded to 2008.  We had to install the latest service packs for both Crystal 2008 and the Enterprise Server.  Then we installed Crystal 2008 on the same machine the Enterprise Server was on.  Crystal Reports and the Enterprise Server share some common files.  Some of those files were updated for Crystal but not for the Enterprise Server yet.  Once we synched them our reports have run fine. 
    Good luck,
    Brian

  • Listing row length and count of rows

    Hi,
    I am trying to write a piece of code to fetch number of rows grouped monthly and running out of ideas, please help .. here is my requirement.
    I have a flat file which contains table names and I need to query for the date column from those table, group it by month, number rows in that month. The generated output should contain the table_name, month, rowcount, and avg_row_length of that table.
    Please advice.
    Thanks.

    Hi
    Good, I understand a lot better now. Sorry, I mis-read your first message.
    You need to do some kind of dynamic SQL, that is, you want to run a query like:
    select    '&table_name'
    ,         to_char(update_date, 'Mon-yyyy')
    ,         count(*) row_count
    from      &table_name
    group by  TRUNC (update_date, 'MM')
    ORDER BY  TRUNC (update_date, 'MM');Does every table have a column called update_date, or is it called by different names in different tables? Either way, you can create a script (let's call it one_table.sql) that accepts an input parameter (the table name), and contains the query above.
    Then, to call that for each of your tables, you vould create another script that contains:
    -- Adjust SQL*Plus output settings
    SET  FEEDBACK    OFF
    SET  PAGESIZE    0
    SET  VERIFY      OFF
    SPOOL  combined_output.lst
    -- Write common header line for the whole file
    PROMPT  table_name   Month     Rowcount    avg_row_len
    -- Run query on each table
    @@one_table  tab1
    @@one_table  tab2
    @@one_table  tab3
    -- Finished.
    SPOOL OFFThis will produce an output file like this:
    table_name   Month     Rowcount    avg_row_len
    tab1         Jan-2008       20      100
    tab1         Feb-2008       30      100
    tab1         Mar-2008       40      100
    tab2         Jan-2008       20      200
    tab2         Feb-2008       50      200If you want to print the table name only on the first row, like this:
    table_name   Month     Rowcount    avg_row_len
    tab1         Jan-2008       20      100
                 Feb-2008       30      100
                 Mar-2008       40      100
    tab2         Jan-2008       20      200
                 Feb-2008       50      200You can make the query in one_table.sql a little more complicated: use ROW_NUMBER or ROWNUM to number the rows, and use CASE to print the table name on row #1, and nothing on the others.
    Are you generating the list of tables yourself? If so, then instead of generating just the names, you might generate
    @@one_table  tab1
    @@one_table  tab2
    @@one_table  tab3or even the entire main script.
    Sorry, I have to go now. See how far you can get with this, and post again if you have problems.

  • Limit dynamic parameter list to data added in last month

    I have a crystal reports X1 report that uses a dynamic parameter for users to select. This parameter displays all database entries for the field. The field is called PLANNAME and lists out names that users have entered from the main application screens. I want to limit the display of these plan names to the most recent based on the CREATEDATE which is a field on the table that the Planname is stored.
    Is there a way that Crystal reports can restrict / limit the list of vaules returned and available for report users to select. The list is steadily growing, and now requires the report users to scroll through hundreds of plannames (that is, all the plan names that have been created over the last two years).
    Look forward to any suggestions.
    Regards
    dave

    Just a follow-up on progress ...... which has been a bit slow.
    Have got into the Business View Manager and found the vaious parameter levels PLANNAME DC, PLANNAME_BE, PLANNAME_BV, PLANNAME_DF, and added the following filter to the data_foundation: (note: first part is a View I have created, )
    {CRYSTALVW_EFTPLANDETAIL.PLANNAME} in LastFullMonth.
    I have not been able to add the SQL expression as it errors with reference to the INCORRECT SYNTAX NEAR THE KEYWORD "select"
    SELECT DISTINCT PLANNAME, DATECREATED FROM CRYSTALVW_EFTPLANDETAIL WHERE DATECREATED >= '2009-01-01'
    Note, this works okat in Enterprise manager Query Analyser, but not in the DF data_foundation.
    and the suggestion you made:
    SELECT DISTINCT PLANNAME FROM CRYSTALVW_EFTPLANDETAIL WHERE DATECREATED >= DATEADD('m',-1,GETDATE())
    This produces the same error message - INCORRECT SYNTAX NEAR THE KEYWORD "select"
    and I can not get this to work in Query Analyser - error message is
    Server: Msg 1023, Level 15, State 1, Line 2
    Invalid parameter 1 specified for dateadd.
    I shall continue to work thru this, but would appreciate any helpful hints.
    many thanks
    Dave

  • Query to reterive the list of parameters and there values for scheduling

    I am develeoping a web application using java sdk want to reterive a parameter list for scheduling.
    i want a query that will reterive the list of parameters
    as we see on the parameters screen in CMC when we schedule the report.

                   // Loop through the parameters to get the parameter names and parameter values.
                            for(int i=1;i<=numberPrompts;i++)
                           // Each prompt has the name SI_PROMPT + a digit starting from 1.  For example, if
                           // there are 2 prompts, the first one would be called SI_PROMPT1 and the second
                           // one would be called SI_PROMPT2.
                       IProperties prompt = (IProperties)siPrompts.getProperty("SI_PROMPT"+i).getValue();
                           // Get the parameter name.
                       String promptName = prompt.getProperty("SI_NAME").getValue().toString();
                           // Start displaying a row.
                           out.println("<tr>");
                              // First column in the row is the parameter name.
                       out.println("<td>Parameter Name = "+promptName+"</td><td><table>");
                           // Get the current values property bag.
                       IProperties currentValues = (IProperties)prompt.getProperty("SI_CURRENT_VALUES").getValue();
                           // Get the number of values for this particular parameter.
                           int numberValues = ((Integer)currentValues.getProperty("SI_NUM_VALUES").getValue()).intValue();
                           // Loop through all of the values for this particular parameter.
                           for(int j=1;j<=numberValues;j++)
                               // Print out the values.
                            // Each value has the name SI_VALUE + a digit starting from 1.  For example, if
                            // there are two values, then the first value would be called SI_VALUE1 and the
                            // second value would be called SI_VALUE2.
                        IProperties currentValue = (IProperties)currentValues.getProperty("SI_VALUE"+j).getValue();
                            // Check for the existence of the "SI_MIN" and "SI_MAX" properties.
                            // If it exists, then display the value.
                            if (currentValue.getProperty("SI_MIN") != null && currentValue.getProperty("SI_MAX") != null)
                                     // The SI_MIN and SI_MAX properties exist.
                                if (currentValue.getProperty("SI_MIN").getValue() != null && currentValue.getProperty("SI_MAX").getValue() != null)
                                    // The properties have values.
                                 // Get the SI_MIN property bag.
                                 IProperties minRange = (IProperties)currentValue.getProperty("SI_MIN").getValue();
                                 // To store the minimum and maximum values.
                                 String minValue = "";
                                 String maxValue = "";
                                 // Get the SI_DATA property of the SI_MIN property bag.
                                 // First verify that SI_DATA exists.
                                 if (minRange.getProperty("SI_DATA") != null)
                                                // SI_DATA exists within SI_MIN
                                     if (minRange.getProperty("SI_DATA").getValue() != null)
                                         // SI_DATA has value so set the minValue to this.
                                      minValue = minRange.getProperty("SI_DATA").getValue().toString();
                             // Get the SI_MAX property bag.
                             IProperties maxRange = (IProperties)currentValue.getProperty("SI_MAX").getValue();
                             // Get the SI_DATA property of the SI_MAX property bag.
                             // First verify that SI_DATA exists.
                                 if (maxRange.getProperty("SI_DATA") != null)
                                     // SI_DATA exists within SI_MAX
                                     if (maxRange.getProperty("SI_DATA").getValue() != null)
                                         // SI_DATA has value so set the maxValue to this.
                                      maxValue = maxRange.getProperty("SI_DATA").getValue().toString();
                             // Print out the Minimum and Maximum values for the parameter.
                             out.println("<tr><td>Range " + j + " Min Value " + minValue + " Max Value " + maxValue + "</td></tr>");
                                else
                                    // The SI_MAX and SI_MIN properties exist, but they don't have values.
                                 out.println("<tr><td>The SI_MIN and SI_MAX properties exist, but they don't have any values.</td></tr>");

  • List of Values (dynamic parameter) times out once and then works.

    Hello.  First time posting here.  I'm having a strange (yet very predictable) issue with Crystals Reports List of Values.  The List of Values is used on a dynamic cascading prompt and is published to the BO XI R2 repository.  The prompt/list works fine when using Crystal Reports thick client, but when using the Crystal Reports viewer from InfoView the following happens everytime:
    1.  Any Report that uses the Parameter/LOV is launched.
    2.  After about 1-2 minutes, the viewer returns a "Timeout" error message.
    3.  The report is launched a 2nd time.
    4.  The parameters/LOVs display (takes about 8 seconds) and the report runs fine.
    Then anytime a report is run within a certain period of time it works ok.  But if no one runs a report for an extended period of time (i'm not sure how long, but it's on the order of maybe 30 mins.. to an hour), then it starts all over again.  In addition, if I restart the services/server this same thing will immediately occur.  (time out once, but work after that for a period of time).
    I initially did not schedule the LOV to get generated on the server and left it so that it's done in real-time when the report ran.  But then when I ran into this error, I tried scheduling it every 10 minutes or so, but the error continues to happen.
    I also restarted the server/etc to no avail. 
    I saw another post on here that was kind of similar and that suggested that starting the LOV services as a domain user (that had admin rights on the BO server) helped him.  I tried this as well and restarted everything but that didn't fix my issue.
    Any help would be greatly appreciated!
    Scott

    Just wanted to update this.
    Because I use Business Objects OEM, I didn't have direct support with SAP/Business Objects.  However, because of this issue (and other issues) we purchased Business Objects Edge 3.0.
    After getting BOE 3 installed/configured, I migrated those reports and underlying Business Views over.
    And guess what?   The problem still occurred on the new platform.
    I then created a support incident and the person that initially tried to help me couldn't figure out what was going on.
    However, during that time, I did try re-creating the report using a newer version of Crystal (Crystal 2008) and the problem went away.  (note, I didn't recreate the business views.. just the reports).
    So bottom line:
    I created all reports from scratch instead of using the reports that I migrated from BO XI R2/CR XI and no longer had the problem.
    The techs never figured out the exact cause of the issue.
    So far, my experience with their support has been the same on all incidents.  They don't seem to be trained (at least at the 1st level) for actually using the debug/logs/etc to help quickly pinpoint/analyze issues.  They do basically like I do (the end user) and smartly poke around and do trail/error.  I have yet to get a support tech that knew the exact nature of my issue and could solve it without this kind of trial/error approach.

  • Dynamic parameter list values

    Hi all,
    I'm new with Crystal Report, and I have a problem.
    The goal is to create a Price List based on SAP conditions tables.
    So, In my report I have linked table  Axxx KONP KNA1 MAKT  MVKE T179T  TINCT TVSBT.
    All work find except for the customer parameter selection.
    I want create a dynamic list with Customer Number and description (but only those which exist in table Axxx)
    I can create a dynamic list based on KUNAG and KUNWE from table Axxx(master table), but I have only the Number  of customer and no description (because description don't exist in Axxx table)
    I have try to select NAME1 form KNA1 table, but without success.
    I have search in SAP about a table which contain Number, Name1 and Parvw(partner role) but without succes.(table KNVP don't have Name1)
    I have try to create list value from KNA1 but whe have much more customer and the list is > then 1000 occurence(too big!)
    Do someone have an idea to create a dynamic list which take his information from two tables linked ?
    Or another solution to reach the goal...:)
    Thank in advance for your suggestion,
    Regards
    Martine Bombardelli

    Your requirement for me looks like a straight forward task.
    If you need a DP on 2 fields from 2 different tables in SAP using Integration Kit all you need to do is:
    > create a new parameter in the report
    > select 'Dynamic' from the List of Values drop down. Your options in the Parameter window will change for dynamic compared to static.
    > Choose Data Source: New
    > Below 'Value' select table1.Customer number and next to it under 'Description' select the table2.Description and set the further options you require under the Value options.
    Just as an FYI...there is no option to have a custom SQL when working with SAP Intg Kits. Business View Manager is also not helpful.
    So if a dynamic prompt is needed for a Crystal report above are steps it can be achieved, no other option is available today.
    Thanks,
    Madhu

  • Dynamic parameter list in a webservice MXML request

    Hello,
    I'd like to dynamically generate the request parameter of a
    web service like that :
    &lt;mx:Application xmlns:mx=&quot;
    http://www.adobe.com/2006/mxml&quot;
    layout=&quot;absolute&quot;&gt;
    &lt;mx:WebService id=&quot;pegasus&quot;
    wsdl=&quot;
    http://myservice?wsdl&quot;
    useProxy=&quot;false&quot;
    load=&quot;headers();&quot;&gt;
    &lt;mx:operation name=&quot; myOperation
    &quot;&gt;
    &lt;mx:request&gt;
    &lt;arg0&gt;
    &lt;parameter1&gt;{parameter1Input.text}&lt;/parameter1&gt;
    &lt;parameter2&gt;{parameter2Input.text}&lt;/parameter2&gt;
    &lt;listParameter3&gt;
    &lt;element1&gt;????&lt;/element1&gt;
    &lt;element1&gt;????&lt;/element1&gt;
    &lt;element1&gt;????&lt;/element1&gt;
    &lt;element1&gt;????&lt;/element1&gt;
    &lt;/listParameter3&gt;
    &lt;/arg0&gt;
    &lt;/mx:request&gt;
    &lt;/mx:operation&gt;
    &lt;/mx:WebService&gt;
    So I'd like to know how to generate the list, with an unknown
    number of elements, from a datagrid for example.
    I tried to generate a XML from a variable like that :
    &lt;mx:Application xmlns:mx=&quot;
    http://www.adobe.com/2006/mxml&quot;
    layout=&quot;absolute&quot;&gt;
    &lt;mx:WebService id=&quot;pegasus&quot;
    wsdl=&quot;
    http://myservice?wsdl&quot;
    useProxy=&quot;false&quot;&gt;
    &lt;mx:operation
    name=&quot;myOperation&quot;&gt;
    &lt;mx:request&gt;
    &lt;arg0&gt;
    &lt;parameter1&gt;{parameter1Input.text}&lt;/parameter1&gt;
    &lt;parameter2&gt;{parameter2Input.text}&lt;/parameter2&gt;
    &lt;listParameter3&gt;
    {myList}
    &lt;/listParameter3&gt;
    &lt;/arg0&gt;
    &lt;/mx:request&gt;
    &lt;/mx:operation&gt;
    &lt;/mx:WebService&gt;
    &lt;mx:Script&gt;
    &lt;![CDATA[
    public var myList:XML;
    public function essai():XML {
    // call this function before send
    // populate myList from formulary
    ]]&gt;
    &lt;/mx:Script&gt;
    But it didn't work, can you help me ?

    This current problem with the forum makes code almost
    impossible to read. Hope they fix it soon.
    You can build the request object in AS code. Use mxml to
    declare the webservice. Then in a function do something like this
    example:
    //Sets up and invokes werservice call
    private function getEmployees():Void
    var sOperationName:String = &quot;getList&quot;;
    //Put the operation name in a var
    var oRequest:Object = employeeWS[sOperationName].request;
    //get a reference to the operations request object
    oRequest.deptId = dept.selectedItem.data; //put the deptId
    Name/Value pair in the request
    var call = employeeWS[sOperationName].send(); /Invoke the
    call
    Tracy

  • Question: TLD and custom Tag Usage.

    Hi, I am new to the custom tags and I am confused with one of the examples.
              The TLD has
              <tag>
              <name>item</name>
              <tagclass>com.taglib.wdjsp.mut.OutlineItemTag</tagclass>
              <bodycontent>JSP</bodycontent>
              <info>
              Delineates an item, possibly including subitems,
              within a nested outline.
              </info>
              <attribute>
              <name>text</name>
              <required>true</required>
              <rtexprvalue>true</rtexprvalue>
              </attribute>
              </tag>
              This TLD specifies that the tag has body content that is JSP and not empty.
              The author uses the tag in the JSP page in the following way..
              <mut:item text="What is JSP"/>
              <mut:item text="Evolution of dynamic content technologies">
              <mut:item text="Common Gateway Interface"/>
              </mut:item>
              I wonder why the usage "<mut:item text="What is JSP"/>" - where the
              bodycontent is empty - does not violate the TLD.
              Is the bodycontent optional even if it is specified in TLD. What if it is
              tagdependent?
              thanks - Sri
              

    then in your code
    public void setEnabled(String enabled) {
    this.enabled = true;
    in your endtag reset the boolean to false;
    IMO, a cleaner approach would be
    private boolean enabled = false;
    public void setEnabled(boolean enabled) {
         this.enabled = enabled;
    }The advanatge is that
    <foo other_attributes enabled= "false"/> and
    <foo other_attributes/> will both evaluate to false;
    <foo other_attributes enabled= "true"/> will evaluate to true
    <foo other_attributes enabled= "will_this_work"/> will give an exception
    as the container cannot resolve it to a boolean value so that users will
    be forced to use true or false (or skip the attribute) which is how it
    should be.
    Also note the container cannot convert runtime expressions to boolean
    values. So if there's a String variable,say prompt in scope that has the
    value true, then<%
    String prompt = "true";
    pageContext.setAttribute("prompt", prompt);
    %>
    <foo other_attributes enabled= "<%=prompt>"/>
    will throw an error. (to do this you would have to specify rtexpr value of
    this attribute to true)
    For the above to work, your tag should be coded as shown below
    private boolean enabled = false;
    //note rtexpr value will always be Strings
    //container does not provide auto conversions
    public void setEnabled(String enabled) {
         this.enabled = new Boolean(enabled).booleanValue();
    }cheers,
    ram.

  • Leopard questions - Permissions and "Custom Access"

    I just (reluctantly) upgraded to Leopard (only because I wanted to install the iLife 09 which requires 10.5.6), and then the Permissions fun started. Install went fine and so did the updates. Then I ran Disk Warrior (new directory, repair permissions, check all files/folders).
    I tried to read all the posts I could find, but none dealt with these particular messages, so I thought I'd ask just to make sure....
    2. I have hundreds of "ACL found but not expected", but all of mine are on:
    "System/Library/User Template/" and then there seems to be every language listed.
    2. There are dozens of "permissions differ on" and they all relate to Front Row (should be -rw-r-r, they are lrw-r-r). I haven't even used Front Row....
    Can I safely ignore all of those?
    And, while I'm asking questions:
    Is the "You have custom access" showing in any Get Info window of any application a Leopard "feature" or what does it mean? When I first checked, I found that several apps (part of OS or third party) did not have me, the admin, with "read & write" access. Some had "read only" and some "no access", but all of them showed the custom access. I went through all the apps and made them "read & write", but the custom access remains. These are apps I use quite often such as Graphic Converter.
    Can I ignore the "custom access" or do I need to do something about it?

    2. There are dozens of "permissions differ on" and they all relate to Front Row (should be -rw-r-r, they are lrw-r-r). I haven't even used Front Row....
    Ignore per Mac OS X 10.5- Disk Utility's Repair Disk Permissions messages that you can safely ignore. They are innocuous and will recur each time you repair permissions.
    1. I have hundreds of "ACL found but not expected", but all of mine are on:
    "System/Library/User Template/" and then there seems to be every language listed.
    These are the result of upgrading instead of doing a fresh install of Leopard. They are basically harmless. Such errors in your Home folder can be repaired using the Reset Password selection from the Utilities menu after booting from the Leopard installer DVD. Check the bottom option to Reset ACLs and click the button. Do not make any other selections. This only affects ACLs in the Home folder. To fix all such items means you have to perform an Archive and Install of Leopard then run the 10.5.8 Combo Updater. If you don't want to do all this then just ignore the issue.
    The Custom Access is the result of the custom ACLs and simply means you've upgraded from Tiger which did not support ACLs while Leopard does.
    In fact there are literally thousands of topics and replies on these two topics throughout the Leopard forums that deal specifically with these particular messages which is why Apple issued the above linked tech note.

Maybe you are looking for

  • HT2500 CANNOT VIEW NEW MESSAGE TOOLBAR

    How can I get the new message toolbar. I am using mac mini with OS X version 10.7.03 and mail version 5.2 (1257). When I write a new email I have to open the address book in the dock to find my contacts. Makes emailing to several people very slow. I

  • Is there a way for 2 ipods to share the same downloaded podcasts?

    Is there a way for 2 ipods to share the same downloaded podcasts? Instead of having to download 2 sets and storing 2 sets?

  • Please help!!! Cant install itunes 10 x64

    Any help would be greatly appreciated. I cannot install itunes 10 x64. Keep getting error message saying bonjour services failed to start make sure you have sufficiant privelages. I have tried every fix i have seen including disabling my firewall and

  • Mail very slow in Mountain Lion

    The upgrade to Mountain Lion went smoothly but Mail works really badly afterwards. When sending an email, it takes a few minutes before the mail goes out. And that's with any size message. Auto-completion of mail addresses while composing takes multi

  • Totally new to flash, editing interactive cd

    Hi i am completely new to the whole aspect of flash and dreamweaver etc. and have recently been given a project of editing an interactive CD rom which was produced for a client by an outside company. I have managed to grab the basics of changing the