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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Plugin Development - Create custom fields on installation

(0) ShareShare
ReportReport
Posted on by 5

Hello all, 

I am new to Dynamics 365 development, and I am trying to create a plugin which will automatically create custom fields after the plugin has been installed. 

Any assistance or example of code will be greatly appreciated. I've been trying for days without any luck!

I have the same question (0)
  • Ram Prakash Profile Picture
    2,287 on at
    RE: Plugin Development - Create custom fields on installation

    Hi,

    Custom field in the sense all the time when ever a plugin triggers ?

    What type of field ? And can you please elaborate 

  • luke22 Profile Picture
    5 on at
    RE: Plugin Development - Create custom fields on installation

    Hi thanks for your reply,

    Basically, when on a lead record I would like there to be a new section under the summary tab which has several new custom fields which have been generated by the plugin. 

    For example:

    pastedimage1657224880239v2.png

    This should be created at the point of the plugin installation and will be eventually be populated with data via the plugin, therefore the fields should be read only (if possible).  

  • AppJetty Profile Picture
    1,019 on at
    RE: Plugin Development - Create custom fields on installation

    Hi,

    I have a plugin that will help you to create custom fields in Dynamics 365.

    The plugin which I am talking about is Dynamics 365 Plugin Development.

    This plugin will solve all your problems regarding custom fields. 

    You can just give it a try!

    Hope this helps!

  • HSS2482 Profile Picture
    105 on at
    RE: Plugin Development - Create custom fields on installation

    Hi Luke22

    May I ask what is your use case for creating the custom fields via a plugin? If attribute creation is a one time activity, they can very well be created outside of a plugin code.

    You can create a Solution which has the plugin + entity with these new attributes. Import this solution in target instance to deploy fields as well as the plugin.

    If you can share more information about your use case, it will help.

    Thanks !

  • Suggested answer
    CRMJetty Profile Picture
    3,512 on at
    RE: Plugin Development - Create custom fields on installation

    Hello Luke22,

    Pls refer this thread,

     https://community.dynamics.com/365/humanresources/f/dynamics-365-for-humanresources-forum/440425/accessing-custom-fields-with-dynamics-excel-plugin 

    Also,

    I hope it helps,        
    Thanks.
                                    
    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Portal.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 101 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 57

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans