I am trying to create a list view DYNAMICALLY using PowerShell. CAML query is
$viewQuery = "<Where><Eq><FieldRef Name='PPL' /><value Type='User'>[Me]</value></Eq></Where>"
This updates the view with PPL and value as "[Me]". but the list is not showing any data. But when I open the updated view and just save it, the list is showing current user data.
Why powershell caml query is not take [Me] as the value?
Any Ideas?
Thanks Venkat