Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I have entity Contact.
How can I get Contact's last name correctly? (Last name - is the name in Interface)
I don't bring my code here, I want to known how it is doing correctly?
The field name is 'lastname' (all lower-case)
Could you try something like below code.
if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] is Entity)
// Obtain the target entity from the input parmameters.
Entity entity = (Entity)context.InputParameters["Target"];
string lastName = entity.GetAttributeValue<string>("lastname");
Business Applications communities