Programmatically use a view filter function

Are there any way to activate the built-in filter functionality from the SDK? (The one on top of a view: Edit Criteria->Add Criteria)
I need to make a task, which filters the current view, based on what the user selects in my task.
More specifically: A view has a number of columns, one of them being Classification Category. So by using a list of those, can I take the users input, and use it to filter a view by Classification Category?
Alternatively, as I suspect the above isn't possible, how do I display a list of incidents in a custom form? Something like the search window, I would like to be able to display a list of incidents, which corresponds to some criteria, and enable the users to
double-click to open them.

Yes, essentially. I'd like to define the content of my emails in facelets via XHTML files, ideally with as few restrictions on what parts of JSF/facelets can be used as possible.
To be a little more explicit, suppose I've defined my email contents in /WEB-INF/email.xhtml and it has parameters x, y and z. I'd like to have a class, say MagicViewRenderer, which could do the following:
MagicViewRenderer mvr = new MagicViewRenderer(facesContext);
mvr.setParameter("x", objX);
mvr.setParameter("y", objY);
mvr.setParameter("z", objZ);
String contents = mvr.render("/WEB-INF/email.xhtml");
// Use contents as the body of an email message

Similar Messages

  • What's user variable name using Smart View POV function (ex:HypGetActiveMember)?

    Hi,
    We want to use Smart View POV function (ex:HypGetActiveMember) to get the active member of user variables from HFM forms selected into Excel, but we don't know the user variable name in the following paragraph of Smart View developer guide:
    "To uniquely identify the user variable, provide the user variable name rather than the dimension name."
    For example, what's the user variable name of Year dimension? How to get the user variable name?
    Any information would be appreciated. Thank you!

    Hi,
    I guess user variable name is set by users/developers. I am not very clear on your question. If you have defined some variables to select any members from a dimension then it will be in HFM only. In planning we have two kinds of variables User Variables (we set it from Planning Preferences) and Substitution variable (we set it from Essbase Consol in the backend). Without looking into your application it is difficult to say the user variable name. Like for Year the user variables can be "PreviousYear", "CurrentYear", or "NextYear" etc.
    Soumya

  • Anyone have issues with data synchronization filter functions failing?

    We are on 11.1.1.3 and are observing filter failure when moving data from planning to HFM using data sychronization. The query is pulling more records than desired and erroring on the load to HFM on members that only exist in planning. In other cases, the quiery is pulling in upper level dim members.
    We have multiple dimensions where we are using level0(base) filter function to define the set of members. In one dimension, the filter error crosses to include leaf members outside of the set. On another dim, the filter error includes upper level members. The coincidence is that failures are occuring on dim where planing has more nodes than HFM.
    One on dimension, the error that pulled upper level members went away when I specified all leaf members using the EQUAL on the filter.
    Is this a known bug?
    Thanks

    Since Straight Talk customer service was no help at all by telling me to call apple instead of trying to help me, this is what I did to fix the issue! I am not saying it will work for you but it worked for me so what do you have to lose! First of all, I have a At&t iphone!
    The first thing I did was remove the Straight Talk APN Profile that was installed or remove any one there! Because of what I read in the Straight Talk website which was:::
    For iPhone customers who activated using anAT&T compatible SIM card, there is NO need to program APN settings as this will be done automatically.
    Ok, here is what I did after that: First I removed the SIM card from the phone, then I rebooted the phone, then I reset network settings, then put the SIM card back in and BAM, I had 3G once again!
    Please keep in mind I am no expert, It was just by chance that this worked for me! And all of this with no APN Profile what so ever! Good Luck,,,,Dano

  • Error while using a VIEW with a FILTER - 0x80131904

    Dear Colleagues,
    I've a list and I want to use a view with a filter on a specific field.
    [Attribution] is egal to [Me]
    My Sharepoint 2013 keeps providing this error when I open the view filtered :
    Exception from HRESULT: 0x80131904
    Correlation ID:fc8650d8-5f52-4ceb-b819-0f784ec0318f
    ULS shows the following :
    01/07/2014 17:44:58.41 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://vspar-spfw-01:80/Lists/Conduite%20Changement/Requtes%20Attribues%20%20Moi.aspx) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.42 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.42 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Temps d’exécution=13,5726747393873 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Benjamin RIOU' to data type int. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordead... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High ...lock) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation General xxpm High Unable to execute query: Error 0x80131904 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Temps d’exécution=12,6535635115636 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High Error while executing web part: Microsoft.SharePoint.SPException: Exception from HRESULT: 0x80131904 ---> System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListNa... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High ...me, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCal... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High ...lback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.get_Count() at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList) at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a2 High InnerException 1: System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeAr... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a2 High ...rayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.50 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://vspar-spfw-01:80/Lists/Conduite%20Changement/Requtes%20Attribues%20%20Moi.aspx)). Temps d’exécution=95,5520883240747 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    The filtered field is a list of choices with no multiples values.
    I'm pretty sure the issue is located here :
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Benjamin RIOU' to data type int. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordead... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    What can I do ?
    Thanks
    Best regards  / Ben

    Hi Ben,
    How did you design the filter on the view?
     This error usually occurred when people use SQL T-SQL. Here are two similar posts , please check whether they are useful for you:
    http://social.technet.microsoft.com/Forums/en-US/e1ba76f9-855f-4087-91a7-c3e492e59be4/conversion-failed-when-converting-the-nvarchar-value-xxxxxx-to-data-type-int?forum=transactsql
    http://social.technet.microsoft.com/Forums/en-US/1d0ab5f9-2ea6-4399-abbf-0c23b456e0f4/conversion-failed-when-converting-the-nvarchar-value-bottle-to-data-type-int?forum=transactsql
    Please create a new list, and create a new view, then add a filter on the view, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Using FILTER function in oracle answers

    Gurus,
    I have a question related to using Filter function in oracle answers.
    When trying to insert a Filter (expr) Using (expr) clause in the formula area of a fact table field, It errored out with msg saying about using a wrong measure.
    I know this can be done with a case expression but I tried filter clause since this is available in oracle answers.
    Please help me figuring out this scenario.
    Thanks.

    David / Raghu - Thanks for u'r replies and apologizes for not posting question with proper material.
    Am posting my code and the error message from the screen.
    Code :
    IFNULL(FILTER("Fact - MBS Loan Transactions"."OUTSTANDING PRINCIPAL" USING "Dim - MBS Loan"."LOAN TYPE HPD/HDC/BNK" = 'HDC'),0)
    Error :
    nQSError: 10058] A general error has occurred. [nQSError: 22032] Function FILTER requires at least one measure attribute in its first argument. (HY000)
    SQL Issued: SELECT "Dim - MBS Loan"."LOAN AMOUNT", "Dim - MBS Loan"."LOAN TYPE HPD/HDC/BNK", "Dim - MBS Loan"."LOAN TYPE SEN/SUB", "Dim - MBS Project"."PROJECT NAME", "Dim - MBS Project"."PROJECT NUMBER", "Fact - MBS Loan Transactions"."AR BALANCE INTEREST", "Fact - MBS Loan Transactions"."GL BALANCE INTEREST", IFNULL(FILTER("Fact - MBS Loan Transactions"."OUTSTANDING PRINCIPAL" USING "Dim - MBS Loan"."LOAN TYPE HPD/HDC/BNK" = 'HDC'),0) FROM "Financials - MBS"
    OK (Ignore Error)
    Please continue answering my queries. Since am a newbie your answers won't be just a reply but it's actually learning for me.
    Thanks.

  • HT4753 I have a very simple question: how do I view where Lion has autosaved my current version to (without the convoluted route of using finder)? In days gone by i'd simply use the save as function to see where it was being saved.

    I have a very simple question: how do I view where Lion has autosaved my current version to (without the convoluted route of using finder)? In days gone by i'd simply use the save as function to see where it was being saved.

    It's actually even easier than using Save As to see the full path to the currently open document. Just do a "Secondary click" on the document title in its window's title bar.
    Like you, I relied upon Save As my whole life to check a file's location and considered it a must-have capability. Turns out it's even faster to use the single-click method to reveal the full path to the open document. It displays the entire path to the current document starting from the level of your Mac, and works for files stored on drives as well as iCloud.
    If you're not sure how to do a secondary click, go into System Preferences, select Trackpad, Point & Click to find the current preference for secondary click on your Mac. If you happen to have a mouse with more than one button, it's probably the right button. As a trackpad user, I check the box to "Click or tap with two fingers," so a simple two finger tap on the title of an open document reveals its full path. This feature actually has been around for a very long time.
    Note that this is not the same thing as the Autosave and Versions menu, which is exposed using a little drop down triangle to the right of the title. There is no visual clue for the presence of this feature - you just have to know it's there, probably because this feature goes all the way back to pre-OS X days.

  • Can I use OLAP kind of functionality  without installing OLAP ( using materialized views etc)

    Hi,
    Can OLAP cube be implemented without having ORACLE OLAP installed? As per my understanding, cubes are something which keeps aggregate data. So can I just use materialized view functionality ( which is already there in Oracle)?
    Which other Oracle object can I use without  installing ORACLE OLAP ( Dimension etc?)
    Thanks a lot.
    Nitin

    If you mean by implementing an OLAP cube, you mean setting up reports for various summary level data analysis, it is possible to query materialized views to get the same data in some cases.   A position paper that describes the advantages of the OLAP Cube v. among other things standard materialized views may be found at this URL: http://www.oracle.com/technetwork/database/options/olap/olap-wp-12c-1896136.pdf?ssSourceSiteId=ocomen
    I also would recommend posting this question on the general database forum (General Database Discussions) as well.
    Hope this helps,
    Ken Chin

  • I have a folder with 10 folders inside it, 8 of the folders will not function when I use "show view options".

    I have a Folder with 10 Folders inside it, 8 of the Folders will not function when I use "show view options", they always default back the default.  The "show view options" works on all my other Folders in my system, even on the first two of the Folder in question.  How can I correct it?  I have tried every thing I can think of, even deleting the Folders & reintalling them.  For some strange reason the "show view options" only does not work on the last 8 Folders in the Folder in question.

    Instead GarageBand recognize my keyboard and i can play normally, also, if it can help, those are the Audio and Midi Logic Preferences and the Controller Surfaces Setup with the keyboard connected :

  • Fringing when using graduated neutral density filter function

    I have had fringing occur when using the graduated filter tool to darken a sky.  It occurs along sharply defined lines such as a roofline against the sky.  Has anyone experienced this phenomenon?  What is the solution?

    I think it is a good idea to use the global sliders (highlights, shadows, whites, blacks etc) first as many times these are all you need but as Geoff said, the Graduated Filter can really help on difficult photos.  After using the graduated filter you can use the brush to back off the adjustment in selected areas.  This is not the same as the graduated filter mask modifiers in the new ACR and probably in Lr6.

  • Passing Session variable of DATE data type to opaque view filter

    Hi Everyone,
    Can you guys please help me in passing session variable of DATE data type in RPD's physical layer 'opaque view' filter for Oracle database
    I tried following syntax, syntax wise I didn't got getting any error, but at the same time this opaque view is not fetching any records as well. my session variable is "END_DATE" and its value is 1998/12/31:00:00:00(as shown in RPD session windows, datatype is DATETIME)
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TIME_ID =TO_DATE( 'VALUEOF(NQ_SESSION.END_DATE)','MM/DD/YYYY')
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TIME_ID = TO_DATE( 'VALUEOF(NQ_SESSION."END_DATE")','MM/DD/YYYY')
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TRUNC(TIME_ID) = TO_DATE( 'VALUEOF(NQ_SESSION."END_DATE")','MM/DD/YYYY')
    In past, I was able to pass a session variable into a opaque view filter using DATEOF function, but that was in DB2.
    I appreciate your time and help

    Finally, I got right format. here it is
    to_date(substr('valueof(NQ_SESSION.END_DATE)',1,10), 'yyyy-mm-dd')
    and here is the source from where I got this information
    Using OBIEE Session Variables in Select Tables in the Physical Layer

  • Is it possible to create a filter function in Muse?

    I was wondering how to create a filter function in Adobe muse. I need this for a website that rents B&B´s, Agriturismo and some other stuff. I would like to have this filter where people have search options.
    Michiel

    Hi Hans,
    I mean a filter for searching in your website. I give you a website and you see what I mean. I think i have to make a database for this to work.
    www.vivere-e-gustare.com. Here you find on the left top a search engine to fill in your wishes about what you are looking for. I hope I made myself clear.
    Thank you
    Verzonden met Windows Mail
    Van: hans-g.
    Verzonden: donderdag 29 mei 2014 10:08
    Aan: michiel brouwer
    Is it possible to create a filter function in Muse?
    created by hans-g. in Help with using Adobe Muse CC - View the full discussion 
    Hello,
    in which area "people" should have search options? About your whole website, in a menu or, or ...
    To be not left empty-handed  here some links:
    http://helpx.adobe.com/muse/tutorials/building-your-first-website-part-7.html  >>> how to filter the items in the menu list ...
    http://helpx.adobe.com/muse/tutorials/creating-mobile-layout-designs-muse-2.html  >>> Adding links with the Links menu
    Hans-Günter
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6417713#6417713
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Problem with Filter function in bubbleSeries

    Hi,
    I have a bubbleSeries. Its dataprovider has item values having both blank('') and negative values. I don't want to show such values, hence I have used a filter function in which a check is made and adds those items which are valid.
    I have data for various years so I have used interpolation effect.
    While playing the animation or viewing data for different time series, a small bubble is displayed on top-left corner of the chart which is not part of the valid data.
    If I dont use a filter function, I dont get this small bubble on top-left corner. But as per my requirements, I need to have a filter function.
    Please help me in guiding through the reason of such behavior of filter function.
    Thanks,
    Tanu

    Hi Gregory,
    Please find below the sample code which shows a small bubble on top-left corner when animation is played. We need to click on "play" button to start the animation and "stop" button to stop the same.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   minWidth="955" minHeight="600"
                   creationComplete="init()" >
        <fx:Declarations>
           <mx:SeriesInterpolate id="seriesEffect" duration="1000"  easingFunction="Linear.easeIn"/>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.charts.series.items.BubbleSeriesItem;
                import mx.collections.ArrayCollection;
                import mx.effects.easing.*;
                import mx.events.FlexEvent;
                private var oTimer:Timer =  new Timer(1000);
                private var currentDp:int = 1;
                [Bindable]
                public var expenses1:ArrayCollection = new ArrayCollection([          
                    { Profit:10, Expenses:10, Amount:''},
                    { Profit:'', Expenses:50, Amount:''},
                    { Profit:'', Expenses:41.6, Amount:''},              
                    { Profit:'', Expenses:43.6, Amount:''},
                    { Profit:'', Expenses:86, Amount:''},
                    { Profit:'', Expenses:11.4, Amount:''},              
                    { Profit:'', Expenses:99.2, Amount:''},
                    { Profit:'', Expenses:12.8, Amount:''},
                    { Profit:'', Expenses:'', Amount:10}
                [Bindable]
                public var expenses2:ArrayCollection = new ArrayCollection([
                    { Profit:30, Expenses:'', Amount:10},
                    { Profit:95, Expenses:-90, Amount:50},
                    { Profit:20, Expenses:60, Amount:23},
                    { Profit:67, Expenses:'', Amount:56},
                    { Profit:-23, Expenses:56, Amount:34},
                    { Profit:30, Expenses:'', Amount:10},      
                    { Profit:95, Expenses:-90, Amount:50},
                    { Profit:70, Expenses:30, Amount:93},
                    { Profit:22, Expenses:'', Amount:10}      
                private function init():void
                    oTimer.addEventListener(TimerEvent.TIMER,onTick);
                    bubbleSeries.dataProvider = expenses1;
               public function onTick(event:TimerEvent):void
                    if(currentDp == 1)
                        bubbleSeries.dataProvider = expenses2;
                        currentDp = 2;
                    else
                        bubbleSeries.dataProvider = expenses1;
                        currentDp = 1;
                private function clickHandler():void
                    oTimer.start();
               public function myFilterFunction(cache:Array):Array
                    var filteredCache:Array=[];
                    var n:int = cache.length;
                    for(var i:int = 0; i < n; i++)
                        var isValid:Boolean = true;
                        var bubbleSeriesItem:BubbleSeriesItem = BubbleSeriesItem(cache[i]);
                        if( bubbleSeriesItem.item.Profit == "" || bubbleSeriesItem.item.Expenses == "" || bubbleSeriesItem.item.Amount == "")
                            isValid= false;
                        if(isValid)              
                            filteredCache.push(bubbleSeriesItem);                   
                    return filteredCache;
            ]]>
        </fx:Script>
        <mx:Button x="10" label="Play" click="clickHandler()"/>
        <mx:Button x="250" label="stop" click="{oTimer.stop()}"/>      
        <mx:VBox x="10" y="100" width="80%" height="70%" label="Bubble" >      
            <mx:BubbleChart id="bubbleChart" width="100%" height="100%" showDataTips="true"
                            minRadius="5" maxRadius="15">
                <mx:series>
                    <mx:BubbleSeries  id="bubbleSeries"
                                      showDataEffect="{seriesEffect}"
                                      xField="Profit" yField="Expenses" radiusField="Amount"
                                      filterFunction="myFilterFunction"
                                      />
                </mx:series>
                <mx:horizontalAxis>
                    <mx:LinearAxis id="horLinAxis"  minimum="-100" maximum="100" />      
                </mx:horizontalAxis>
                <mx:verticalAxis>
                    <mx:LinearAxis id="verLinAxis" minimum="-100" maximum="100" />
                </mx:verticalAxis>
            </mx:BubbleChart>
        </mx:VBox>
    </s:Application>
    Please help.
    Thanks,
    Tanu

  • Quartz Filter function in Preview.

    I am having a problem with the Quartz Filter function in Preview. I do a monthly newsletter for a local car club. The newsletter is distributed as a printed copy and as a PDF for e-mail and on-line viewing. I prepare the newsletter in iStudio Publisher and then open it in Preview. The file size can be quite large so I use the Export-Quartz Filter-Reduce File Size to prepare the PDF for e-mail use. Since I have updated to Mavericks 10.9 some portions of the newsletter come out as a negative.  See the below example.

    Hi. Thanks for answering.
    Take a look in what I have in Google Sheet:
    Maybe I'm not using it right, but seems to me if I need to change what I want to see (if Chinese, Italian...) I need to go back in Filter dialog and change the value, can't be dynamic, based in a cell value. Besides that seems to me if I use filter all the rest of my sheet disappears. This Filter Function can be put in any place, so I can do, for example, first 5 lines showing Chinese, the next 5 showing Italian etc.
    Hope my screenshots helps.
    Thanks.

  • IS_Data Insight View Data Function Limitation

    Hi Experts,
    Is there any limitation to view data of a table using View Data function in Data Insight module in Information Steward. I come across a strange issue with this, the details are explained below.
    I am trying to perform Data profiling on table, as part of this I imported table into a Data Insight project. When i tried to view data of a table using View Data function, it is showing blank like (0 from 998987). I am able able to see data in database and even in DS designer too.
    Then i created a view on top of this table by selecting all columns and tried to view data, again showed blank. Then i removed some columns in view and tried, now it showed data. The table contains 150 columns, I used around 110 columns in view.
    My question here is, is there any limitations in Data Insight for viewing data apart 500 records. Will View Data function consider the number of Rows or the size of data to display the data. If it consider these two, is there any option available in IS to control these two parameters i.e., increase / decrease the size or no of rows.
    If anyone come across with this issue, could you please help me if any solutions to fix this.
    Thanks,
    Ramakrishna Kamurthy

    Hello Rama,
    In IS 4.2 this limitation is actually stated.
    See here: IS_421_user_en.pdf in Related Information section pg 44 which states that:
    The software displays only 500 records when you view data from an SAP table. 
    Also more details available in section: 2.5.10.2 Limit of 500 records when viewing data from SAP tables.
    The software displays only 500 records when you view data from an SAP table.
    Views that contain SAP tables have the potential to be quite large, especially when they are joined with other SAP tables. The limit of 500 records when viewing data prevents your computer from hanging or never completing the task because the tables were too large.
    In addition to the 500 records limit, you can take steps to enhance performance in the following ways:
    ● Reduce the size of the file by mapping fields, join conditions, filters, and so on to limit the data in the table to information that you really need.
    ● Use SAP ABAP-supported functions in forming expressions in views. Using non-supported functions is allowed, but doing so may adversely affect performance.
    ● Use the View Data filter tools when you view and export data from SAP tables.
    With the 500 records limit for viewing SAP table data, there is a potential for no records showing up in the View Data window.
    This could happen, for example, when the view contains a child view, the child view contains one or more SAP tables, and a join is set up to join the entire data set.
    A message appears at the top of the View Data window that instructs you to export the data to an external source (text file, CSV, or Excel file) to view all of the records.
    I hope this is helpful.
    Mike

  • View Filter Presets - Yes, they can be iterated, and set, but...

    Anybody know how to create a view filter?
    For example, my first use case would be to filter on PV2003 - anybody know how to do that?
    (Back in the good ol' days I would just run a plugin to set custom metadata, then filter on the custom metadata (like Jeffrey Friedl's Focal Length Sort did), but isn't there a better way in SDK3.0? - Even if undocumented, for example, create a view-filter preset file that accesses unexposed fields... - Lightroom would probably have to be restarted to use it though, hmmm..
    Any help?
    Thanks,
    Rob

    John,
    I do have a few more cores but I think the big difference is LR3 vs LR2.  I am still in 2.5 awaiting some performance fixes before switching to v3.  I continue to test LR3 on both my desktop (8 cores) and laptop (2 cores).  Here is what I am finding:
    In version 2.5, it takes approximately 4 times longer to fill the shadow field if all are empty than simply checking.  So my rate of 2-3,000 per second is primarily checking - but that is what it will be doing most of the time once the initial fill is complete.  I see very little difference between my laptop and the desktop for this test.
    Running v 3.0 it much, much longer to fill the fields than in v 2.5 - maybe a slow as 25/second.  Again, I see very little difference between the laptop and the desktop.  The worst part is that in 3.0 the incremental fill takes just as long as the initial fill - this might be related to the issue whereby issuing a Ctrl-S is not longer incremental but updates all images (hopefully an error on Adobe's part that will be corrected soon).
    Conclusion, I think what you are seeing is primarily a difference between v2 and v3 of Lightroom; however, you seem to be getting much of that performance back by using the batch commands which, as a side note, I have not yet implemented since those commands just came out with v3.  I just loop through the catalog and read metadata one image at a time.  The relevant code (not pretty so don't laugh) is basically:
    --###################### task code  ###########################################
    LrTasks.startAsyncTask( function()
    -- get a reference to all the photos in the entire catalog
    local cat_photos = nil
    catalog:withReadAccessDo( function()
         cat_photos = catalog.allPhotos
    end )
    -- determine number of photos to be processed
    local ncat_photos = #cat_photos
    -- confirm the action since it can be massive on large number of photos
    local message = "Are you sure you want to create the duplicate field for the folder name and set the Metadata errors field of the " .. ncat_photos .. " selected images?"
    local returnbutton = di.confirm( message,nil,"Yes")
    if returnbutton == "cancel" then
         progressScope:done()
         return
    end
    -- get access to the current catalog
    catalog:withWriteAccessDo("Construct Captions", function()
    --di.message("Jeff Dialog",tostring(#cat_photos),"info")
    local cap_string = "Checking/Updating " .. tostring(ncat_photos) .. " images "
    progressScope:setCaption(cap_string)
    -- loop through each of the photos selected
    local indexnum = 0
    for i, photo in ipairs(cat_photos) do
    indexnum = indexnum + 1
    local fold = trim(photo:getFormattedMetadata('folderName'))
    local kws       = photo:getFormattedMetadata('keywordTags')  -- retrieves keywordes ENTERED
    local sfold     = photo:getPropertyForPlugin(_PLUGIN, 'shadowFolder' )
    -- remove blanks that don't work for filter bar purposes
    local shadfold  = string.gsub(fold, " ", "")
    shadfold  = string.gsub(shadfold, "_", "")
    local firstchar = string.find(shadfold,"%a") -- finds first alpha character
    if firstchar == nil then firstchar = #shadfold+1 end
    shadfold = string.sub(shadfold,1,firstchar-1) .. "|" .. string.sub(shadfold,firstchar,#shadfold)
    -- if in year/mo format, then insert dash between year and month
    if firstchar == 7 then
         shadfold = string.sub(shadfold,1,4) .. "-" .. string.sub(shadfold,5,#shadfold)
    end
    -- COPY folder without blanks or _ to duplicate field
    if shadfold ~= sfold then
         photo:setPropertyForPlugin(_PLUGIN, 'shadowFolder', shadfold )
    end
    end      -- of looping through selected photos
    end )    -- of catalog:withWriteAccessDo
    end)     -- of task
    --###################### end of task code  ###########################################
    Here's to hoping 3.1 brings our performance back!
    Jeff

Maybe you are looking for

  • NWA Template Installer failed

    NWA -->deploy and change, Template Installer scenario: BI-Java 1,create RFC destinations IN ABAP   error msg: Create Destination in ABAP Import not successful Element 'SAPConfigLib.NW2.Unclassified.createRfcDestination':!BrokerImport.import_of_elemen

  • Problems with a return

    I ordered a phone and added a line for my son on Dec 20. I had problems with my order online, and chatted with an associate who helped me. At one point I had to log out, log back in and re-start my order. Three days later I received two phones and ch

  • Oracle8i Lite 4.0 gives OIBKND32.DLL page fault

    I tried installing Oracle 8i Lite 4.0 on Windows98 and I get "ORAINST caused an invalid page fault in module OIBKND32.DLL at 015f:00bead01" and installation fails at a very early stage. Any ideas how I can get it to install? null

  • How to view your WVC54GC on a smart phone

    Hello, I had been trying for weeks to view my camera on my Motorola Q and finally got it. Just download TCPMP for your phone at http://picard.exceed.hu/tcpmp/test/ It's free. After you install it, make sure your phone is conected to the internet (I h

  • How to sync photos currently on ipad with new pc/itunes library?

    Hi - old laptop crashed and just got new pc. how do i get photos on ipad onto new itunes library? thank you!