Ability to use one SmartObject against a Content Type applied to multiple lists

  • 6 September 2013
  • 0 replies
  • 0 views

Badge +10

Good day,


I have a content type that is applied to multiple lists. Users have the ability to create new lists and apply this content type to the newly created lists. I have a Service Registered on the site where these list exist and K2 creates Service Instance methods for each List and Content type combination.


I now have the requirement to get the items from all lists in a web page (using a SmartObject). Currently I have one SmartObject with different methods each configured to query one of the lists.


The problem comes in when I need to add another list. Currently I have to refresh my Service Object, add a new method to my SmartObject and then deploy the changes to the K2 Server. Not very dynamic.


Is there a way that I can query all the items for this content type across dirrent lists? I've tried the dynamic setting on the Service Instance, but that is also bound on the List Name.


How can I achieve this? Any ideas are welcome.


Let me know if my explanation is not good enough.


Regards,


0 replies

Be the first to reply!

Reply