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!
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.
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 !
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!
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:
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).
Custom field in the sense all the time when ever a plugin triggers ?
What type of field ? And can you please elaborate
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Daniyal Khaleel 143
DAnny3211 134
Abhilash Warrier 70 Super User 2025 Season 2