locked
How to add custom entity to customer portal RRS feed

  • Question

  • Hi,

    Is there any documentation or examples how to publish data from custom entity to customer portal?

     

     

    Tuesday, October 18, 2011 5:18 PM

Answers

  • Hi Perttis,

    inside Customer Portal package find Microsoft.Xrm -> bin -> CrmSvcUtil.

    Inside CustomerPortal folder find CrmSvcUtil windows command script.

    Run utility to generate classes for all entities (including your custom entity) for your CRM instance.

    Pay attention to a command format - it's different for Online or OnPremise.

    For CRM 2011 Online use deviceregistration tool to generate and register DeviceID and Device Password.

    More about CrmSvcUtil here: http://msdn.microsoft.com/en-us/library/ff681561.aspx

    You can use generated class for your custom entity inside Customer Portal solution.

    Modify existing code or create your own page to edit/display data from CRM.

    Use existing code as a sample.

    Cheers,

    Alena Grischenko – Dynamics CRM, ASP.NET MCPD

    Consultant - eSavvy Pty Ltd |www.esavvy.com.au or www.esavvyonline.com.au

    • Proposed as answer by Maria Joaquin Thursday, October 20, 2011 10:23 PM
    • Marked as answer by perttis Friday, October 21, 2011 7:06 AM
    Wednesday, October 19, 2011 11:10 AM

All replies

  • Hi Perttis,

    inside Customer Portal package find Microsoft.Xrm -> bin -> CrmSvcUtil.

    Inside CustomerPortal folder find CrmSvcUtil windows command script.

    Run utility to generate classes for all entities (including your custom entity) for your CRM instance.

    Pay attention to a command format - it's different for Online or OnPremise.

    For CRM 2011 Online use deviceregistration tool to generate and register DeviceID and Device Password.

    More about CrmSvcUtil here: http://msdn.microsoft.com/en-us/library/ff681561.aspx

    You can use generated class for your custom entity inside Customer Portal solution.

    Modify existing code or create your own page to edit/display data from CRM.

    Use existing code as a sample.

    Cheers,

    Alena Grischenko – Dynamics CRM, ASP.NET MCPD

    Consultant - eSavvy Pty Ltd |www.esavvy.com.au or www.esavvyonline.com.au

    • Proposed as answer by Maria Joaquin Thursday, October 20, 2011 10:23 PM
    • Marked as answer by perttis Friday, October 21, 2011 7:06 AM
    Wednesday, October 19, 2011 11:10 AM
  • Thank You Alena!

    I hope one day the portal is really integrated and end user friendly, as it seems a little complicated nowadays...

    Pertti

     

     

    Wednesday, October 19, 2011 2:34 PM