Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

A filter based on a lookup column

$
0
0

Hi,

I have a list based on a custom content type which contains a lookup column. I need to create a view that would allow me to dynamically select a value for the lookup field and filter the list based on the selected value.

On the Edit View screen I can see a Filter section with an option "Show items only when the following is true". It looks like this is what I need but it allows me to hard-code lookup values while I need to be able to select the lookup values and filter the list dynamically.

After I know how to do that on UI, I will need to create C# code that would create such a "dynamic" view programmatically.

Thanks,

Leszek


Wiki: wbswiki.com
Website: www.wisenheimerbrainstorm.com


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>