shashisadasivan / ssd365vsaddin Goto Github PK
View Code? Open in Web Editor NEWVisual studio addin for D365 Finance and operations
Home Page: https://shashisadasivan.github.io/SSD365VSAddIn/
License: MIT License
Visual studio addin for D365 Finance and operations
Home Page: https://shashisadasivan.github.io/SSD365VSAddIn/
License: MIT License
Right click table field > AddIn > create EDT (SS D365)
This doesnt copy the string size across to the newly created EDT
Example to follow
if a extension class exists, then that is added to the project. However, it needs to be a part of the current model
Currently, it copies the class from the other model and then adds it to the project (This also adds the object as a new one in the current model)
hi @shashisadasivan , how do i debug d365fo label creation?
Create labels task
When creating a label, the comment field is prefilled with "New comment".
This is something that is done by the underlying Label creator DLL provided with D365.
At this stage will keep this as open as this may be fixed in future versions.
Add in tools to create copy of objects to the currently selected project
Add to project isint required.
If you right click the tab containing the object in VS, you get the option of doing the same.
Add labels to forms (including form extensions) and its elements
This is a bug caused by #18 where the existing extension is a part of another model.
Bug originally came from creating an extension of a SecurityDuty
On a menu / menu extension, add the ability to right click and "show label"
This should show the label of the underlying Menu item
This is not the label of the Menu itself but the menu items inside it
To see the label of the menu, click the label property of the menu and it will show up at the bottom of the properties window
When a compile error exists, use
Dynamics 365 > AddIns > Add Missing references - experimental (SS D365)
This should read the error list, then add references based on the EDT, Table, Class (may need to cater for enums, entity, views, query, etc .... )
Logic:
Another error type found is:
The 'SubledgerJournalAccountEntries' argument of the 'menuitemDisplayStr' compile-time function does not specify a known menu item display.
It would be nice to have an option to include all objects from a model into the visual studio project? For instance, I would like to create a project from a model which includes all the objects from the model and put into the project.
Add functionality to add labels for menu items
labels & Help text to be converted to label id's
From the Main menu Add in, add option to open the Info class, and add breakpoint to Info at Line 298 Method: add()
@shashisadasivan hi, is it possible to get the username that is atuthenticate in visual studio using the addins?
When creating an extension from the AddIn, (Table Extension, Table code, Class, Form) & if an extension in the current model already exists, then add that to the project instead.
Objects:
Options: (Using the 3rd option - always add existing extension to the project)
The show labels extensions should extend for Data entitiy fields.
this will either show the current label, or traverse to the source table and find the label
The addin to create labels for code, should exclude lines where it is a part of the comment
Original code:
/// <summary> /// /// </summary> /// <param name="sender">sender</param> /// <param name="e">Value</param>
New code (bug)
/// <summary> /// init value event handler /// </summary> /// <param name = "@MyLabel:Sender">sender</param> /// <param name = "@MyLabel:E">e</param>
Similar to Form's , access Label creator for controls in a form extension. This should only target controls that have been added
When seaching for a label id, to find the lext under LabelHelper.FindLabelGlobally() , the label file is retrieved, however, when getting the label file, it fails. Seems like this may be searching for label files in the current model, which is not idea.
For a Output menu item type, create add-in to create an extension
Addin to allow create extension for Form data source
Menu's to be extended via Add in context menu
Base enums should be able to be extended
Create configuration file for Model and list of Labels to update in that model - because this can be language specific we wont want to update all label files.
Also the default language to use in that particular model
A extension on a view should create a view extension.
But it creates a Data entity extension
Create a code extension for an extended Table or extended Form
Currently when creating a security privilege (or duty), the label is simple text saying "Maintain xxxx" or "View xxx"
A parameter will be added to the add in, to convert the label text to a label
Create add in for Base enum extensions
Table > Field > Addins > Create EDT (SSD365)
Create an EDT with the properties defined
When a form is in designer mode, the user should be able to right click and create a form extension in the current model
Also add this to the current project.
Naming mechanism should make sure the extension name is not already used
@shashisadasivan Is it possible to label the configuration keys and Reports?
Form add in > Create label in code to be activated and update code for form (AxForm element only, not extension)
With the introduction of the Settings, it has introduced a bug in the naming of the elements.
Like Table/form/Security extensions contain the prefix & suffix
When there are multiple label files in the same module, only first label file (Assume alphabetical order) is picked up. Will need to be able to address this.
At this stage low priority as most of the modules usually have only 1 label file in there
Note: multiple languages can exist (label creator is designed to put the labels in all the lable file languages)
A menu item can be extended.
So the Add In contxet menu should be made available for this
Creating labels removes special characters from the label id.
e.g. % is replaced by P, Labels starting with numbers or special chars are removed
$,#,@ etc
We should be replacing these special chars with Words instead if possible
Current suggestion will replace the following
Special Char | Replace with |
---|---|
# |
Hash |
@ |
At |
! |
Ex |
$ |
Dollar |
^ |
Exp |
& |
Amp |
* |
Star |
+ |
Plus |
- |
Dash |
| |
Pipe |
\ |
BSlash |
/ |
FSlash |
= |
Equal |
_ |
Underscore |
~ |
Tilde |
% |
P |
On clicking the addin on a table to create the labels, if there are any labels created then add those labels to the current project
Is it possible to use the addin to add a label to a string? following example: throw error(strFmt("message example", "Test"));
Right clicking an element in design mode to give an option to add to Project.
After clicking, should check if it can be added (if its in the same model or not) and then add accordingly. Or give a message that the model differs.
On a form extension, the menu item is not available.
Need to enable it for Form extensions and apply labels on form controls
Main menu item - to create classes to support SysOperationFramework
This should create the 3 classes required, And optional UIBuilder
When creating a code extension from a Form design extension, the code class created includes the full form extension name instead of the original filename
e.g. for the SalesTableListPage form, if a design extension exists SalesTableListPage.MyExtension, then the class gets created with the extension
[ExtensionOf(formdatasourcestr(SalesTableListPage.MyExtension, SalesTable)]
instead it should be
[ExtensionOf(formdatasourcestr(SalesTableListPage, SalesTable)]
On a new VHD 10.0.9 + 10.0.10 update installed I am not able to use the tools.
After installation I am not able to open Dynamics 365 > Addins > Model settings (SS D365)
Depending on what is highlight in the solution explorer / designer view I get the following errors:
Could not load type 'Microsoft.Dynamics.Framework.Tools.MetaModel.Core.ServiceLocator' from assembly 'Microsoft.Dynamics.Framework.Tools.Integrations, Version=7.0.0.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35'
or
'Object reference not set to an instance of an object'
I have also tried without an solution open, same result.
Not all fields, EDT's have a label because they are extended from some other element.
Currently if there is a label, clicking the property will reveal the label at the bottom of the property window. But if the element extends something else, then you have to go digging until you find the element with a label value.
this feature will be the first UI based popup which will show the label from the first language file found.
Ideally there should be a grid of languages and the label, or a dropdown to choose the language and display that label.
SysOperation requires a contract, a controller and possibly a UI controller.
try and convert a RunBaseBatch class & split the dialog objects into a contract.
Main menu addin - create a simple form with a text field to create the label.
When label is created, copy that to the clipboard.
Useful when creating labels for text in code ad there is no way for the right click > addin to be used
This does not work for 10.0.10 anymore and causes breaking changes.
Will require to implement changes from @caleblanchard .. Thankyou :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.