Tech Support > Microsoft Windows > Windows CRM > Object Schemas
Object Schemas
Posted by Chris Galley on February 6th, 2004


We have created a layer above the CRM proxy to implement creation, searching
and updating of objects (account, contact etc), this means that an account
object can be passed around, rather than the ugly and from a CS standpoint
poor quality solution of the strings of XML for creating accounts etc that
the SDK gives as an example.

is there any easy way to get the schema for these objects so we can perform
some prevalidation (e.g. lengths for strings etc).
We currently access the metabase directly to get entity, attribute and
attributetype tables to build the schema. (not great, but an easy hack).
the only info I can find is in the xsl for n_Create.xsl which isn't that
useful without a deal of transformation - it would be great if account.xsd
were published when the schema was re-published.

anyone got any better ideas?

Chris


Posted by Jiho Han on February 6th, 2004


Are you looking for account.xsd? All of the schemas can be found on MSDN
and also CRM SDK help (.chm)

"Chris Galley" <chris.remove.galley@cedalion.co.uk> wrote in message
news:uwymgBL7DHA.2576@TK2MSFTNGP11.phx.gbl...


Posted by John O'Donnell on February 7th, 2004


Here is the link to all the schemas

http://msdn.microsoft.com/library/en...asp?frame=true



"Jiho Han" <jiho.han@infinityinfo.com> wrote in message
news:ObHQj0L7DHA.2300@TK2MSFTNGP10.phx.gbl...


Posted by GreaterThanTwo Media on February 7th, 2004


I think Chris is looking for real-time schemas that include customizations.
There is no documented API for this.

Mike


"Jiho Han" <jiho.han@infinityinfo.com> wrote in message
news:ObHQj0L7DHA.2300@TK2MSFTNGP10.phx.gbl...


Posted by Peter Cutts on February 9th, 2004


Might be on a lower level than you guys are talking, but if you go into
deployment manager, pick an object and then right click on Attributes, you
can export the details of all fields off to a csv file. Includes all custom
fields.

Regards

Peter

"GreaterThanTwo Media" <nospam_info@greaterthantwo.com> wrote in message
news:e73cDGR7DHA.2812@TK2MSFTNGP11.phx.gbl...