Quantcast
Channel: Resco Forums: MobileCRM
Viewing all articles
Browse latest Browse all 435

Questions about Javascript development with Woodford

$
0
0
Hello all,

I am using Resco woodford v.7.4.1.0. 

I have some questions about javascript development in woodford but I couldn't do them even if I think that I did a well research on the internet.

  • I have to set some lookup fields with javascript. I went for this url in this forum but the response did not worked for me at all. So how can I set a lookup field with javascript in resco woodford?
  • I need to prevent user from saving the changes that he/she made if some field values of an entity do not fit with what I want them to be. I made researh on jsbridge page and found that I have to return false to prevent saving from the MobileCRM.UI.EntityForm.onSave method. But this did not work for me. Absolutely nothing happened. How can I solve this problem?
  • I also need to set visibility of some fields on the form according to some cases. But again I couldn't do it. There is not much explanation on the jsbridge page. I saw isVisible property and tried this one and visible and setVisible properties upon my guess but none of them didn't work. Does anyone know how to set visibility of a field?
  • And I want to get some entities' info that are related to another entities. I know that I can't use OData queries in js code in woodford and these types of things are done with FetchXml. For example; I want to set a team field(lookup) with the value of a team that contains the signed-in user to CRM.  Or I want to know that the entered Contact to a lookup field has an Activity record. How do I do that with FetchXML in javascript? Can anyone offer some code sample?
Any help to my questions will be much appreciated.

Thank you in advance.



Viewing all articles
Browse latest Browse all 435

Latest Images

Trending Articles



Latest Images