How do i limit the custom extensions to specific projects only - tfs

Hi have created an extension using then following link
https://www.visualstudio.com/en-us/docs/integrate/extensions/get-started/node
But , i want to display this "Tab" which i have created using the TFS Extensions only to specific projects in my collection. is it possible

No, it's not possible currently. The extension is installed on the project collection level, not team project level.

Related

How to install a TFS extension only on some project instead the whole collection

we have a TFS collection with a huge amount of projects inside (it's a design choice).
We have create extensions (that works great), but out current problem is: How to install the extension not on the whole collection.
If the solution is to install it on the whole collection but hide it after with a setting, it should be great too.
I have take a look inside the manifest, but for now I hadn't found the solution.
Has anyone have a clue about this problematic ?
Unfortunately this is not supported for now. When you install an extension, you need to specify a collection, the extension will be installed for all team projects under this collection.
But for a paid extension, you can restrict who can access it by Assigning paid extension access to users
There have been user voices below to suggest the feature, you can go and vote it up to achieve that in future release.
Limit the custom extensions to specific projects only
VSTS extension project restrict
Besides, if you don't want to apply the extension to some team projects under a collection, then as a workaround you can split a team project collection to organize your projects into separate collections (Collection A : The projects which you want to apply the extension; Collection B: The projects which you don't want to apply the extension.).

Tfs Extension for a specific project

Im pretty new in TFS and need to create a hub extension.
The thing is I can't find a way to specify a collection project for the extension so it will exist only when this project is selected on the TFS and not for all projects.
Maybe there is a way to specify this in the extension-manifest.json file?
No, extensions are installed into the collection level https://learn.microsoft.com/en-us/vsts/marketplace/get-tfs-extensions
Data storage is also either at the collection level or user level.
This is not support for now. When you install a extension, you need to specify a collection, the extension will be installed for all team projects under this collection.
There has been a related uservoice, you could vote up it, TFS PM will kindly review your suggestion:
Limit the custom extensions to specific projects only
https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/16469686-limit-the-custom-extensions-to-specific-projects-o

Adding solution to source control

I want to add solution to source control(tfs I am using vs 2015).I selected the option add solution to source control, then one dialog opened, in that dialog there is no option to create a new folder directly under collection, it is always adding to the existing project(folder).How can i create a new folder/project directly under the collection.
The structure TFVC uses for source control is as follows:
Team Project Collection (created by your TFS admin)
$/TeamProject1
$/TeamProject2
etc
You can't add source code directly under a Team Project Collection -- it has to be created in a Team Project. And you can't just create a "folder" that represents a new Team Project. You have to create a Team Project either via the web UI (if you're using TFS 2015 Update 2 or later) or via Visual Studio. The version of Visual Studio used to create a Team Project needs to match up with your version of TFS, as well.
Typically, guidance for Team Projects is to create a single team project for each portfolio of related applications, since each Team Project is isolated from other Team Projects in terms of things like source code, build, release, and work item management. You can use the concept of Teams within a Team Project to create separate backlogs and the like for individual applications.
Some further reading:
Why you should use one Team Project: http://geekswithblogs.net/Optikal/archive/2013/09/05/153944.aspx
Creating a team project: https://learn.microsoft.com/en-us/vsts/accounts/create-team-project

TFS2012: Can CommonConfiguration support Team based setup on the web access?

The boards: Work/Backlog/product backlog/board(the stories/backlogitems) and on Work/board(tasks) can we have different column mappings per teams? Currently the type - value pairs are stored in CommonConfiguration, so it is project based, can we change it to be Team relative?
This totally depends on which update you are on (if you are using on-premise TFS). If your TFS deployment is Update 2 or higher - or you are using TFService - you can customize the "Kanban Board" (the board that shows work items on the backlog), link here: http://blogs.msdn.com/b/bharry/archive/2013/02/01/customizable-kanban-swim-lanes.aspx. This allows you to change the columns, per team, without changing the workflow of work items themselves.
As for the Task board, you can customize it, but only for an entire team project. This must also be done via the CommonConfiguration file.

Moving a Team Project from one Collection to another

is there a (simple) way to move a single TeamProject from one collection to another (in one server) in TFS 2010? Including source code, work items, documents, project site...
No not really simple, you can split a collection and creata a new collection with the team projects you move in it, but you cannot out-of-the-box merge a team project into an existing collection.
What you can do is to use the TFS integration platform http://visualstudiogallery.msdn.microsoft.com/eb77e739-c98c-4e36-9ead-fa115b27fefe or http://tfsintegration.codeplex.com to migrate your team project over to the new collection. This is however a DataMigration that doesnt keep or even move all data, but it will move Source Code & Workitems. Moving a team project site (if needed) , including documents can be done by using the STSADM Export and Import commands, please refer to http://technet.microsoft.com/en-us/library/cc288191%28v=office.12%29.aspx for more info about moving SharePoint sites
No there isn't.
But it is a requested feature: http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2037613-make-it-possible-to-move-a-team-project-between-te
It is not easy, but it is doable: Split a Team Project Collection
Yes there is a feature request, but I don't think it will be shipped in the box, so the other option to use TFS Integration Platform
There is a way to move from one collection to another using git-tfs and git-tf tools, it is a kind of workaround, but works if this is really required to be done.
This is posted step-by-step here:
https://fabiostawinski.wordpress.com/2017/03/22/tfvc-to-git-to-tfvc-is-it-possible/
In VS 2013 - map both collections to some folders, and then "Move" command will be available:

Resources