-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi, i'm trying to create a lookup filtered field using powershell by xml..
i've successfully created the field, but the property "Apply Query Filter" is't filled as configured.
maybe i have to adjust the QueryFilterAsString property value.. some help to this?
this is the xml used:
<Field Type='FilteredLookupField' DisplayName='TEST' StaticName='TEST' Name='TEST' Required='FALSE' EnforceUniqueValues='FALSE' List='56f4b59d-3b55-45ea-931f-94d7dd0efc5d' ShowField='fa564e0f-0c70-4ab9-b863-0177e6ddd247' Group='Test' ID='{92f02f00-ff56-4332-9122-9156cf6b66b0}' WebId='ffadd85b-9d24-440d-97ae-500460afc5c6' Description='test'> <Customization> <ArrayOfProperty> <Property> <Name>QueryFilterAsString</Name> <Value> &lt;Where&gt;&lt;Contains&gt;&lt;FieldRef Name=&#39;Documenti_x0020_disponibili&#39; /&gt;&lt;Value Type=&#39;LookupMulti&#39;&gt;Manuale&lt;/Value&gt;&lt;/Contains&gt;&lt;/Where&gt;</Value> </Property> <Property> <Name>ListViewFilter</Name> <Value></Value> </Property> <Property> <Name>SupportsMultipleValues</Name> <Value>False</Value> </Property> <Property> <Name>IsFilterRecursive</Name> <Value>False</Value> </Property> </ArrayOfProperty> </Customization> </Field>