<?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: Automated Linking of Items in Fusion Manage Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777405#M7786</link>
    <description>&lt;P&gt;Yes, Adding items to the relationship tab is now supported. (as of 8.0)&lt;/P&gt;
&lt;P&gt;The Wiki will be updated shortly but here’s the basic notes on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The relationship tab support will follow the same basic design as grid and workflow items.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The features supported:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;item.relationships -- A list of relationships&lt;/P&gt;
&lt;P&gt;item.relationships.addRelated({ RELATED: target, TYPE: typeStr, DIRECTION: dir, DESCRIPTION: desc }) – Adds relationship to list&lt;/P&gt;
&lt;P&gt;item.relationships.addRelated(target, typeStr, dir, desc) – Adds relationship to list&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dir is optional, and defaults to Unidirectional. Will be bidirectional if dir is 2 or "bidirectional" (case insensitive)&lt;/P&gt;
&lt;P&gt;desc is optional, and defaults to blank&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;item.relationships[i] has the following properties:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].id – DMS ID of target item&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].descriptor – Descriptor of target item&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].item – Target item&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].item.FIELD – Field on target item&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].type – Relationship type name&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].direction – One of “Unidirectional” or “Bidirectional”&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].description – Relationship type description&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;item.relationships[i].setRelationshipType(typeStr) – Sets the relationship type to “typeStr” (or throws an error if “typeStr” is not valid)&lt;/P&gt;
&lt;P&gt;item.relationships[i].setDescription(desc) – Sets the relationship description to “desc”&lt;/P&gt;
&lt;P&gt;item.relationships[i].remove() – Removes relationship i from the list&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2013 16:04:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-11T16:04:04Z</dc:date>
    <item>
      <title>Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3772876#M7783</link>
      <description>&lt;P&gt;I'd like to have a script (or something) link two items. Here is my scenario:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a revision controlling workspace item. In the item details tab I will choose an item from a revision controlled workspace via a picklist. Upon saving I want that selected item to automatically be added to the linked items tab. Is there a scripting function that can do that?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 00:08:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3772876#M7783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-08T00:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777298#M7784</link>
      <description>&lt;P&gt;Orrin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As of this release ( 8.0) you cannot script to the linked Items tab, however this is in development and will be available on a future release.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 14:35:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777298#M7784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-11T14:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777397#M7785</link>
      <description>&lt;P&gt;Thanks for the info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way script additions to the relationships tab?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 15:58:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777397#M7785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-11T15:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777405#M7786</link>
      <description>&lt;P&gt;Yes, Adding items to the relationship tab is now supported. (as of 8.0)&lt;/P&gt;
&lt;P&gt;The Wiki will be updated shortly but here’s the basic notes on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The relationship tab support will follow the same basic design as grid and workflow items.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The features supported:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;item.relationships -- A list of relationships&lt;/P&gt;
&lt;P&gt;item.relationships.addRelated({ RELATED: target, TYPE: typeStr, DIRECTION: dir, DESCRIPTION: desc }) – Adds relationship to list&lt;/P&gt;
&lt;P&gt;item.relationships.addRelated(target, typeStr, dir, desc) – Adds relationship to list&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dir is optional, and defaults to Unidirectional. Will be bidirectional if dir is 2 or "bidirectional" (case insensitive)&lt;/P&gt;
&lt;P&gt;desc is optional, and defaults to blank&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;item.relationships[i] has the following properties:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].id – DMS ID of target item&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].descriptor – Descriptor of target item&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].item – Target item&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].item.FIELD – Field on target item&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].type – Relationship type name&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].direction – One of “Unidirectional” or “Bidirectional”&lt;/P&gt;
&lt;P&gt;&amp;nbsp; item.relationships[i].description – Relationship type description&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;item.relationships[i].setRelationshipType(typeStr) – Sets the relationship type to “typeStr” (or throws an error if “typeStr” is not valid)&lt;/P&gt;
&lt;P&gt;item.relationships[i].setDescription(desc) – Sets the relationship description to “desc”&lt;/P&gt;
&lt;P&gt;item.relationships[i].remove() – Removes relationship i from the list&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 16:04:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777405#M7786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-11T16:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777411#M7787</link>
      <description>&lt;P&gt;Thanks. That should help for another workflow I'm devolping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What permisions are needed? I assume the logged in user credentials will be uase for the permission ergo the user must have permission to add to an items relationships tab? Is this correct?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 16:08:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777411#M7787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-11T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777438#M7788</link>
      <description>&lt;P&gt;Correct, If the user has the proper perrmissions for that tab, then the script will be able to write to it.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 16:34:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3777438#M7788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-11T16:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3821209#M7789</link>
      <description>&lt;P&gt;I've been trying to implement this within a script and having difficulty with formating "&lt;SPAN&gt;RELATED: target". &amp;nbsp;Would you be able to provide an example of target?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;item.relationships.addRelated(target, typeStr, dir, desc)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My goal is to evaluate a field for the customer name, and if it exists, grab the related workspace item and make a relationship.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Darren Hartenstine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 19:19:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3821209#M7789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-02T19:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3821274#M7790</link>
      <description>&lt;P&gt;Darren,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Target is equal to the descriptor of the target item you wish to add, from the workspace you have predefined.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So an example would be:&lt;/P&gt;
&lt;P&gt;item.relationships.addRelated(descriptor of item you want to add, type of relationship, direction of relationship, description of relationship)&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 19:30:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3821274#M7790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-02T19:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3821366#M7791</link>
      <description>&lt;P&gt;Thanks Joe for the reply. &amp;nbsp;I am very new to scripting, so I appoligize for more clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a workspace for managing customers and the descriptor is set to a field called "NAME". &amp;nbsp;Is this the descriptor of the Workspace you are referring to?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;item.relationships.addRelated('Customer Name1','Cross-Reference','Bidirectional','Test');&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;item.relationships.addRelated('Customer Name2','Cross-Reference','Bidirectional','Test');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My confusion is that the workspace I am working in is different from the customer workspace. &amp;nbsp;I feel like I am formating the target wrong and it needs ID's, or something.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 20:47:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3821366#M7791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-02T20:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Linking of Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3821461#M7792</link>
      <description>&lt;P&gt;Hi Darren,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can verify the descriptor value by going through a very simple test:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- browse to any item that can have relationships&lt;/P&gt;
&lt;P&gt;- locate in URL dmsID and workspaceID values&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g. using this URL&amp;nbsp;&lt;A href="https://adskapps.autodeskplm.com/workspace#workspaceid=50&amp;amp;dmsid=20432&amp;amp;tab=relationship" target="_blank"&gt;https://mytenant.autodeskplm360.net/workspace#workspaceid=50&amp;amp;dmsid=20432&amp;amp;tab=relationship&lt;/A&gt;, the workspace ID is 50 and the item dmsID is 20432.&lt;/P&gt;
&lt;P&gt;- add a new relationship to the item&lt;/P&gt;
&lt;P&gt;- create new action script that will solely be used for testing&lt;/P&gt;
&lt;P&gt;- edit action script to have this single line of code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;println(item.relationships[0].descriptor);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run a test after inputting the dmsID and workspace ID. This will return the descriptor string you are after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 23:00:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/automated-linking-of-items/m-p/3821461#M7792</guid>
      <dc:creator>bastien.mazeran</dc:creator>
      <dc:date>2013-04-02T23:00:17Z</dc:date>
    </item>
  </channel>
</rss>

