Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

how to update a Lead record on the web page itself using ASP.NET web application

Posted on by 255

I have retrieved all Lead records and i want to update a record. when i click on Update link, it should open the Lead record and after successful update, it will save the record and also it will update the record in CRM also.

*This post is locked for comments

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: how to update a Lead record on the web page itself using ASP.NET web application

    Hi Anant,

    If you want to open the CRM lead record on click of update link, you will have to authenticate the user from Azure AD.

    If you are using an external application like console or web application, recommend you to:

    • Create a new form and add some HTML controls (like textbox, dropdown, button etc) as per your need or the data you want to let the user update.
    • On Click of update link, fetch that record(based on some unique identity of that lead) along with GUID from CRM and auto-populate the information in that form.
    • Let user update the information in the form and on click of 'Update' button, update the information in CRM.

    Refer below link to perform CRUD operation in CRM using external aaplication:

    https://msdn.microsoft.com/en-in/library/gg328416.aspx?f=255&MSPPError=-2147217396

    Mark, it verified, If it helps.

    Cheers

    Arpit

    https://arpitmscrmhunt.blogspot.in

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: how to update a Lead record on the web page itself using ASP.NET web application

    Hi,

    Just like you used retrievemultiple method to retrieved all the lead records, similarly you can use update call to update lead record back to CRM, are you facing any issue ?? if yes share it here

    You can refer sample code here: msdn.microsoft.com/.../jj602970.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans