How get global list from a TFS custom widget? - tfs

I read many guides about developing custom TFS widget (like this one https://blogs.infosupport.com/creating-a-vsts-dashboard-widget) but I din't find a documented way to get items of global list from a widget. How can I do that?

Related

Set queue as From in Quick campaign in Dynamics online

I am trying to create a new quick campaign in dynamics online. But I am not able to set the From-property to a Queue. In the documentation it does not seem to be possible neither (https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/entities/bulkoperation?view=op-9-1#BKMK_from)
According to documentation it only targets these entities.
Targets: account,contact,systemuser
Is there a property I am missing? Or do I need to find a way around this?

Teams Template with General Posts

Is it possible to create a Teams Template that contains the General Posts? I have disclaimers in pinned post in the General channel and I want those to be included in Teams created using this template. Also, if you open up the Teams in SharePoint, I want the same look and feel when a created from this template. Is this possible even using Graph?
Copying answer from comments for better understanding.
Teams support the create a Teams Template that contains the General Posts. You need to use Teams template to achieve the above or Graph to customise within teams.

How to programmatically get method level history from TFS API?

I am trying to find out method level history from TFS. I am able to get the history (associated work items and changesets) for an item, but unable to do the same at method level. The intent is to find the work items and changesets linked with a method in class. Any pointers to accomplish this would be highly helpful.
This is implemented in the CodeLens API's which are not exposed publicly. Source control in itself doesn't have a semantic concept of the contents of the file. The Code Lens API uses Roslyn to parse the files and uses clever heuristics to link different versions of the same method to each other.
Given that CodeLens API's aren't available for public use, TFS doesn't have anything that will help you accomplish this, without re-building the heuristic+semantic processing that CodeLens provides.

Create custom work items

I need to create a custom work item type from a build task, Is this possible with current VSTS Rest API?
I have reffered the Work items Referance, It doesn't contain info on this.
Based on the REST API document and this blog about timeline, REST API for customization is not supported now.

UI Dialog to search and add clients to a list

I need to implement a dialog for a web application (ASP.NET/C#) where users can search and select one or more clients from the company's database.
Actually an existing version is already used (see attached image) and I have to replace it with a new version (it comes from an external legacy software and will be dismissed).
The goal is to provide an intuitive and easy to use GUI, still providing the basic functionalities like: search for a client and add it or remove previously inserted.
My idea would be to develop the dialog with jQuery Dialog plugin and using web methods and Ajax/JSON to interact with them for interacting with the server and the DB. I cannot find a good solution yet for the contacts list, since I would avoid using GridViews or tables, if possible, for listing them.
Does anyone knows if further plugins or best patters exist for develop this UI and its functionalities?
I wanted to have the same in my application. After talking to the users i found that such dialog could easily be replaced by an Autocomplete with Multiple select.
See the jqueryUI demopage here.
If this does not fit your needs i would go with two lists <ol> or <ul>, a pagination plugin and perhaps a search plugin. But haven't done this so far.
Thanks for the hint, indeed for the search I also thought to a autocomplete for make the search easier.
My bigger concerns were about the Add and Remove selected Clients in a "modern" fashion.
I found this MultiSelect plugin that works perfectly for my needs (and maybe it could be useful for yours as well).
Not only it let use Multiselect to add/remove entries, but also have some auto-filtering capabilities when searching the entries. I will try to add this to my solution.

Resources