How to add a link to the item in Mashup

58 views
Skip to first unread message

Vyacheslav Volov

unread,
Jun 13, 2012, 1:20:29 PM6/13/12
to devtarge...@googlegroups.com
Incorporated the Assigned Effort Mash-up and I'm trying to place a hyperlink that I could right click or even the ID that represents the task or the story so that I can go to it for more details. The issue is I can't seem to get an idea of how to get that value in this location. 
fmtData.users[asmt.GeneralUser.Id].Items.push
which includes the array of items to display. I'd like to add the actual task number or user story number to this.

SERGEY TRUHTANOV

unread,
Jun 14, 2012, 2:44:18 AM6/14/12
to devtarge...@googlegroups.com
If you use "new look", the url is like the following : targetprocess/restui/tpview.aspx?acid=9C678159C89EAE3E832B092A4074E902#userstory/49509
All you need to set correct entity type and id in the url. This information is present in REST.

For the old look urls are different for all entites. You can just create a hardcoded dictionary for entityType/entityUrl.

Alex Fomin

unread,
Jun 14, 2012, 3:46:55 AM6/14/12
to devtarge...@googlegroups.com
You also can use ~/View.aspx?id={id} for all General entities - tasks, user stories, bugs, etc.


On Wednesday, June 13, 2012 8:20:29 PM UTC+3, Vyacheslav Volov wrote:
Reply all
Reply to author
Forward
0 new messages