• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 309
  • Last Modified:

Microsoft CRM SDK Version 11.0 Via Visual Studio 8+ How to Access the Custom Data

Hi,

I have working SDK code in Visual Studio 2012 which creates/deletes the Lead Entity.

The problem is, I have a custom field in the entity.

I cannot figure out how to access this extended entity data via the sdk.

Does anyone have an sdk sample wherein they access custom fields?

Thanks so much,

SGLEW
0
sglew
Asked:
sglew
1 Solution
 
Feridun KadirPrincipal ConsultantCommented:
I can't provide you with a sample but custom fields are handled in the same way as out of the box fields. You will need the internal name of the field which is of the form prefix_myfield.  The prefix depends on the publisher of the solution in which the field was created. If this was the Default Solution then the prefix is new, so the field name is new_myfield.

The CRM SDK does I think cover this.
0
 
sglewAuthor Commented:
Thanks so much!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now