Skip to content

creating field via xml #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SimonFox90LT opened this issue Nov 2, 2021 · 0 comments
Open

creating field via xml #3

SimonFox90LT opened this issue Nov 2, 2021 · 0 comments

Comments

@SimonFox90LT
Copy link

SimonFox90LT commented Nov 2, 2021

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> &amp;lt;Where&amp;gt;&amp;lt;Contains&amp;gt;&amp;lt;FieldRef Name=&amp;#39;Documenti_x0020_disponibili&amp;#39; /&amp;gt;&amp;lt;Value Type=&amp;#39;LookupMulti&amp;#39;&amp;gt;Manuale&amp;lt;/Value&amp;gt;&amp;lt;/Contains&amp;gt;&amp;lt;/Where&amp;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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant