Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Colorado Springs

    Post .NET Selector Examples

    I was wondering if there was any examples of how to implement a subscription to a table that has a selector? What is required for both the client and server (data adapter)? Also, it appears that no matter what mode I select (RAW, MERGED, DISTINCT), I still receive updates at the client that have "UNCHANGED" for some elements. Why is this so? Is there a way to push all data regardless if it has changed across pushes?


  2. #2
    Power Member
    Join Date
    Jul 2006
    Cesano Maderno, Italy
    Client-side you just need to add the desired selector to your table. In example, add a selector to a javascript (sorry I have no experience on the .NET side btw it will not differ a lot) table is made with one line of code:
    myTable.setSelector("This is my selector");
    Server-side you must implement the selector's logic inside the metadata adapter.
    You must develop your own MetaDataProvider and implement both isSelectorAllowed and isSelected methods.
    The first method will decide if a specified selector is allowed for the specified user on the specfied item, while the second method lets you filter updates on a selector-basis.

    Hope that helps,



Similar Threads

  1. Selector and ItemEventBuffer
    By nicknack in forum Adapter SDKs
    Replies: 1
    Last Post: December 7th, 2009, 01:42 PM
  2. Problem running Flex examples
    By markgoldin in forum Client SDKs
    Replies: 10
    Last Post: May 26th, 2008, 08:52 AM
  3. Working examples!
    By jkrassman in forum Client SDKs
    Replies: 1
    Last Post: November 5th, 2007, 11:37 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 10:55 PM.