The TOC functionality on TFS wiki doesn't work - tfs

I want to get the TOC at the top of the page.
I am using the code suggested by TFS wiki for markdown, which is:
[[TOC]]
But it doesn't work

The TOC feature was released 08/21/2018, see Create table of contents for wiki pages. Your hosted TFS Server is likely behind that release.

Related

how to display HTML files on BitBucket?

We currently use GitHub for our code repos, which include HTML files for documentation. On GitHub, the HTML files in the repo only display the HTML source, but I can publish it to GitHub Pages, where it displays as a regular web page for my users.
We have just begun the migration to BitBucket hosted within my organization. It looks like the BitBucket Pages plug-in is the equivalent to GitHub Pages, but we don't have that plug-in and I do not expect to get it. Without that plug-in, is there a way to display HTML files as a web page? We also have JIRA and Confluence, in case those help.
I currently document my Python code with pdoc (pdoc3) to create HTML documentation. I don't think this question is specific to Python or pdoc3, but I just thought I'd add that, in case it matters. (I like pdoc3, but if another tool solves my problem, I'll try it.)
In short, how do I display HTML in BitBucket without the Pages plug-in?

How to add javascript to JIRA 7

I have a JIRA server installed on my server I would like to add a javascript to all pages. any idea how?
I could not change any jsp file it seems that all are compiled could not be modified.
If hacky solutions don't make you feel uncomfortable, you might be able to use the "Announcement Banner" to achieve this. You can insert html/css/javascript there and it will be displayed on each page in JIRA.
There's an example available here.
The "Announcement Banner" documentation is available here.
Note that this only works on JIRA Server. On JIRA Cloud the Announcement Banner only accepts text or wiki format.

Customize the TFS web dashboard

Like the title says, how can I customize the web dashboard in TFS 2012? I have created my own Work Item Type and would like a shortcut on the home page of Team Web Access. I am using the default Team Web Access page and I would just like to have a shortcut button immediately on the front page instead of in a dropdown, which is where it's contained now.
Thanks!
There is no supported way to do this. In TFS 2015 they have the concept of Web Extensions, but that is only for specific extension points which doesn't include changing the home page.
You can do it in an unsupported manner, but I wouldn't recommend it. You can find the ASPX/CSS/JS files on the server that TFS uses for the web site and hack away at them. I've known people that have done this before. But there are probably repercussions when it comes time to upgrade.
For posterity, I've found a dirty solution to do this without cloning the website and gutting it (as described here: http://awaitwisdom.com/how-to-extend-tfs-team-web-access/). Note that this solution is really dirty and may not fit your project needs.
The solution works by swapping the default work item options (based on the process template you are using).
Use WITADMIN to export your Categories into an XML. Find a work item currently on the front page that you're okay with swapping out for the work item you want to be on the front page. Change "DEFAULTWORKITEMTYPE" to "WORKITEMTYPE" in the tags. Add a new entry: and it should show up as one of the shortcut buttons on your home page.
I highly recommend doing your modifications with Microsoft TFS Power Tools 2012.

Link to Confluence page in JIRA comment

Is there any way to reference Confluence page in JIRA comment without any additional plugins? Can accept solutions using user macros.
Using Confluence 5.5 and JIRA 6.2.2. Confluence and Jira are wired together in Application Links
There is nothing regarding such links in JIRA markup helper nor could I find anything elsewhere
You can use normal wiki markup inside JIRA description or comment fields. That means that the following should be rendered correctly:
Say you have a page at http://my.server.tv/confluence/SPC/my+page.
Insert inside the comment field something like This is the page [my page|http://my.server.tv/confluence/SPC/my+page] .... which will be rendered then as "This is the page my page ..."
Inside Confluence, you get on the info page of the page "my page" the backreference shown to your issue where the Confluence page was mentioned.
Users that watch that issue (or the Confluence page) will even be notified about that.
So there is no need for additional plugins, just use normal wiki markup, but inside JIRA. And your JIRA administrator has to enable wiki markup for the whole instance.

How to map shared Content Blocks to Templated in Sitefinity 5.2?

I just Migrated my 3.7 website to 5.2 Website, but I noticed that the Generic Content in 3.7 Project have been converted to Shared Content blocks in 5.2. And most importantly not all (only few are likned to pages, i.e., Used in pages column has "Not used" value).
I searched a lot but couldn't find any way to map these blocks to the pages as they were in 3.7 Project.
However, I was trying to follow tutorial:
http://www.sitefinity.com/documentation/documentationarticles/user-guide/widgets/content-widgets-group/configuring-the-content-block-widget
But I didn't see any option such as "Select from existing shared content button" in Edit Template mode, I get this option in Edit page mode & when I set the Content by selecting the existing Content it's not displayed in View mode, but it's displayed in edit mode.
Any ideas how to do this?
Thanks
With the introduction of Sitefinity v4, shared content is no longer available for templates, just for pages. They removed that ability unfortunately due to architectual reasons and performance issues.
The official comment on how to solve it at the moment, is by using inherited templates, where you drop a normal content block on a 'parent' template and thus its child templates inherit it while keeping a single point of edit.
As a non-recommendation 'hack', you can activate it, as described here. But keep in mind the response from Telerik:
it will lead to performance problems. This is why this feature is
disabled by default, and we do not recommend using it.
But there is also good news when you read the Sitefinity 5.3 roadmap which is scheduled for release end december 2012:
The 5.3 release includes the below improvements:
Shared content is now available to use inside page templates
Hope this helps,
Jochem.

Resources