Replies: 4 comments
-
|
Hi @VictorKdy, VSCode Project SetupI work in a consulting firm and I have defined a standardized approach to local project folders. This allows my team to work consistently across different projects for different clients. Basically the structure of the folder looks like this:
I also have setup a powershell script to initialize everything, but I cannot share it... it is pretty simple to create though. pacx IntelliSense/Metadata SupportPACX is a command line tool, thus it is accessed via terminal. Actually I don't know whether is possible to add intellisense to powershell terminals... any hint on this will be helpful! Data ValidationThis is a long discussed topic between Power Platform / Dynamics architects.
So, my suggestion with the hat of an architect is: you have to do both 😊 if you want your solution to be robust. My engineering background, however, always remembers me that doing both has side effects to be aware of:
...long story short: it's a design decision each Power Platform architect must take basing on the actual needs of the project, and his own sensibility. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the detailed response. I am realizing now it is a much cleaner way to work : It allows to have everything in the same place : the data model, Js, plugins, specs, etc. I do have followup questions based on your response. VSCode Project SetupPACX IntelliSense/Metadata SupportI have no idea if it doable directly from the github project but I'm sure it can be installed as addon for vsc. I was asking the question because currently, I rely on a browser for the PACX wiki and use FetchXML from the XrmToolBox to fetch logical names, which is inefficient. IntelliSense would be ideal, but incorporating the PACX wiki or a way to access commands and -options within the project folder and leveraging Dataverse DevTools can be an improvement. Do you have any recommendations to improve efficency using CLI instead of the platform UI ? Data Validation / Plugin DevelopmentI often use Visual Studio for plugin development instead of VSC, but your video makes the latter look much faster. It looks like from VSC you avoids manually adding NuGet packages for the XRM SDK, setting up a key, and initializing tracing because it leverages a PluginBase interface instead of the standard IPlugin. Is this correct? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @VictorKdy , VSCode Project Setupif you want a clean representation of your datamodel that can be understood by GitHub Copilot you can use For
Icons are webresources. You can upload them via PACX Intellisense/Metadata SupportYou can incorporate the pacx wiki in your project folder. Simply type Data Validation / Plugin DevelopmentMe too. I find Visual Studio more suitable for .net development, while VSCode works better on javascript/typescript/react stuff.
Actually no, the key difference is that I create the plugin project via Power Platform CLI ( |
Beta Was this translation helpful? Give feedback.
-
|
I did my homework: I wrote a PowerShell script to create the folder structure, and did the following : pacx auth create to create the authentication for the project Is this the correct workflow ? Then I followed along your video: AI-Assisted Model Driven App Development (part 1). Using the CLI is new to me, therefore I apologize if some of these questions are basics. Also, concerning your response above : Could you expand on why you find Visual Studio Code more suitable for .NET development? Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I recently viewed your instructional videos on AI-Assisted Model-Driven App Development and found them really impressive. My current skill level is not enough to review so much AI-generated output, but I could see how it would be a great help in the near futur.
As a intermediate solution architect I'm starting to use CLI commands and visual studio code. Watching these videos led to several questions. I think having answers would be super useful for myself and others.
Visual Studio Code Project Setup: How do I/Why create a VS Code project structure the same as the one demonstrated in your video, including files like requirements.md, the specified folder hierarchy and datamodel ? Do you create one for each project you are working on ?
pacx IntelliSense/Metadata Support: Is it possible to enable IntelliSense for pacx commands within VS Code, and can this include metadata (e.g., table names, column names) from a connected environment?
Data Validation: In the second video, you implemented data validation using JavaScript, would it be more advisable to perform this validation server-side using a C# plugin?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions