locked
CRM 4 Iterate to find all entities RRS feed

  • Question

  • I am using VB and need to get a list of all the entities that are in CRM. I know this has to be something simple but cannot find the answer.

    Wednesday, October 15, 2008 10:34 PM

Answers

  • 3.0 it is

    metaDS.RetrieveMetadata(MetadataFlags.EntitiesOnly)

    where metaDS is an instance of the metadata service.

    4.0

    CRM4.MetaDataSDK.RetrieveAllEntitiesRequest rer;
    rer.MetadataItems = MetadataItems.EntitiesOnly
    RetrieveAllEntitiesResponse metadata = (RetrieveAllEntitiesResponse)service.Execute(
    rer);
               

    *Folks at MS got bored with doing things faster in 3.0 ...


    Cheers,

    Karlo


    Thursday, October 16, 2008 8:12 AM

All replies

  • 3.0 it is

    metaDS.RetrieveMetadata(MetadataFlags.EntitiesOnly)

    where metaDS is an instance of the metadata service.

    4.0

    CRM4.MetaDataSDK.RetrieveAllEntitiesRequest rer;
    rer.MetadataItems = MetadataItems.EntitiesOnly
    RetrieveAllEntitiesResponse metadata = (RetrieveAllEntitiesResponse)service.Execute(
    rer);
               

    *Folks at MS got bored with doing things faster in 3.0 ...


    Cheers,

    Karlo


    Thursday, October 16, 2008 8:12 AM
  • This was a huge pointer in the right direction...

     

    Monday, October 20, 2008 2:20 PM