10,730
edits
(→Lookup) |
|||
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:// | * '''LookUp Form''' – https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.LookupForm | ||
* '''Multi LookUp Form''' – https:// | * '''Multi LookUp Form''' – https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.MultiLookupForm | ||
* '''DetailView Lookup link Item''' – | * '''DetailView Lookup link Item''' – hhttps://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.DetailViewItems.LookupSetup | ||
All the | 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 | 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 | 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 |