Hi,
I want to get the attributes which are of type single line of text, Email format from an entity using C#
Kindly give me the suggestions for this..
Hi,
I want to get the attributes which are of type single line of text, Email format from an entity using C#
Kindly give me the suggestions for this..
Hi,
Use below code to get attribute value from entity.
Guid entityId=Guid.Parse("00000000-0000-0000-00000001");
Entity entity=service.Retrieve("email",entityId,new ColumnSet("Attribute Schema Name"));
if(entity!=null && entity.Attributes.Contains("Attribute Schema Name"))
{
string attributeValue=entity.GetAttributeValue<string>("Attribute Schema Name");
}
Replace Atribute Schema Name with your actual field name.
You can Retrieve an entity using the Organization Service
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,436
Most Valuable Professional
nmaenpaa
101,156