<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use a bat file link a checkpoint to task in Systems/Software Engineering</title>
    <link>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650732#M7160</link>
    <description>Hi Leigh 

Sorry for the mistake, it's my first time to use this community yesterday. I want to ask question for integrity 11. Thanks.</description>
    <pubDate>Tue, 25 Feb 2020 04:15:57 GMT</pubDate>
    <dc:creator>wentao</dc:creator>
    <dc:date>2020-02-25T04:15:57Z</dc:date>
    <item>
      <title>How to use a bat file link a checkpoint to task</title>
      <link>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650544#M7158</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to use a bat file to link a checkpoint to a task "Attachment/Integration Links" part. Which command can I use?&lt;/P&gt;
&lt;P&gt;I try to use I'm editissue --addsourcelink &lt;SPAN class="varname"&gt;field=scmSourceFieldName&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 08:29:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650544#M7158</guid>
      <dc:creator>wentao</dc:creator>
      <dc:date>2020-02-24T08:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bat file link a checkpoint to task</title>
      <link>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650651#M7159</link>
      <description>&lt;P&gt;Hi Wentao,&lt;/P&gt;

&lt;P&gt;Can you confirm the product you are referring to you in your post?&amp;nbsp; Once you confirm, I can move your post to the appropriate product forum so that it is seen by the appropriate Community members who can help you with your question!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Leigh&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 15:28:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650651#M7159</guid>
      <dc:creator>Leigh</dc:creator>
      <dc:date>2020-02-24T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bat file link a checkpoint to task</title>
      <link>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650732#M7160</link>
      <description>Hi Leigh 

Sorry for the mistake, it's my first time to use this community yesterday. I want to ask question for integrity 11. Thanks.</description>
      <pubDate>Tue, 25 Feb 2020 04:15:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650732#M7160</guid>
      <dc:creator>wentao</dc:creator>
      <dc:date>2020-02-25T04:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bat file link a checkpoint to task</title>
      <link>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650958#M7161</link>
      <description>&lt;P&gt;Hi wentao,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to open a Support case for this, with the Integrity(Windchill RV&amp;amp;S) Support team.&lt;/P&gt;
&lt;P&gt;What is your full syntax you're using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;SPAN class="codeph"&gt;--addSourceLink=&lt;/SPAN&gt;&lt;SPAN class="codeph_002c_varname"&gt;value&lt;/SPAN&gt; info is documented here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.ptc.com/cs/help/integrity_hc/integrity112_hc/en/#page/IntegrityHelp%2Fim_editissue.html" target="_blank"&gt;https://support.ptc.com/cs/help/integrity_hc/integrity112_hc/en/#page/IntegrityHelp%2Fim_editissue.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you specifying any of the *revision values mentioned there?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 21:35:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650958#M7161</guid>
      <dc:creator>MichaelChatel</dc:creator>
      <dc:date>2020-02-25T21:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bat file link a checkpoint to task</title>
      <link>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650976#M7162</link>
      <description>&lt;P&gt;Hi MichaelChatel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The tool I used we usually call it MKS and from start menu I see it name is Integrity LM client. We use this tool to archive source code and do SW integrity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/210422"&gt;@echo&lt;/a&gt; off&lt;BR /&gt;im editissue --addSourceLink=field=scmSourceFieldName,devpath=CANoon_AsiaPacific_1.2.2,Revision=1.2.2.92 4041685&lt;/P&gt;
&lt;P&gt;Above is my script. The link you give to me I already referred, but I have problem with what value should give to field. I don't understand the "scmSoureFieldName" means. Do you have any example for "editissue". By the way, I attach a document by use "im editissue --addAttachment" successfully for the task.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 02:09:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/650976#M7162</guid>
      <dc:creator>wentao</dc:creator>
      <dc:date>2020-02-26T02:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bat file link a checkpoint to task</title>
      <link>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/695717#M7370</link>
      <description>&lt;P&gt;Did this work i have same problem&lt;/P&gt;
&lt;P&gt;im editissue --addSourceLink=field=SourceLinkage,revision=1.1,server=&amp;lt;sever&amp;gt;, port=&amp;lt;port&amp;gt;,project=//project.pj,file=&amp;lt;finename.pdf&amp;gt; issue ID&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Modifying item ...&lt;BR /&gt;Adding source links ...&lt;BR /&gt;Could not save modified item 776791: MKS755129: Invalid source link field type. Expected Source Link field without trace enabled for this operation.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 20:55:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/695717#M7370</guid>
      <dc:creator>HS_8457422</dc:creator>
      <dc:date>2020-10-28T20:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bat file link a checkpoint to task</title>
      <link>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/695747#M7371</link>
      <description>&lt;P&gt;The command you are running is to populate a field of an item of a special type: &lt;STRONG&gt;Source Link&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;In the example that returns "&lt;SPAN&gt;Could not save modified item 776791: MKS755129: &lt;U&gt;Invalid source link field type&lt;/U&gt;. Expected Source Link &lt;U&gt;field without trace enabled&lt;/U&gt; for this operation.&lt;/SPAN&gt;", what you are told by the text I underlined is that you selected a field that is not a Source Link. Such fields can be of two subtypes, basically 1) simple link, or 2) source trace. Your field is of type 2 so cannot be used with this command. For such field, the command is "&lt;STRONG&gt;addSourceTrace&lt;/STRONG&gt;".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the original post, the question is about &lt;STRONG&gt;linking to a &lt;U&gt;checkpoint&lt;/U&gt;&lt;/STRONG&gt; (I assume of a CM project/subproject) and only Source &lt;U&gt;Link&lt;/U&gt; (type 1) fields supports that, so the correct command is used.&lt;/P&gt;
&lt;P&gt;In the subsequent question, it seems the fieldname "&lt;SPAN&gt;scmSoureFieldName&lt;/SPAN&gt;" is provided as an indication that you need to provide a valid name of a real field of the proper type.&lt;/P&gt;
&lt;P&gt;Look at the fields available for the item you are editing and find the Source Link field and use that name. If you don't have one, either have it created and added, otherwise you are trying to do something that is not possible in your system.&lt;/P&gt;
&lt;P&gt;The help section you need is&amp;nbsp;&lt;A href="https://support.ptc.com/cs/help/integrity_hc/integrity112_hc/en/#page/IntegrityHelp%2Fclient_trace_source_traces_overview.mif-2.html%23" target="_blank" rel="noopener"&gt;https://support.ptc.com/cs/help/integrity_hc/integrity112_hc/en/#page/IntegrityHelp%2Fclient_trace_source_traces_overview.mif-2.html%23&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 01:40:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Systems-Software-Engineering/How-to-use-a-bat-file-link-a-checkpoint-to-task/m-p/695747#M7371</guid>
      <dc:creator>LLawton</dc:creator>
      <dc:date>2020-10-29T01:40:44Z</dc:date>
    </item>
  </channel>
</rss>

