I am currently doing a school project with two other members. We're using Team Foundation Server with Visual Studio to share the project and for collaboration.
I've added the project to Source Control (File > Add to Source Control > Choosing Team Foundation Version Control > Choosing Team Project Location) and checked in all changes.
Funny thing is, while my groupmates are able to connect to the server and configure workspace mappings, Source Control Explorer is empty for them. Mine, however, shows the appropriate files and folders (see image below)
Source Control Explorer on my side. On my groupmates' machines, Source Control Explorer is empty. All it shows is "beitrik.visualstudio.com\DefaultCollection" under the "Folders" section.
Is there any way I could solve this? Right-clicking "beitrik.visualstudio.com\DefaultCollection" and selecting Get Latest Version does not work either, since the resulting message will be that "All files are up to date".
Thank you!
Just as Daniel Mann mentioned, the other two member are working as a stakeholder that cannot contribute to Code.
As a stakeholder, you can:
View, add, and modify items on the backlog
View, create, and modify work items such as stories, features, and bugs
View, create, and save queries
View team dashboards and portfolio backlogs
Create and receive alerts when changes are made to work items
Submit, view, and change your feedback responses.
You can have 5 free users with Basic Access which can contribute to Code. Configure it via following steps:
Open your VSTS account from Web Portal.
Select "Users" panel.
You can add or edit the users on this tab, change the access level to "Basic" will give the access to Code.
Refer to this link for more details: Manage users and their access levels in your Visual Studio Team Services account
You have your other contributors at the Stakeholder access level. Stakeholders cannot contribute code; it's a level of permissions intended for people who will be contributing requirements and monitoring project progress, but not actively contributing code. Stakeholders do not require any licensing, which is the big draw.
However, you get up to 5 users (including yourself) for free, so you can add them to the Basic level so they can contribute code. You can do that by going to the "Users" tab from the root of your project (e.g. http://youraccount.visualstudio.com).
Related
I'm working on an application which extracts data from Visual Studio Team Services and stores it in local db for statistics purposes. The links between workitems are important part of our reports. The information needed for me is the same you can find under the links tab in Visual Studio Team Services. There are the Links and WorkItemLinks properties of WorkItem class and there is no clear description which one stores what kind of data. So, I don't know which one is needed for me. The Links name on the Visual Studio Team Services user interface suggest that the I should deal with the Links property, but now I'm curious why there are two similar property.
If I remember correctly the distinction is as follows:
Links: contains all links, including Version control, Hyperlinks and other type of links.
WorkitemLinks: contains all work item links that link to this work item. So only links between this work item and other work items.
Making WorkItemLinks a subset of Links.
You'll see that the Links property has a bunch of Add(RelatedLink|Link|HyperLink|ExternalLink) methods where WorkItemLinks only has Add(WorkItemLink).
I'm facing some problems, somehow to provide to content authors solution/advice to delete huge sections of website translated (having language versions) and with references set on presentation or data items inside content tree.
Removing all items plus references raise another problem how to make the changes visible on web database. Publish cannot be used, even workflow is present changes are made on presentation (master instance is mapped to a preview site for client) on pages (by different agencies) and cannot reach live, only when they decide to. Used as well number of versions per language (limited to 6, rest removed) if all 6 variants are trapped in workflow publish will publish item with all fields empty, we don't want to have a blank page.
And there are other concerns regards incorrect work, sometimes agencies publish/submit incorrect/unproved content and they blame each other case someone publish accidental pages (presentation settings/datasource) so i want to pick the best strategy here not to give room for content authoring agency's to blame their incorrect work other then them.
I have few approaches to do it right but..
do same deletion of items on web database via CMS in theory works (tested on locally in sitecore 7.2 - works) on Production CMS (Sitecore 7.0 - admin rights, no access to server files for me) fails as in next image:
write a module (Sitecore command to remove all references and removing/recycling web database item cannot be performed via code because it will trow same error as above)
Question 1. Why this error occurs at CMS item deletion if web database is selected (Sitecore 7.0)
Found in this deprecated post something what seems to be the solution: Add publishing commands to the recycle bin. Well here I get a bit blocked, adding the publish command on Recycle Bin ribbons, don't know if it's possible to do this (what I'm publishing I do not understand). I created something but it's not working:
This is the result :(
Question 2. Is publishing commands to the recycle bin possible? If yes please help me with a documentation to implement it and understated what/how is published.
If you have other suggestions (beside publish item + sub items or publish website) please help me out.
Thank You.
Currently the webmaster can go into IIS and edit files by using Dreamweaver. The problem came when developers deployed a Web Application Project and the webmaster changed the master page to update the design, but then when developers deployed updates to the WAP it overwrote the master page back to the way it was.
So my question is, what is the best way to let the webmaster/designer edit the master page design in an ASP.NET WAP and keep project files in sync with developer projects?
Currently the webmaster can go into IIS and edit files by using
Dreamweaver
That means webmaster is actually editing the production copy of files. Don't do that. Why would you allow production copy to be modified. Rather, as already suggested by #BenRobinson; have webmaster make changes to the version already present in TFS (considering the face that, production branch is different in TFS than main code branching).
That way, once it's been approved that the modified changes are per requirement then you can copy the changes to production branch and do a full deployment along with other code changes.
I want to reverse engineer a current c# Project at work. I was told to use enterprise architect. But where can I select to import the source code? I am using Version 10 Corporate Edition and it seems to me there are big differences to earlier Versions. When I select a Project there are no Options like "Code Engineering" as I have seen in many youtube videos or text tutorials.
The top-most level in the model tree consists of one or more "root nodes", sometimes referred to as "models" in the help file. One of these is created when the project is created, by default it is called "Model".
This level is only for organizing model packages and is very restricted in what you can do with it. You cannot place diagrams or classes directly under a root node, and you cannot reverse-engineer code to a root node. Root nodes are not, strictly speaking, UML packages.
Instead, you must create a package in the root node. The first level below the root is called "view", but view packages are regular UML packages and you can do anything with them, including show them in diagrams, draw connectors to them and import code into them.
When you create a view, EA asks you what icon to display. This is GUI sugar only, and has no effect on what you can place inside the package.
The thing to keep in mind is that while you can move regular packages freely around the tree if you want, you cannot move root nodes or view packages to other levels. In other words, you cannot turn a view into a root node and you cannot place a view inside another view. For this reason, it might be a good idea to create a regular package inside your view before you import your code.
So: create a view inside the "Model" root node, and preferably another package in the view. You will be able to import code into either.
Addendum after the screenshot was added:
You need at least the Professional license to do code engineering at all. If you've got that, you're either working in a project where you don't have the necessary privileges to do reverse engineering (and need to contact the project administrator to get it), or you've selected a command set that doesn't include it.
EA 10, on first start after installation, asks if you wish to customize the GUI. This actually means that a number of menu items are removed. If you can't find a menu item, go to View -- Workspaces and Commands -- Commands, and select Complete.
Solved it. Somehow some options were hidden in the default profile .... great. Reconfigured the profile and now it works.
Thanks anyway
I was attempting to debug an issue I was having with a feature stapler I created today (the issue is fixed and the error isn't important here), but it got me wondering. I want to be able to see a list of features that are stapled to a particular site template or definition, and what the scope is of the stapler, but I haven't found any way of doing that yet (most blogs and articles are on how to create a stapler).
So, in short, does anyone know of a way to retrieve a list of stapled features (via SP Object Model, PowerShell, Web UI, SharePoint Manager, SQL Script, or crystal ball)?
I have used PowerShell in the past. Using the sharepoint snap-in:
Get-SPFeature | Sort -Property Scope,DisplayName | FT -GroupBy Scope DisplayName,Id
will get everything on the farm or you can use:
Get-SPFeature -Site http://url
to get active site features on a site collection.
I've discovered that the best way to do this is to run a "findstr" console command on the features directory looking for stapler definitions in the elements.xml files. Once you have the list of features, you can just cross-reference them with the features that are activated on the site.
Hopefully this helps someone else...