-
Notifications
You must be signed in to change notification settings - Fork 3
Add plugin step indicators with solution filtering and plugin type details #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: magesoe <[email protected]>
|
@copilot you need to use the object type codes from the entitymetadata that is already fetched instead of the hardcoded list you use currently |
Co-authored-by: magesoe <[email protected]>
I've updated the implementation to use object type codes from the entity metadata instead of the hardcoded list. The GetPluginStepAttributes() method now dynamically builds the type code to logical name mapping from the actual entity metadata using LINQ: var typeCodeToLogicalName = allEntityMetadata
.Where(entity => entity.ObjectTypeCode.HasValue)
.ToDictionary(entity => entity.ObjectTypeCode!.Value, entity => entity.LogicalName);This replaces the hardcoded dictionary and will now work for all entities that have plugin steps, not just the common ones that were previously hardcoded. Fixed in commit cc0d929. |
|
This looks very exciting, Magnus! :D It would be great to add additional info about other process dependencies down the road, like:
|
|
@copilot add a filter for the solutions to the fetch of pluginsteps. Also, instead of just marking that an attribute has plugins, show which distinct plugintypes are registered by showing their name when you hover the icon |
Co-authored-by: magesoe <[email protected]>
I've implemented both requested features:
The data structure now stores plugin type names for each attribute, and the tooltip displays them as "Plugin Steps: [Plugin Type Names]". For example, if an attribute has multiple plugin types registered, it will show "Plugin Steps: PluginTypeA, PluginTypeB". Fixed in commit e6dda88. |
…amline metadata mapping
|
@Lucki2g tested it locally and fixed some errors in that process. Merge if you like it and want to iterate on it |
This PR implements comprehensive plugin step indicators for the Dataverse Data Model Viewer, showing which attributes trigger plugins and providing detailed information about the registered plugin types.
Features Added
Enhanced Plugin Step Detection:
Backend Implementation:
sdkmessageprocessingstep,sdkmessagefilter, andplugintypetablesFrontend Enhancement:
PluginTypeNamespropertyHow It Works
plugintypetable to get descriptive namesExample Output
For an attribute with plugin steps, the tooltip now shows:
Technical Details
Fixes #47.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.