How to Create Related Artifacts type Custom Link in CLM 4.0.1
Hi
I have created RTC Custom Link Type named as :---- OWC Custom Links1(Shown below when we click the Custom Link type which type of windows open) The code for this one is :- <?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.2"?> <plugin> <extension point="com.ibm.team.repository.common.linkTypes"> <linkType id="com.ibm.team.workitem.example.linktype.owcwork" constrained="false" internal="false"> <target> <endpoint displayName="OWC Custom Links1" id="owccustomLinks1" multiplicity="0..n"> <itemReferenceType itemTypeName="WorkItem" packageURI="com.ibm.team.workitem"/> </endpoint> </target> <source> <endpoint displayName="OWCSpecial" id="owcspecial" multiplicity="0..1"> <itemReferenceType itemTypeName="WorkItem" packageURI="com.ibm.team.workitem"/> </endpoint> </source> </linkType> </extension> </plugin> ------------------------------- But now i want to create a Custom links for the RTC where we click on that link type it will open the windows as:-- For this changes what should be changed in the code.Can you please help me in this. |
3 answers
Ok, so you want to have a new Linktype NAME that acts like Related Artifact.
it has a label and a url link to anything. Here is the definition of the RelatedArtifact link, from plugin com.ibm.team.workitem.common, plugin.xml.. note that only one side is a workitem. I don't know how this behaves or if there is special code.. <code> <linkType id="com.ibm.team.workitem.linktype.relatedartifact" constrained="false" internal="false"> <target> <endpoint displayName="%linktype.relatedartifacts.name" icon="icons/obj16/relatartif_obj.gif" id="relatedArtifact" multiplicity="0..n"/> </target> <source> <endpoint displayName="%linktype.relatedworkitems.name" icon="icons/obj16/related_obj.gif" id="relateWorkItem" multiplicity="0..n"> <itemReferenceType itemTypeName="WorkItem" packageURI="com.ibm.team.workitem"/> </endpoint> </source> </linkType> </code> Comments
Preetam Sikdar
commented Mar 28 '13, 2:15 a.m.
HI sam
|
Does anyone have an actual answer to this?
|
Ralph Schoon (63.4k●3●36●46)
| answered Aug 14 '18, 6:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I have explained how to do this here: https://rsjazz.wordpress.com/2014/12/03/creating-custom-link-types-for-rational-team-concert/ I can not be more specific.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
sorry, I don't understand the question..
that selection you outlined is a dropdown box.
a 'Related Artifact' link is a different type than your custom linktype.
a 'Related Artifact' is assumed to be a link to content OUTSIDE RTC,
as you would have used one of the specific links otherwise. (Related Workitem vs Related Artifact)
Hi Sam,