Results 1 to 5 of 5

Hybrid View

  1. #1
    Hi Giuseppe,

    Is it true that if I modify the itemName in getItems that it will effect the subscription itself?

    For example, it turns out we do need some user information for our scenario. As such, I have an http client that is subscribing to 'itemName'. I am catching this subscription with getItems, and updating it to be 'itemName_userId'. However, now when I post updates to 'itemName' the client no longer receives the data. Is this because LS thinks the client is actually subscribed to 'itemName_userId' instead of just 'itemName'?

    Thanks,
    Tanner

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Tanner,

    I can confirm that in a similar case, the Data Adapter should use the 'itemName_userId' name to push updates.

    However, regardless of what happens in the Metadata, the Data Adapter must always refer to the name of the Item received in the subscribe call.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 4
    Last Post: October 24th, 2011, 09:33 AM
  2. Sample code for multiple data adapter access
    By h2c357 in forum Client SDKs
    Replies: 1
    Last Post: September 8th, 2011, 08:55 AM
  3. Replies: 4
    Last Post: February 3rd, 2011, 10:33 AM
  4. Replies: 4
    Last Post: February 5th, 2010, 03:12 PM
  5. Authentication with Metadata Adapter
    By stephenlam in forum Adapter SDKs
    Replies: 4
    Last Post: December 12th, 2008, 10:52 AM

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 01:35 PM.