1

I wrote a plugin that simply adds a bug's parent id as one of the columns you can add to the main grid view of your bugs using the filter drop down menu. I wasnted to make it clickable so that you could go right to the parent case with one click. I used BugDisplay.Link to do this. However, when the grid is exported to excel the field for parent case is all the html code for the roll over link. Is there some way of still having a clickable link and not getting all the html populating the fields in the excel export?

flag

1 Answer

1

You can!

Instead of sending down the HTML for the link when fPlainText is true, send down the following Excel formula:

=HYPERLINK("http://[your url here]")

And instead of using BugDisplay.Link (which generates an HTML anchor tag), you might want to use FogCreek.FogBugz.URL.BugViewUrl() which will just return the URL itself.

link|flag
Worked great. Thank you! – mpax Sep 23 2010 at 17:55

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.