-
July 1st, 2008, 08:34 AM
#1
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.
-
July 1st, 2008, 02:26 PM
#2
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
-
By sudhakar in forum General
Replies: 1
Last Post: January 14th, 2011, 08:35 AM
-
By hofmanna in forum Client SDKs
Replies: 3
Last Post: January 21st, 2010, 12:25 PM
-
By jakov.semenski in forum Client SDKs
Replies: 3
Last Post: November 26th, 2008, 05:14 PM
-
By rsouissi in forum Adapter SDKs
Replies: 4
Last Post: January 10th, 2007, 06:11 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 08:35 AM.
Bookmarks