Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2006
    Location
    Colorado Springs
    Posts
    4

    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?

    Thanks

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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:
    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,
    Bye.

 

 

Similar Threads

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

Bookmarks

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 07:35 AM.