web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Populate a field by concatenation of other field while creating a record via plugin

(0) ShareShare
ReportReport
Posted on by 5

Plugin to populate a text field by concatenation of two fields not working.

I have the same question (0)
  • Miguel Lourenco Profile Picture
    on at

    Hi Saksham,

    Please show us how are you doing this and what error you're having.

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    You have written your code on Pre-operation plugin?

    Below code should work

    if(target.Attributes.Contains("FIELD_1_Schema_Name") && target.Attributes.Contains("FIELD_2_Schema_Name"))

    {

    target["FIELD_3_Schema_Name"]=target["FIELD_1_Schema_Name"]+target["FIELD_2_Schema_Name"];

    }

    Please mark my answer verified if i were helpful

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 46 Most Valuable Professional

#2
Pallavi Phade Profile Picture

Pallavi Phade 33

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 28 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans