Resco JavaScript Bridge: Difference between revisions

Jump to navigation Jump to search
Line 1,229: Line 1,229:
References and objects that are used for lookup creation:
References and objects that are used for lookup creation:


* '''LookUp Form''' – https://www.resco.net/javascript-bridge-reference/#MobileCRM_UI_LookupForm
* '''LookUp Form''' – https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.LookupForm
* '''Multi LookUp Form''' – https://www.resco.net/javascript-bridge-reference/#MobileCRM_UI_MultiLookupForm
* '''Multi LookUp Form''' – https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.MultiLookupForm
* '''DetailView Lookup link Item''' – https://www.resco.net/javascript-bridge-reference/#MobileCRM_UI_DetailViewItems_LookupSetup
* '''DetailView Lookup link Item''' – hhttps://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.DetailViewItems.LookupSetup


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 abovementioned objects can be used in different approaches. Some depend on an object that holds reference and creates '''LookUp'''. That doesn’t mean you can’t call the other ones from those objects.  


=== Create lookup view in Woodford ===
=== Create lookup view in Woodford ===
Line 1,245: Line 1,245:
=== Independent lookup ===
=== Independent lookup ===


This kind of lookup can be used from [[form]]s, [[view]]s, [[home screen]], or HTML files. It doesn’t require the use of detail view object, so you can create a lookup or multilookup from an HTML file and set what view you want to see. The best part is adding a [[FetchXML]] filter to view.
This kind of lookup can be used from [[form]]s, [[view]]s, [[home screen]], or HTML files. It doesn’t require a detail view object, so you can create a lookup or multilookup from an HTML file and set what view you want to see. The best part is adding a [[FetchXML]] filter to view.


Each lookup object mentioned in the first section contains a method to add FetchXML filter. Please check this reference to find out more about what method we talk about. The method is called addEntityFilter. Keep in mind that the fetch filter simply adds another filter that is described by fetch.
Each lookup object mentioned in the first section contains a method to add FetchXML filter. Please check this reference to find out more about what method we are talking about. The method is called addEntityFilter. Keep in mind that the fetch filter simply adds another filter that is described by fetch.


https://www.resco.net/javascript-bridge-reference/#MobileCRM_UI_MultiLookupForm_addEntityFilter
https://www.resco.net/javascript-bridge-reference/#MobileCRM_UI_MultiLookupForm_addEntityFilter

Navigation menu