Binding Text input value to chart data provider

Hello, I am trying to develop a flex mobile application that generates the Chart.
Is there any way to set the text input value as a chart data provider?????
and if so, can you give me example?????

Perhaps a stupid question but when you change your
arraycollection do you do arraycollectioname.refresh()? If not,
that should be your problem, without the refresh method your visual
object will not update but your arraycollection will.

Similar Messages

  • Tachometer in WAD 3.5x - to show Avg of all values in the Data provider

    Hi All,
    I am creating a tachometer in WAD 3.5x.
    Actually the requirement for the tachometer i want to design is that it should display the Average value of the data column that is displayed in the dataprovider(which is a view in this case).
    My view (Data Provider for tachometer) contains only one data column, and its Result row contains the Average value for the data column. But when I run WAD, the tachometer doesnot read the result row, instead it reads each of the individual rows and creates a pointer for each record. Whereas as per my requirement, the tachometer should display only a single pointer depicting the average value of all records.
    I am trying to suppress all the single value rows and display only the result row in my view, am unable to do so.
    Any help would be much appreciated
    Thanks
    Shikha Verma

    Hi Shikha Varma
    Just quick thought just try with the swap axis and do the table cross verification..
    [Chart Types and its functions_Spedo meter|http://help.sap.com/saphelp_nw04/helpdata/en/c9/08533b97037963e10000000a114084/frameset.htm]
    As per the help in my RnD it is working but it is 7.X Wad just try it in 3.5 hope fully it will works for you..if not please excuse..
    Hope its clear a little..!
    Thanks
    K M R
    >
    shikha.v3 wrote:
    > Hi All,
    > I am creating a tachometer in WAD 3.5x.
    > Actually the requirement for the tachometer i want to design is that it should display the Average value of the data column that is displayed in the dataprovider(which is a view in this case).
    > My view (Data Provider for tachometer) contains only one data column, and its Result row contains the Average value for the data column. But when I run WAD, the tachometer doesnot read the result row, instead it reads each of the individual rows and creates a pointer for each record. Whereas as per my requirement, the tachometer should display only a single pointer depicting the average value of all records.
    >
    > I am trying to suppress all the single value rows and display only the result row in my view, am unable to do so.
    >
    > Any help would be much appreciated
    >
    > Thanks
    > Shikha Verma

  • Execute BAPI for different input values and dispaly data in a table

    Hi all,
    I have a specific problem about executing BAPI multiple times for different input values and didplay result in a table.
    I am using the code similar to the following logic.
    Bapi_Mydata_Input in = new Bapi_Mydata_Input();
    wdContext.nodeBapi_Mydata_Input().bind(in);
    String in = wdContext.currentperdataElement.getnumber();
    in.setDestination_From(10)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(20)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(30)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    And I want to display the data in a single table. I want the result in a table for Bapi execution based on input parameters passed 10,20 30.
    But I am getting the table data only for the input parameter 30.I mean its actually display the data in table only for the last input parameter.
    So May I ask you all if you know the solution for this problem.PLease advise me with some tips .or sample code is very much appreciated.I promise to award points to the right answer/nice advises.
    Regards
    Maruti
    Thank you in advance.

    Maruti,
    It seems that WDCopyService replaces content of node, rather then adds to content.
    Try this:
    Bapi_Persdata_Getdetailedlist_Input frelan_in = new Bapi_Persdata_Getdetailedlist_Input();
    wdContext.nodeBapi_Persdata_Getdetailedlist_Input().bind(frelan_in);
    final Collection personalData = new ArrayList();
    String fr1 = wdContext.currentE_Lfa1Element().getZzpernr1();
    frelan_in.setEmployeenumber(fr1);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    String fr2=wdContext.currentE_Lfa1Element().getZzpernr2();
    frelan_in.setEmployeenumber(fr2);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    wdContext.nodeNewPersonalData().bind( personalData );
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • How to capture text input value by user in a LOV search popup page?

    I need to capture the input by the user in LOV search page. I added one controller in the LOV region, and the flow is also working, but what I need to hold the search input in the search popup page. Also do you know what is the id of " Search Term" text input? then I can try to hold the value in PFR of the CO.

    Hi Sandeep,
    Yes, as of now I need to populate blank, so I need to modify the SQL, therefore I need to capture the value which is given by the user. I am trying to capture the value through passive criteria, but not able to get the result. I added below code in PFR of lov region controller,
           Dictionary passiveCriteriaItems = pageContext.getLovCriteriaItems();
           String lov = (String)passiveCriteriaItems.get("SwitchLOV");
          if ((lov != null) && !("".equals(lov)))
               throw new OAException(lov, OAException.INFORMATION); 
    SwitchLOV is a lov map I have added in the LOV, and
    Programmatic Query set to true. and
    LOV Region Item is the id for which user searches.
    I am getting null in the "lov" where i have give some value in the search field.
    Is this would be the way?
    I dont understand where is the issue, Please suggest.

  • Hold variable values while changing data provider parameters in a template

    Dear experts,
    I have a problem in WAD. I have about 7 reports with 2 Queries each. Because of lower maintenance expenditure i would like to use only one web template. I created a dropdown item with a fixed option list. Every option represents one report and has two Set-Data-Provider Paramters commands which change the queries. It works fine but it can't hold the variables values. Example: every query contains the same variable (with suggestion value). If i insert a value into variable screen at the beginning and then use the dropdown-item to select another report, the next report is always calculated with the suggestion value of the variable (not with the typed in value at variable screen). How could i hand over this value to the next report/queries?
    If there is any solution whitout ABAP-programming i would prefer it.
    Kind regards
    Doris

    Dear experts,
    I have a problem in WAD. I have about 7 reports with 2 Queries each. Because of lower maintenance expenditure i would like to use only one web template. I created a dropdown item with a fixed option list. Every option represents one report and has two Set-Data-Provider Paramters commands which change the queries. It works fine but it can't hold the variables values. Example: every query contains the same variable (with suggestion value). If i insert a value into variable screen at the beginning and then use the dropdown-item to select another report, the next report is always calculated with the suggestion value of the variable (not with the typed in value at variable screen). How could i hand over this value to the next report/queries?
    If there is any solution whitout ABAP-programming i would prefer it.
    Kind regards
    Doris

  • Bind an inputFile value to a data control methods parameter

    Hello I am trying to create a InputFile (ADF Faces) which is linked to a data control method. The method reads a specified file and returns the content which is then displayed in table form.
    <br><br>
    I have a filereader Class with the following method:
    <i>public List<FileInQuestion> returnFileContents(String fileName)</i>
    <br><br>
    I have created a data control based on this Class. From the JSF page, under the data control palette I can drag on may parameter 'FileName' (as input text) and my method (as command button) and finally the return type 'FileInQuestion' (as read only table). This all works fine and when I type a filename in and hit the button it displays the contents in a table.
    <br><br>
    Now the problem is that I want to base the input parameter on the value of the InputFile component. But when I drag and drop the 'fileName' parameter onto the canvas, it doesn't give me the option to create as an input file!
    <br><br>
    Please could someone tell me how I manually link (bind) the inputFile component to the 'fileName' parameter?
    <br><br>
    Sorry if a bit long winded!!
    <br><br>
    Thanks Dan
    Message was edited by:
    user593073

    Thanks Frank but I need to get at the text value returned from the inputfile component. I did what you said with the following results:
    <br><br>
    I started with a inputtext field, command button and read only table. When I entered a value (in this case 'C:\data\contacts.txt' ) into the inputtext field and hit the command button the table displayed the expected results (for logic please see my 1st post).
    <br><br>
    I then convert the inputtext component to a inputfile component in the way you suggested. I now rerun the application, browse to the same file and hit the command button, and then nothing!! no results.
    <br><br>
    I'm I missing something here?
    <br><br>
    Thanks
    <br><br>
    Dan

  • Webi Excel Personal Data Provider Dynamic Data

    Hello,
    We are using BOXI 3.1/SP2. I understand that we can use Excel documents as a personal data provider. I have myself used it to mix data from universe and an excel file from my local machine- using Rich Client.
    I am wondering if it's possible for the report to reflect dynamic data. For e.g: Is there a way for the webi report to pick-up any updates in excel sheet automatically or in next scheduled refresh etc?
    Thanks

    Hi All,
    With SAP BusinessObjects XI 3.1 SP3 refresh of Web Intelligence documents
    created from custom data sources like text, excel files and Custom Data
    Provider plug-in are supported in Infoview.
    Note:
    The refresh option is available for Windows operating system only.
    To refresh a text or excel file, set the RefreshOnServer registry to the
    following values:
    RefreshOnServer = NO or Disable to disable refresh on Server.
    RefreshOnServer = YES or ENABLE to enable refresh on Server, by
    default it is set to YES or Enable.
    RefreshOnServer = ALLOW_USE_WINDOWS_SHARE to enable refresh
    on Windows server only.
    The registry path is: HKEY_LOCAL_MACHINE > SOFTWARE > Business
    Objects > Suite 12.0 > Default > Web Intelligence > Calculator > PDP.
    Before refreshing a document from Infoview make sure that the following
    points are taken care:
    1. The Custom Data Provider has to be on the BOE server, if it is clustered
    then each and every cluster needs to be updated with the same copy of
    Custom Data Provider.
    Note: You cannot publish excel file to CMS and read from there, its should be
    on the BOE server or shared path on file system
    2. Incase of a blocker issue and the file cannot be accessed from its original
    source location then the file should be placed in the default location for
    each server.
    The default server path is <Installdir>Business
    Objects\PersonalDPFilessymantec, you can change this path by
    changing the value of Server_Path in the registry.
    3. The Server Intelligence Agent (SIA) should be managed by a user
    authentication valid in the network domain. Normally SIA is managed
    using local system account; this practice is not recommended when
    deploying Custom Data Provider in server.
    You can find more info XI 3.1 SP3 WebI Rich Client docunentation. Hope this helps.
    Cheers
    -P

  • Trying to find a sampe for getting an input value on struc

    i am buliding an stuct application, accept an input from a box, then show the serarch result on the a new page, I am using ADF and struct, but I have difficult to find simple to use the data model like this, how can I bind the input value and query with that inpput, and show the query reult on the new page? I can lern some knowledge from:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-detail_pagewith_ejb.htm
    but this is for commit update, but not have sense on the query. any help.
    thanks

    A check in the App store and a Google search is not promising. There appears to be a reader/viewer for a PC but none for any Apple product.

  • How to bind BubbleSeries data provider?

    Hi,
    I have a bubbleChart and multiple bubble series inside it. Initially I set the data provider of each of my series. Later, when I update the array collections (to which my bubble series's data provider was binded), bubble series' data provider is not updated.
    <mx:BubbleChart>
         <mx:BubbleSeries dataprovider={arr[0]}>
         </mx:BubbleSeries>
         <mx:BubbleSeries dataprovider={arr[1]}>
         </mx:BubbleSeries>
         <mx:BubbleSeries dataprovider={arr[2]}>
         </mx:BubbleSeries>
    </mx:BubbleChart>
    In actionscript, arr[0],arr[1] and arr[2] are updated. I want to see updated bubbleseries too, but in vain.
    I have marked arr as bindable.
    Please help..
    Thanks,
    Tanu

    Hi Tanu Jain,
    If you have no problem updating the values there itself.. then you can do one thing...But the way you are trying to update the things is however correct but it will not update the values for BubbleSeries. The reason is why because the each object and its properties in the expenses array collection are not Bindable as since the objects in the expenses array collection are generic objects.
    In order to make the objects bindable you can make use of a seperate class and make all the properties Bindable as needed so that you can acheive things you needed.
    And one more thing here to note is ...when you are assiging the dataProvider the first time in the for loop you are using the below line of code...
    bubbleSeries.dataProvider = expenses.getItemAt(i);
    But in the click handler you are reassigning the dataProvider as expenses = expenses1; by doing so you are assigning/adding new items to your expenses ArrayCollection but the binding you assigned to the bubbleSeries dataProvider are different items so there is no possibility of updating the values to the BubbleSeries by this approach so you should update the values there itself by making use of external Bindable class so that Bubble Series gets updated correctly.
    Actually I got this sorted out yesterday itself but you said as you are having some 200 - 300 series it is taking more time delay to get updated by reassigning the dataProvider by looping through the series as I suggested in my previous post. By updating the values there itself say if you have some 300 - 400 rows in your expenses ArrayCollection then you need to loop through all the rows(300 - 400 times)  and update all the properties within that Object.
    Any way try this example below which I am explaining above...hope this is less expensive when compared to reassigning the dataProvider again..
    <!-- Bindable class BubbleSeriesVO -->
    package
    [Bindable]
    public class BubbleSeriesVO
            public var Month:String;
            public var Profit:Number;
            public var Expenses:Number;
            public var amt:Number;
      public function BubbleSeriesVO()
    <!-- Application Source Code -->
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" minWidth="955" minHeight="600" creationComplete="init()">
        <mx:Script>
            <![CDATA[
                import mx.charts.series.BubbleSeries;
                import mx.collections.ArrayCollection;
                /* [Bindable]
                public var expenses:ArrayCollection = new ArrayCollection([
                    {Month:"Jan", Profit:2000, Expenses:1500,amt:200},
                    {Month:"Feb", Profit:1000, Expenses:200,amt:340},
                    {Month:"Mar", Profit:1500, Expenses:500,amt:500}
                [Bindable]public var expenses:ArrayCollection;
                [Bindable]public var expenses1:ArrayCollection;
                /* [Bindable]
                public var expenses1:ArrayCollection = new ArrayCollection([
                    {Month:"Jan", Profit:2500, Expenses:1500,amt:1000},
                    {Month:"Feb", Profit:1500, Expenses:200,amt:2000},
                    {Month:"Mar", Profit:2000, Expenses:500,amt:1500}
                private function createExpensesCollection():void
                 //Creating expenses ArrayCollection
                 expenses = new ArrayCollection();
                 var bubbleVO:BubbleSeriesVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Jan";
                 bubbleVO.Profit = 2000;
                 bubbleVO.Expenses = 1500;
                 bubbleVO.amt = 200;
                 expenses.addItem(bubbleVO);
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Feb";
                 bubbleVO.Profit = 1000;
                 bubbleVO.Expenses = 200;
                 bubbleVO.amt = 340;
                 expenses.addItem(bubbleVO);
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Mar";
                 bubbleVO.Profit = 1500;
                 bubbleVO.Expenses = 500;
                 bubbleVO.amt = 500;
                 expenses.addItem(bubbleVO);
                 //Creating expenses1 ArrayCollection
                 expenses1 = new ArrayCollection();
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Jan";
                 bubbleVO.Profit = 2500;
                 bubbleVO.Expenses = 1500;
                 bubbleVO.amt = 1000;
                 expenses1.addItem(bubbleVO);
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Feb";
                 bubbleVO.Profit = 1500;
                 bubbleVO.Expenses = 200;
                 bubbleVO.amt = 2000;
                 expenses1.addItem(bubbleVO);
                 bubbleVO = new BubbleSeriesVO();
                 bubbleVO.Month = "Mar";
                 bubbleVO.Profit = 2000;
                 bubbleVO.Expenses = 500;
                 bubbleVO.amt = 1500;
                 expenses1.addItem(bubbleVO);
                private function init():void
                 createExpensesCollection();
                    var bubbleSeriesColl:Array = new Array();
                    for(var i:int = 0; i < expenses.length; i++)
                        var bubbleSeries:BubbleSeries = new BubbleSeries();
                        bubbleSeries.xField = "Profit";
                        bubbleSeries.yField = "Expenses";
                        bubbleSeries.radiusField = "amt";
                        bubbleSeries.dataProvider = expenses.getItemAt(i);
                        bubbleSeriesColl.push(bubbleSeries);               
                    myChart.series = bubbleSeriesColl;               
                private function clickHandler():void
                    //expenses = expenses1;
                    for(var i:int = 0; i < expenses1.length; i++)
                     if(i >= expenses.length)
                      break;
                     (expenses.getItemAt(i) as BubbleSeriesVO).Month = (expenses1.getItemAt(i) as BubbleSeriesVO).Month;
                     (expenses.getItemAt(i) as BubbleSeriesVO).Profit = (expenses1.getItemAt(i) as BubbleSeriesVO).Profit;
                     (expenses.getItemAt(i) as BubbleSeriesVO).Expenses = (expenses1.getItemAt(i) as BubbleSeriesVO).Expenses;
                     (expenses.getItemAt(i) as BubbleSeriesVO).amt = (expenses1.getItemAt(i) as BubbleSeriesVO).amt;
                    expenses.refresh();
                    //updateBuubleSeries();
                private function updateBuubleSeries():void
                  for(var i:int = 0; i < myChart.series.length; i++)
                        myChart.series[i].dataProvider = expenses.getItemAt(i);
            ]]>
        </mx:Script>
        <mx:BubbleChart id="myChart" showDataTips="true">          
        </mx:BubbleChart>
        <mx:Button label="change Data" click="clickHandler()" />
    </mx:Application>
    Thanks,
    Bhasker

  • Is it possible to link a text box or shape to a specific chart data point

    Is it possible to link a text box or shape to a specific chart data point?
    Thanks for any help.
    saint3x

    It seems you may be trying to make a timeline.  There are timeline tools out there that may be better for your particular task than Numbers.
    Google search"
         http://www.beedocs.com/easytimeline/
         http://www.tiki-toki.com/desktopapp/
    App Store result for a search "timeline - calendar" produce several options
    Numbers has no object like a textbox or line that takes input from a cell of a table.  You can make suggestions to Apple using the menu item "Numbers > Provide Numbers Feedback"

  • Unable to provide input value to InfoObject in SEM-BCS

    Hello BI Experts,
    I have created an infoobject 'ABC' in BI and have flagged 'With Master Data' and 'With Text'.  This infoobject has an navigational attribute 'XYZ'(XYZ also has 'With Master Data' and 'With Text').
    When I go to T.Code UCWB(BCS Workbench), I could able to see the infoobject 'ABC' and when I try to create master data for 'ABC', I do not see the input field for 'XYZ'.  I want to input values in Infoobject 'XYZ' through this screen(SEM-BCS) and not through BI(right-click on infoobject 'Maintain Master Data).  Please let me know, if I am missing anything.

    Hi Shekar
    I find the ICD setup very 'picky'! If you get one thing wrong, it doesn't work. I have detailed below the steps I usually advise people to tek. Check your setup and see if this helps.
    1. Define Plan Type, Compensation Category = Others.
    2. Define Plan. Link to Plan Type. Plan Usage = May not be in program. On Not in program Tab - define sequence, currency, enrollment rate (per pay period?), activity reference period (Monthly). Your settings may need to be different. On Plan details tab, enter plan years.
    3. Plan enrollment requirements. On the general tab, plan sub tab, make sure the method = EXPLICIT. this allows the user to enter an input value for the ICD. THIS MAY WELL BE THE SOURCE OF YOUR PROBLEM!
    Make sure the CERTIFICATION region is UNTICKED. This can also cause ICDs not to work.
    ALLOWS UNRESTRICTED ENROLLMENT must be TICKED. Otherwise there is no eligibility to the ICD.
    On the rates subregion, make sure the run strt date is set to ENTERABLE.
    4. standard Rates form. Make sure the ACTIVITY TYPE and TAX TYPE are entered. Select the ELEMENT and the INPUT VALUE and TICK the ELEMENT AND INPUT VALUE REQUIRED field.
    On the processing Information tab - TICK ASSIGN ON ENROLMENT, DISPLAY ON ENROLLMENT and PROCESS EACH PAY PERIOD. Enter PER PAY PERIOD AMOUNT in VALUE PASSED TO PAYROLL and OTHER in COMPENSATION CATEGORY.
    Let me know if this works!
    Regards
    Tim

  • Web Service Connection Date Input Values Converted to Number

    I am using a Web Service Connection that has an input value called 'ModifiedOn' that is a date type.  The problem that I have is that instead of sending a date string like '2008-08-04' it sends a number '39665' as the input to the web service method instead.  Is there a way to force a date string to be returned instead of the number?
    Here is the XML that is being sent to the web service method from Xcelsius:
    <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n0="http://tempuri.org/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soap:Header />
       <soap:Body>
          <n0:SaveScenerio>
             <n0:dash>
                <n0:Scenerio CreatedBy="1" MedianIncome="54000" ModifiedBy="-1" Deleted="false" Population="56001" Title="Scenerio 5" ModelId="14" Year="2008" Description="" ScenerioId="5" SystemName="Scenerio 5" CreatedOn="39665" ModifiedOn="39665">
                   <n0:Model ModuleId="" Description="" ModifiedBy="-1" Deleted="false" CreatedBy="1" CreatedOn="39665" Title="My First Model EDITED 2" ModifiedOn="39665" ModelId="14">
                   </n0:Model>
                   <n0:RateRevenueResidential RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="34000" NumNewCustomers="12000" RateRevenueId="" Deleted="false" MonthlyAvgUsage="10000" HookupCharge="74" VolumeCharge="0" VolumeRate="0.36" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="20" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueResidential>
                   <n0:RateRevenueCommercial RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="150" NumNewCustomers="12002" RateRevenueId="" Deleted="false" MonthlyAvgUsage="20000" HookupCharge="75" VolumeCharge="0" VolumeRate="0.37" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="30" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueCommercial>
                   <n0:RateRevenueIndustrial RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="34" NumNewCustomers="12003" RateRevenueId="" Deleted="false" MonthlyAvgUsage="30000" HookupCharge="76" VolumeCharge="0" VolumeRate="0.38" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="40" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueIndustrial>
                   <n0:RateRevenueGovernmental RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="6" NumNewCustomers="12004" RateRevenueId="" Deleted="false" MonthlyAvgUsage="40000" HookupCharge="77" VolumeCharge="0" VolumeRate="0.39" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="50" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueGovernmental>
                   <n0:RateRevenueOther RateRevenueTypeId="" CreatedBy="1" NumOfCustomers="10" NumNewCustomers="12005" RateRevenueId="" Deleted="false" MonthlyAvgUsage="50000" HookupCharge="78" VolumeCharge="0" VolumeRate="0.4" ScenerioId="" ModifiedBy="-1" CreatedOn="39665" FixedRate="60" ModifiedOn="39665">
                      <n0:RateRevenueType RateRevenueTypeId="" Description="">
                      </n0:RateRevenueType>
                   </n0:RateRevenueOther>
                </n0:Scenerio>
                <n0:ErrorMessage>
                </n0:ErrorMessage>
                <n0:Forecast EstSystemCapacityYear4="" Industrial="0" Other="0" RateRevenue="0" EstSystemCapacityYear5="" HookupRevenue="0" CreatedBy="1" OtherRevenue="0" ModifiedBy="-1" CapitalFunds="0" ModifiedOn="39665" OperationsNMaintenanceExpenses="0" GeneralNAdminExpenses="0" OtherExpenses="0" Governmental="0" Deleted="false" ResidentialRates="0" CapitalImprvFundsYear2="0" CapitalImprvFundsYear3="0" CapitalImprvFundsYear4="0" CapitalImprvFundsYear5="0" CapitalExpYear2="0" CapitalExpYear3="0" CapitalExpYear4="0" CustResidential="0" CapitalExpYear5="0" Year="2008" EstSystemCapacityYear1="" Commercial="0" EstSystemCapacityYear2="" CreatedOn="39665" ScenerioId="" EstSystemCapacityYear3="" Mhi="0">
                </n0:Forecast>
                <n0:Revenue CapitalDWSRF="5600" AnnualHookup="4561076" CapitalGovLoan="5600.01" CapitalBusinessLoan="5600.02" CreatedBy="1" CapitalGrant="5601.03" AnnualOperationg="14292490.399999999" ModifiedBy="-1" Deleted="false" OtherInterestIncome="5600" OtherRevenue="5600" CapitalWithdraw="5602.04" ScenerioId="" CapitalOther="5603.05" OtherFeesNServiceCharges="5600" AnnualRate="9731414.399999999" CreatedOn="39665" AnnualOther="16800" ModifiedOn="39665">
                </n0:Revenue>
                <n0:Expense OpsMartriesNSupplies="1000000" CapitalNonFacility="1000000" AdminEngineering="1000000" ModifiedBy="-1" OpsMonitoring="1000000" Deleted="false" CreatedBy="1" OpsTransportation="1000000" AdminConservation="1000000" ModifiedOn="39665" CapitalDebtService="1000000" OpsMisc="1000000" AdminMisc="1000000" OpsUnaccountedWater="1000000" OtherDepreciation="1000000" OpsSalariesNBenefits="1000000" AdminSalareisNBenefits="1000000" OtherDeductionsFeesExp="1000000" OpsPowerNUtility="1000000" AdminOfficeSupplies="1000000" CapitalNewFacilities="1000000" AdminInsurance="1000000" ScenerioId="" OpsChemicalNTreatment="1000000" CapitalOther="1000000" AdminLegalNAccounting="1000000" CreatedOn="39665" CapitalReplacement="1000000" CapitalLeakageRepair="1000000">
                </n0:Expense>
             </n0:dash>
          </n0:SaveScenerio>
       </soap:Body>
    </soap:Envelope>
    Edited by: Aaron Jackson on Aug 7, 2008 10:44 PM

    Hi Aaron,
    You may want to try formatting the cell of "ModifiedOn" to a TEXT format instead of date to get yyyy/mm/dd formatting to appear. 
    It seems that Xcelsius automatically converts any type of date-specific formatting (as specified from Excel) to a date serial, which is what you are seeing here.
    Hope that works.

  • I have a problem with a chart refreshing after its bound data provider changes.

    I have a problem with a chart refreshing after its bound data
    provider changes. After the subsetHighLowData.refresh() is called I
    would expect the chart to redraw, but it still looks the same. I
    even inspected the debugger to see if the slice had taken place and
    it had.
    Any ideas coding friends?

    "nikos101" <[email protected]> wrote in
    message
    news:gib6aa$prr$[email protected]..
    >I have a problem with a chart refreshing after its bound
    data provider
    >changes.
    > After the subsetHighLowData.refresh() is called I would
    expect the chart
    > to
    > redraw, but it still looks the same. I even inspected
    the debugger to see
    > if
    > the slice had taken place and it had.
    >
    > Any ideas coding friends?
    >
    > subsetHighLowData.source =
    >
    highLowData.source.slice(slider.values[0],slider.values[1]);
    Just use the ArrayCollection's removeItemAt, and it should
    handle the event
    dispatching for you.
    HTH;
    Amy

  • Bind, but only if input value length 3

    Hello, everyone.
    I'm working on a page that has a form; when someone starts typing something into a text input, this will bind to a CFDIV that contains a page that will send a query to the database, searching for records where columnA is like '%' + @string +'%'.
    The problem is that the database contains almost one million records, and if the input value = 'b', it takes 24+ seconds to return over 700,000 records.  But it will take about half a second to return the 3000+ records that match 'bar'.
    Is there a way to set it so that the bind does not occurr UNLESS the input value is at least three characters long?
    Or is there a better way to do this?
    Thanks,
    ^_^

    You can write some external Javascript to handle visibility of the CFDIV (e.g. if the div is empty, cause it to be hidden).
    In jQuery, for example:
    $('#cfdiv').change(function () {
       if($('#cfdiv').html() == '') {
         $('#cfdiv').hide();
       } else {
         $('#cfdiv').show();

  • Text Entry Box--Advanced Actions--Conditional Statement--Double quotes in literal input value

    Hello forums,
    I'm new to the forums (and Captivate in general), but I'm having a real problem carrying out a tutorial design and I think you may be my only hope.  Let me explain what I want to do and the difficulty that I'm having:
    I'm an instruction librarian at a university, and I'm designing an interactive tutorial for English 100 students to complete in order to become familiar with how to search the library catalog.  What I've done is taken a screenshot of the catalog search page, made it the background of a slide in Captivate (vers. 6), and placed a text entry box over the search bar in the screenshot.  The idea is for the students to conduct a simulated search by choosing one of three suggested search string formulations, and depending on the search string they enter, the tutorial will jump to a slide featuring a screenshot of what the actual search results would look like.  The idea is to emphasize the use of keywords over full-sentence phrases, and the use of double quotation marks to enclose multi-word search terms.
    So I've set the action for the TEB to "Execute Advanced Actions" and then created some IF/THEN statements in the "Advanced Actions" pop-up window (with action type set to 'conditional'). The script is such that if the student enters the first search option (how does sleep affect college students) in the TEB, the tutorial jumps to 1 slide, if they enter the second option (college students AND sleep), featuring a Boolean operator (AND), the tutorial jumps to a 2nd slide, and if they enter the third option ("college students" AND sleep) with the double quotes around "college students" and the Boolean operator, the tutorial should jump to a 3rd slide.  This action script works fine for the first two input options, but I can't make it work for the third search option.
    I think that it has something to do with the fact that the third input option features double quote marks, and this seems to throw off the script (I tried a quote-less input value for the third IF/THEN just to make sure that it would work jumping to the 3rd slide and it did), and I'm wondering if anyone has any suggestions as to how I can get around this issue.  Again, I need it to work so that if the student enters "college students" AND sleep, with the quote marks and the Boolean operator, the tutorial will jump to a slide showing the search results if those search terms were used in a real search of the catalog.
    I'd be extremely grateful for any help that anyone here can give me, we've been trying to make our online tutorials more engaging and interactive (and therefore more interesting), and I think this would be a great way to teach students about using quotes in their catalog searches.
    Thank you for your time and consideration.
    Andrew Wilk
    College Library
    UW-Madison

    The tutorial is for a "how to use catalog searching" instruction in an undergraduate library session.  We use boolean operators (AND, OR, NOT) to combine search terms, ex. to search for books about the sleeping habits of college students, I would enter "college students AND sleep."  Because "college students" is a multi-word phrase to describe one concept, I need to put quotation marks around the phrase to prevent the catalog from searching for the individual words separately, so the most correct search becomes ["college students" AND sleep] with quotation marks around only "college students," a user-typed "AND," and the word "sleep" (no q-marks).
    A colleague of mine worked out a pretty cool (if complicated) solution that I'll share if anyone is interested.  Since the q-marks where the problem, we've set it up so that the TEB validates the response for the search string with q-marks around "college students." If they enter it correctly, the tutorial jumps to the corresponding slide. The attempt # is set to 1, and if the user fails to enter the validated phrase (they misspell or use one of the other response options) then the TEB is set to run an Advanced Actions Script in which the other two options are scripted in IF/THEN statements that cause, when the term is entered correctly, the tutorial to jump to their corresponding slides. We've created another tab of IF/THEN statements that say that if the response is NOT equal to one of these response options, then the slide restarts (technically the slide "jumps" back to itself and starts over) and the user gets another chance to start the cycle over again.
    I know this is confusing (I had a really hard time explaining it in words), so if anyone is interested I could make a Jing video when I have some time.
    Thank you for all your suggestions

Maybe you are looking for