Creating a .NET screen for a new entity record

I've got Sage 2020 R2 installed. I've installed the .NET SDK. It's added the example projects to the Visual Studio 2017. I've got 2019 installed as well but I can use either. I created a new entity called Consignments using the entity wizard. I did create it initially as a .NET component, but I recreated it as a standard one so I can just alter the pages as needed for get them to run the .NET code. At least this way I can do either. Anyway, I have a new tab in My CRM with the consignments list. There is a new button on there which calls the new custom DLL. I created a .NET project using the Sage CRM Entity template as this seems to be the one I should use when I am dealing with a custom entity. The trouble is I can't find any examples of creating a project for a custom entity. I thought there was an example .NET project of the Project entity. I can't seem to find it. I Having examples of code that show the structure of the build contents methods are really handy.

Any help would be greatly appreciated otherwise I will end up having to go back to dusting off the ASP skills again!

Thanks

Parents Reply
  • 0 in reply to Sage CRM

    Hi Jeff.

    Thanks. My assumption is that when I create a new entity, I use the entity wizard as normal, and when I create the new entity, I tick the box for dot net and it creates the metadata entries I need for it. I then load VS and choose the entity template and follow the wizard and generate the skeleton structure for the project. I'm making progress on it. To clarify, the basic template is used for standard screens and extensions, and the entity template is used when you have created a ne.

Children