Getting the value of large string extensions
Hi, I'm trying to create a live table to expose large strings. It seems that the method value() is available for all the types but for large strings. For those, I only have access to the key.
How can I retrieve the value for large strings? liveTable.setItemType(IWorkItem.ITEM_TYPE); WorkItemQueryModel model = WorkItemQueryModel.ROOT; List<IField> selection = liveTable.getSelection(); selection.add(model.stringExtensions().key()); selection.add(model.stringExtensions().value()); selection.add(model.largeStringExtensions().key()); |
2 answers
lquintela wrote:
Hi, I'm trying to create a live table to expose large strings. It I'm not sure you can do this. Perhaps someone more familiar with the query model could answer this? james |
James is right about the query model. It is not possible to select
large strings with a data query. To fetch the large string, you can fetch the entire item with the RepositoryItemService and then you can get the string extension from the item. - Matt Lavin Jazz Server Team On Mon, 2008-12-29 at 09:46 -0500, James Moody wrote: lquintela wrote: |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.