Windows11 explorer context menu limited to 2 levels? - contextmenu

I'm trying to migrate an existing ShellExtension to the new Windows11 explorer context menu, but such menus seem to be very limited. What I learned so far is that one has to implement the IExplorerCommand interface, at least if it later should be installable as Windows app (*.msix).
There can be only one single root menu item? Each menu item needs to be registered with the "IExplorerCommand" this describes one menu item, a dynamic list can be added only as sub menu items via EnumSubCommands().
Cascading menus are limited to only 2 levels, the root menu item and one level of sub menus? Whatever I try to add multiple levels, Windows11 is truncating them.
Anybody experienced the same problems or found a better solution?

Related

TFS 2017 WebLayout - Add field to Attachment tab

We are starting to look at the new WebLayout feature of TFS 2017.
I understand the system controls and that Microsoft has limited this on purpose.
What we currently have for the work items is a textbox above the AttachmentControl that shows some instructions on how to use the attachment Control, or better how not to use it. As well as a network path to the server to use in case of very large attachments.
I can't seem to find a away to add items to the new Attachment tab. The control is currently page wide on the new tab and no way to add additional controls to that tab.
Is there a workaround that would allow me to add a control to this tab ?
No. You cannot modify system controls. You could write an extension that pops up your warning text, but you'd have to add it to one of the available "contribution" points.

TFS - Add work item to specific project

I'm relatively new to developing with tfs (only used git before).
I'm connecting to a server, which contains a decent amount of projects.
When I create a new work item, I can select only the server below 'classification' and not the specific project.
How can I allocate a work item directly to a project instead of the server?
Thanks!
You could directly create work item under the specific team project. The simplest and effective way is through web portal.
Project--Work--New Work Item--Work Item Type
After this the a work item directly allocated to this project instead of the server.
In work item, several features depend on the team project or team that
you have selected. For example, dashboards, backlogs, and board views
will change depending on the context selected.
When you add a work item, the system references the default area and
iteration paths defined for the team context. Work items you add
from the team dashboard (new work item widget) and queries page are
assigned the team default iteration. Work items you add from a team
backlog or board, are assigned the team default backlog iteration.
You navigate to your team context from the top navigation bar.
If you are new to tfs work item, suggest you take a look at related tutorial in MSDN: Plan and track your project with work items. Besides in TFS, there is a concept of permission, also make sure your account have enough permission for the project and adding work item.

Tree Explorer View for TFS

Is there a way to see the current item being viewed in TFS to be shown in a tree explorer on the side like windows explorer?
Yes, I know there is one view that shows everything in a tree view, but most of the time we are looking at a specific item and have to reconstruct it's relationship to other items from the links list by going forwards, backwards etc.
Or just clicking a link that opens a new window that displays the current item in a tree view like windows explorer does when we are within a folder?
If you just want to change the Parent/Child relationship between Feature, User Story, Task and Bug, you can drag and drop the work item to its parent work item directly. Refer to this link for details: Map items to group them under a feature or epic and Re-parent and reorder items.
If this does not meet your requirement, refer to my answer in your another question for details: How to get a flat view of a TFS item tree?

How to View a TFS Work Item in MS Project in a Visual Studio-like Form

I'm using MS Project to manage my TFS work items. The standard Summary Task Information window that comes up when double-clicking on a task is slightly inadequate when dealing with TFS work items. It lacks the standard work item view that we're accustomed to within Visual Studio, and that MS has elegantly rendered within visualstudio.com.
I noticed today that if I set a task field to invalid value, then Work Item Publishing Errors window comes up and there's a nifty little button Edit Work Item... that displays the work item in the standard VS view. Now I'm searching all over Project to figure out how to edit a work item in this view without first having to cause a publishing error. There must be some button I've overlooked in Project that opens a TFS work item up in the VS-like view, isn't there?
It's currently not possible and its also not intended to be used that way. The UI in Ms Project is the native Project UI and is mant to receive the updates to the plan and to layout the items into a new plan.
Managing the contents of the items is all meant to be done from the Web UI. With the new Work Item UI you'll be redirected to the Web whenever you need to edit a work item. Visual Studio, Excel and Project won't show you a native editor window anymore.
You'll be able to directly to the work item editor on the web from the team tab. When connecting to older versions of TFS, this would open the Work Item editor:

What do the following icons mean when creating a new workitem in TFS 2012?

The following image is in spanish but that does not matter.
The menu shows the list of workitems on the TFS and opens when I click on "create new work item". What I don't know is what mean the different icons and why the first two workitemtypes have a different one.
I created all the workitems you can see there but I wasn't aware of doing anything different on them that could set a different icon nor a different place on the menu.
These icons represent what category those specific work item types are in. For instance, the clipboard with the check corresponds to a work item type that is in the task category and the one below it with the chat box and an exclamation point represents a work item type that is in the requirements category. These categories are defined in the process template when creating a team project, and they can also be exported/edited/imported to any current project. Hope this helps :)
Here is the MSDN link on customizing categories: http://msdn.microsoft.com/en-us/library/vstudio/dd273721.aspx

Resources