How to deploy a jscript web resource Automatically from team foundation server 2010 and vs2012 using crmpackage solution RRS feed

  • Question

  • Hi ,

    I have created a Crm package solution in visual studio 2012.It gives me  project hierarchy like web resource,Reg File,plugins,silver light,workflow .

    The crm package solution is maintain through team foundation server 2010.Through TFS2010 we maintain custom javasript code for all entities ,like account,contact ect.

    My requirement is how can I write a jscrpt validation funtion eg. validatemobileformat for contact entity in visual studio 2012 so that when i right click on crm package hit get latest version then it automatically deploy my javscript resource function validatemobileformat  on change event of the mobile filed.

    Saturday, December 21, 2013 12:38 AM

All replies

  • The Developer Tools will deploy Web Resource to CRM, however you have to Publish them and you also have edit the form if you want your JScript to run OnChange for a field.
    Monday, December 23, 2013 2:15 PM
  • I agree with Chris....

    You need to write your js code on Entity UI by selecting events (on Form load/ Field change Events) on CRM Application.

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Tuesday, December 24, 2013 12:07 PM