<?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 Uniqueness based on two picklist fields in Fusion Manage Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manage-forum/uniqueness-based-on-two-picklist-fields/m-p/12562045#M310</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to create unique workspace entrys based on two important informations, which are Name and Month.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_0-1707998621593.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326384i9A0BD0A7646C6492/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_0-1707998621593.png" alt="oussamaelaamouchi_0-1707998621593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My goal is to secure that no combination of Name + Month is created more than once.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Picklist fields i can not find any Option for Uniqueness based on two fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_1-1707999240609.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326389i8C0B0F774A2728FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_1-1707999240609.png" alt="oussamaelaamouchi_1-1707999240609.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_2-1708000192309.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326395i031E9A053B6D5F4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_2-1708000192309.png" alt="oussamaelaamouchi_2-1708000192309.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create an new single line text Field named "Combi" where i combine the two fields with the computed field formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_3-1708000460932.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326403iF39B4C2D4837EFFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_3-1708000460932.png" alt="oussamaelaamouchi_3-1708000460932.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fields will have the same information in the Combi field but the Uniqueness wont work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_4-1708000646709.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326404iE198D850C2F8AB8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_4-1708000646709.png" alt="oussamaelaamouchi_4-1708000646709.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other work around to ensure an Uniqueness of two picklist fields?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Oussama&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;</description>
    <pubDate>Thu, 15 Feb 2024 12:40:41 GMT</pubDate>
    <dc:creator>oussama.elaamouchi</dc:creator>
    <dc:date>2024-02-15T12:40:41Z</dc:date>
    <item>
      <title>Uniqueness based on two picklist fields</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/uniqueness-based-on-two-picklist-fields/m-p/12562045#M310</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to create unique workspace entrys based on two important informations, which are Name and Month.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_0-1707998621593.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326384i9A0BD0A7646C6492/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_0-1707998621593.png" alt="oussamaelaamouchi_0-1707998621593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My goal is to secure that no combination of Name + Month is created more than once.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Picklist fields i can not find any Option for Uniqueness based on two fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_1-1707999240609.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326389i8C0B0F774A2728FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_1-1707999240609.png" alt="oussamaelaamouchi_1-1707999240609.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_2-1708000192309.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326395i031E9A053B6D5F4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_2-1708000192309.png" alt="oussamaelaamouchi_2-1708000192309.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create an new single line text Field named "Combi" where i combine the two fields with the computed field formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_3-1708000460932.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326403iF39B4C2D4837EFFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_3-1708000460932.png" alt="oussamaelaamouchi_3-1708000460932.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fields will have the same information in the Combi field but the Uniqueness wont work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oussamaelaamouchi_4-1708000646709.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326404iE198D850C2F8AB8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oussamaelaamouchi_4-1708000646709.png" alt="oussamaelaamouchi_4-1708000646709.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other work around to ensure an Uniqueness of two picklist fields?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Oussama&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;</description>
      <pubDate>Thu, 15 Feb 2024 12:40:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/uniqueness-based-on-two-picklist-fields/m-p/12562045#M310</guid>
      <dc:creator>oussama.elaamouchi</dc:creator>
      <dc:date>2024-02-15T12:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Uniqueness based on two picklist fields</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/uniqueness-based-on-two-picklist-fields/m-p/12562083#M311</link>
      <description>&lt;P&gt;Yes, I think you are correct, there is not the option that you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Values set by script, or computed fields, do not have their field-level constraints enforced (including any uniqueness)&lt;/P&gt;&lt;P&gt;They are enforced by the UI, and the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest combine this into a single picklist, based on a workspace, eg “Month Options” workspaces&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pre-load the values you need by importing something like this.&lt;/P&gt;&lt;P&gt;You just need the single column, but if you want to have any other columns that you can derive-in then this might help.&lt;/P&gt;&lt;P&gt;You can add a computed field into the picklist, to determine number of months eg TODAY &amp;nbsp;minus&amp;nbsp; the Option Value&lt;/P&gt;&lt;P&gt;This could be an integer, that you then refer to in the picklist.&lt;/P&gt;&lt;P&gt;This would allow the picklist to only show values that are in future, or past, or perhaps up to XXX months in the future, etc.&lt;/P&gt;&lt;P&gt;If you need this ability and cannot figure out the formula, ask this again on the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, create a picklist to this workplace and your user will select YYYY + MM combination.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then apply a uniqueness constraint on this single picklist value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="philipfrench_0-1708001807327.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1326417iCCE2A51A7F85E110/image-size/medium?v=v2&amp;amp;px=400" role="button" title="philipfrench_0-1708001807327.png" alt="philipfrench_0-1708001807327.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:57:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/uniqueness-based-on-two-picklist-fields/m-p/12562083#M311</guid>
      <dc:creator>philipfrench</dc:creator>
      <dc:date>2024-02-15T12:57:40Z</dc:date>
    </item>
  </channel>
</rss>

