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