Resco JavaScript Bridge: Difference between revisions

Jump to navigation Jump to search
Line 1,246: Line 1,246:
All the mentioned objects can be used for different approaches. Some of them are dependent on an object that holds reference and creates '''LookUp'''. That doesn’t mean you can’t call the other ones from those objects.  
All the mentioned objects can be used for different approaches. Some of them are dependent on an object that holds reference and creates '''LookUp'''. That doesn’t mean you can’t call the other ones from those objects.  


=== Create view template for Lookup in Woodford ===
=== Create lookup view in Woodford ===
 
Woodford allows you to create views designed to be used in lookups. In this example, we create a new lookup view for the Account entity.
 
# Edit an [[app projects|app project]] in [[Woodford]].
# Select '''Entities > Account''' from the '''Project''' menu and click '''Show UI'''.
# Click '''New View''' and enter the following parameters, then click '''OK'''.<br>[[File:Create a new lookup view.png]]
 
 
=== Create filter using Row Script ===
 
<!--
 
 
Filters allow you to define which records are listed in a view. In our case, we want to display accounts with the same address1_city at the associated contact.
 
# Edit the view created in the previous section.
# Click '''Select Fields''' to display a list of fields for the Account entity and related entities.
# Scroll down to '''Contact''' or '''Primary Contact''' entity and enable '''City''', then click '''OK'''.


<syntaxhighlight lang='js'>
<syntaxhighlight lang='js'>

Navigation menu