How can I add link to existing rtc artifact in a collector message?
Hi,
I'm creating server side extensions and I was wondering how can I set a link to an artifact (like a work item or a change-set) in the message that I show when I make fail an advisor (with the IAdvisorInfoCollector.createProblemInfo method). I've seen that in the advisors provided with RTC there are these kind of links. Can you please tell me how to do it or indicate an example that I can view?
Thanks,
Michele.
I'm creating server side extensions and I was wondering how can I set a link to an artifact (like a work item or a change-set) in the message that I show when I make fail an advisor (with the IAdvisorInfoCollector.createProblemInfo method). I've seen that in the advisors provided with RTC there are these kind of links. Can you please tell me how to do it or indicate an example that I can view?
Thanks,
Michele.
Accepted answer
Please see the code in Due Date Notifier – an Asynchronous Task Example that does this inmethod
Please note that there are different types/flavors of links - you can tell for the different URI's you can see in the UI - and you have to know which kinds of links to create how.
Also see the code in A RTC WorkItem Command Line Version 3.0 which basically creates all kinds of URL's for RTC artifacts during export and import and other operations.
sendRememberingMail.
Please note that there are different types/flavors of links - you can tell for the different URI's you can see in the UI - and you have to know which kinds of links to create how.
Also see the code in A RTC WorkItem Command Line Version 3.0 which basically creates all kinds of URL's for RTC artifacts during export and import and other operations.