Display column for lookup | jdutra | 2012-06-07 13:35 | |||||||||||||||
Status: Closed | |||||||||||||||||
I'm a little confused about the display column for a lookup. If I have a lookup field abc in a dataset (which links to a list), how is it determined which column from the specified list shows up in the grid? For instance, if I go to the dataset and choose Customize View, abc appears with a plus sign next to it. I can click on the plus sign to manually select one of the columns from the list for display. But I can also check the box next to abc (which is how it is done by default). When I look at our current datasets, and the box next to abc is the only one checked, sometimes the dataset displays the list's key column. Sometimes it displays a different column. We must have set something differently either in the datasets or the lists to make that happen, but I can't figure out what! A related question: if I run getMetaData() on a SelectRowsResponse of a dataset with a lookup field, how does it determine the value of fields.lookup.displayColumn? It doesn't seem to be returning the column I have manually selected for the default view. Any help is appreciated, - Jen |
|||||||||||||||||
| |||||||||||||||||