Skip to content

Commit bef348d

Browse files
authored
Merge pull request #158 from AlexaCRM/updateGravityFetch
add gravity+fetchXML description
2 parents 870a692 + 75df6ac commit bef348d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

datapress/addons/gravity-forms.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ To select a view, you need to click the `Add Fields` tab and choose `Dataverse L
171171
<div class="text--center">
172172
<img src="/images/gf-lookup.png" width="400" />
173173
</div>
174+
174175
If you select the dropdown, you must also select the table and view to lookup. The dialog view does not require any additional settings.
175176

176177
<div class="text--center">
@@ -187,6 +188,18 @@ To set a default value for a Dataverse Lookup field, use the following format:
187188
<img src="/images/gf-lookup-default.png" width="400" />
188189
</div>
189190

191+
To filter the available options in a dropdown lookup, you can apply a FetchXML query:
192+
193+
```twig
194+
<filter>
195+
<condition attribute="address1_city" operator="eq" value="London" />
196+
</filter>
197+
```
198+
199+
<div class="text--center">
200+
<img src="/images/gf-fetch.png" width="400" />
201+
</div>
202+
190203
For a **Dialog** Lookup, the format includes the entity name:
191204

192205
```php

static/images/gf-fetch.png

42.1 KB
Loading

0 commit comments

Comments
 (0)