<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Aras V12 - GetControlledItem</title><link>https://www.aras.com/community/f/development/36310/aras-v12---getcontrolleditem</link><description>Is there a replacement for GetControlledItem in V12? My methods from V11 that contain GetControlledItems don&amp;#39;t work in V12.</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Aras V12 - GetControlledItem</title><link>https://www.aras.com/community/thread/6409?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 19:04:20 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f31d6617-0ad5-45fb-b3ea-aacd69920f42</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Is your Workflow revised of your Affected Item (Part/Document). I use revised&amp;nbsp;Workflows and never had any trouble. Main obstacle when modifying a workflow is to avoid to many unnecessary revisions. Was a little bit easier in Innovator 11.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Form my POV the Method &amp;quot;&lt;span&gt;labs_GetControlledItemCSharp&amp;quot; is right now the gold standard for getting data of cm items.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Main advantage: You add the Method once - and just use it. You do not have to understand how it works. I assume Yoanns sample was a first draft for the final community solution.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can google the Method. At this post I even&amp;nbsp;use the Method call for demonstration:&amp;nbsp;&lt;a href="https://community.aras.com/f/development/3666/brackets-for-functions-in-csharp-methods---why-so-unusual"&gt;community.aras.com/.../brackets-for-functions-in-csharp-methods---why-so-unusual&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aras V12 - GetControlledItem</title><link>https://www.aras.com/community/thread/6408?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2021 14:45:45 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:06179433-8119-4033-9cd9-b66396e829f5</guid><dc:creator>kkoshel</dc:creator><description>&lt;p&gt;Please let me know if this method is cover versioned items.&lt;br /&gt;I have pretty similar implementation, but solution is failed for item, that have 3 versions (per each modification). It returns 3 &lt;strong&gt;Workflow&lt;/strong&gt;s items with same &lt;strong&gt;Workflow Process&lt;/strong&gt; as related item that points to the 3 controlled items (that in fact single item but different version).&lt;br /&gt;I can&amp;#39;t find the way how to pick right Workflow (that will point to current version).&lt;br /&gt;One potential solution is take one with latest &amp;quot;created_date&amp;quot;. But looks little tricky and not right.&lt;br /&gt;Other potential solution was founded here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gist.github.com/YoannArasLab/817184c84b7dec9e0dd3105c9d456632#file-getcontrolleditem-cs-L19-L37"&gt;https://gist.github.com/YoannArasLab/817184c84b7dec9e0dd3105c9d456632#file-getcontrolleditem-cs-L19-L37&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But I&amp;#39;m not sure if it is best/right solution to do so.&lt;/p&gt;
&lt;p&gt;So is there more generic approach?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aras V12 - GetControlledItem</title><link>https://www.aras.com/community/thread/6399?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 19:59:45 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:b92568aa-6faf-4c67-a993-017d3575f9f5</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Do you use this one in the context of&amp;nbsp;ChangeManaement / Workflows?&lt;/p&gt;
&lt;p&gt;Most of the community projects use the Method &amp;quot;labs_GetControlledItemCSharp&amp;quot;. Still works in V12.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>