Reputation: 11
In SharePoint I have a list of orders. There are a lot of columns, but the limit to LookUp is limited. I want to show just a few columns in a DataTable. How can I select a view that only has a few columns? Even if I can't select a view, how can I solve it?
Thanks for your time!
Upvotes: 1
Views: 1883
Reputation: 4375
Try using ShowColumns()
or DropColumns()
.
Example:
ClearCollect(colData,
ShowColumns(
BIG_SHAREPOINT_LIST,
column1,
column2,
column3
)
)
Then ONLY columns 1, 2, 3 will appear in the Collection. Easy.
Upvotes: 1