Results 1 to 7 of 7

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Moreover, your client page may not need to know the user details.
    The page could subscribe to a generic item name (for instance: "personal_data"), and the Metadata Adapter would have a chance to rectify the item name, based on user profile information, to a specific name (for instance: "premium_user_data") (see "getItems").

    In any case, this requires that your Data Adapter accepts subscriptions for all the possible specific item names, corresponding to different kinds of users. Note that this may imply some redundancy, as some updates may need to be supplied to multiple of these user-kind-related items.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Another option is to use the customizeUpdate method in the Metadata Adapter. This allows you to customize the contents of each event based on the user identity.

 

 

Similar Threads

  1. Replies: 1
    Last Post: January 14th, 2011, 08:35 AM
  2. Replies: 3
    Last Post: January 21st, 2010, 12:25 PM
  3. On addTable() receveiving updates from previous group
    By jakov.semenski in forum Client SDKs
    Replies: 3
    Last Post: November 26th, 2008, 05:14 PM
  4. Adding/Removing item in subscribed group
    By rsouissi in forum Adapter SDKs
    Replies: 4
    Last Post: January 10th, 2007, 06:11 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 08:35 AM.