locked
CRM 2011::Custom assembly in Dialogs RRS feed

  • Question

  • Hi Experts,

    How can  validate the Dialog inputs like Date & Money value? Can i write custom assembly which can trigger while user inputs at Dialog process?

    Please advise me.

    Thanks


    Venkatta

    Friday, December 21, 2012 4:55 PM

Answers

  • Hi , we  have acheieved results for validing the dialog inputs by registering custom workflow assemblies.

    Thanks


    Venkatta

    Thursday, January 3, 2013 11:31 AM

All replies

  • Hello,

    I am afraid it is not possible to use custom assemblies in dialogs at present.


    Contact Me
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.


    Friday, December 21, 2012 5:04 PM
    Moderator
  • Hi ,

    It is possible to add custom assemblies in Dialog. please ref link: http://blogs.msdn.com/b/crm/archive/2011/02/02/welcome-to-the-world-of-dialogs-part-1.aspx

     Thanks

    


    Venkatta

    Wednesday, December 26, 2012 6:06 AM
  • Hi,
        You can use workflows/custom works in Dialogs. However, I don't think custom assemblies is of particular use for your current scenario as they run in ASync mode and you trying to get results of dialog input values validation at a particular step. You are good to go if you don't expect return values from the Custom workflow.


    Vikranth http://howto-mscrm.blogspot.com "Please Mark it as answer if it helps in resolving your query"

    Wednesday, December 26, 2012 9:04 AM
  • Hi,

    The custom assemblies that you will register for custom workflow will be part of the dialog as well, but you can not use it in Dialog page, as you want to do it.

    what you can do, get your input in one page and store them in variable and pass them to custom assembly as input parameter and add another page to see it it is valid or not by getting as output variable.


    Contact Me
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Wednesday, December 26, 2012 9:11 AM
    Moderator
  • Hi,
       Have you achieved what you are looking for using Custom WF assemblies?

    Vikranth http://howto-mscrm.blogspot.com "Please Mark it as answer if it helps in resolving your query"

    Thursday, December 27, 2012 1:20 PM
  • Hi , we  have acheieved results for validing the dialog inputs by registering custom workflow assemblies.

    Thanks


    Venkatta

    Thursday, January 3, 2013 11:31 AM