Code Monkey home page Code Monkey logo

ssd365vsaddin's People

Contributors

shashisadasivan avatar singhdevinder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ssd365vsaddin's Issues

Create labels

Create labels task

  • Data entity
  • Data entity extensions

Label comment filled with "New comment"

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.

Remove - Add to 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.

Show label - On Menu

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

Add Module references from Compile error

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:

  1. Read error list - find errors with the text similar to: The name 'ABCPercentA' does not denote a class, a table, or an extended data type
  2. For each of the errors, find the element's model & add it to the refrence
  3. Refresh the model - Not sure how to do that
  4. Rebuild the model - Currently doing a clean & build, but this doesnt have the same effect :(
  5. Repeat steps 1 - 5 until the error list does not have the matching errors

Another error type found is:
The 'SubledgerJournalAccountEntries' argument of the 'menuitemDisplayStr' compile-time function does not specify a known menu item display.

Installation instructions & script update required

  1. script for "how to install" doesnt work. it needs to be downloaded and then run
  2. The script will only work if visual studio was opened and an appropriate D365 FO Project was created. This initialized the XML file
  3. The script fails while adding the xml element ... need to investigate this

Create project from model

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 labels to menu item

Add functionality to add labels for menu items
labels & Help text to be converted to label id's

Add breakpoint to Info

From the Main menu Add in, add option to open the Info class, and add breakpoint to Info at Line 298 Method: add()

Create Extension - add existing extension to project instead

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:

  • Table Extension
  • Security Duty extension
  • Base Enum extension
  • Class Extension
  • Table class extension
  • Form Extension (Issue with current API)
  • Form code extension
  • Data entity

Options: (Using the 3rd option - always add existing extension to the project)

  • Maybe keep this as a parameter
  • Prompt
  • Just add the existing extension to the project

Show labels - For Data entity

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

Create label in code - avoid commented line

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>

Add labels to different elements

  • Security Duty - Fixed
  • Security Privilege - Fixed
  • Security Role - Fixed
  • Forms - this is under a different issue (in progress #2 )
  • EDT - Fixed
  • Base enums - To be implemented

Create configuration file for Label creation

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

Create EDT from Table field

Table > Field > Addins > Create EDT (SSD365)
Create an EDT with the properties defined

  • Container
  • Date
  • Enum
  • Guid
  • Int
  • Int64
  • Real
  • String
  • Time
  • UtcDateTime

Form Designer > Create extension

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

Create extension - naming

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

Label creation - multiple label files issue

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)

Label - replace # with Hash & other chars

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

Label in string

Is it possible to use the addin to add a label to a string? following example: throw error(strFmt("message example", "Test"));

Add element to Project

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.

Code extension of Form Datasource from form extension design includes the full extension name

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)]

Object reference not set to an instance of an object / Could not load type

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.

Show label for element - when element extends

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.

Form for Creating label

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.