Silverlight dialog in MS CRM 2011

제안된 답변 Silverlight dialog in MS CRM 2011

  • 2012년 4월 23일 월요일 오후 7:16
     
     

    Hi,

    Has anybody been able to open a Silverlight dialog by clicking on a button from the ribbon in Dynamics CRM 2011 (On-Premise) ?

    Thanks,

    Srikanth Reddy

모든 응답

  • 2012년 4월 23일 월요일 오후 8:49
    답변자
     
     제안된 답변

    Hi Srikanth,

    Here are the steps:

    1. Create a Silverlight webresource and upload your xap.
    2. Create an html webresource to host your silverlight xap - you will need to use relative urls from the location of your html webresource. So if your html webresource is at new/pages/silverlightpage.htm and your xamp is at new/silverlight/contact.xap - your urls would have to be relative to the new/pages folder - so ../silverlight.contact.xap
    3. Download and install the Ribbon Workbench solution : http://www.develop1.net/public/page/Ribbon-Workbench-for-Dynamics-CRM-2011.aspx
    4. Create a solution that contains the contact entity
    5. Using the Ribbon Workbench, open the solution and drag a button to the Form ribbon.
    6. Add a new command (right click on commands->New)
    7. Add a new 'Open Url Action' to the command actions (Command Properties Pane ->Actions->Add)
    8. Set the url to be '$webresource:new/pages/silverlightpage.htm'
    9. Set the new Button to run the new command (Select Button->Button Properties Pane->Command->Select the new command)
    10. Publish the solution

    hth,

    Scott


    Scott Durow
    Read my blog: www.develop1.net/public
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    • 답변으로 제안됨 Linn Zaw Win 2012년 4월 24일 화요일 오전 1:32
    •