<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How to Delete Catalog Keys in Text Editor?</title><link>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64599/how-to-delete-catalog-keys-in-text-editor</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>How to Delete Catalog Keys in Text Editor?</title><link>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64599/how-to-delete-catalog-keys-in-text-editor</link><pubDate>Wed, 15 Feb 2023 17:25:25 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b9f5ccdb-e9d2-4d72-8972-2e2f8159b285</guid><dc:creator>Vu Dang</dc:creator><comments>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64599/how-to-delete-catalog-keys-in-text-editor#comments</comments><description>Current Revision posted to CUBE Wiki by Vu Dang on 2/15/2023 5:25:25 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="color:#000000;"&gt;Cube&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="color:#000000;"&gt;6.1 to 6.5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="color:#000000;"&gt;Scenario&amp;nbsp;Manager&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;CUBE provide users the ability to delete catalog keys within its Application Manager (AM). This can be achieved by right-clicking any key and selecting the Delete option. In some rare circumstances, the user may encounter a prompt window notifying them the key(s) are referenced by one or more applications within the catalog (Figure 1). This typically can be solved by following the &lt;strong&gt;&lt;em&gt;Help from CUBE Base &amp;gt; Home &amp;gt; 15 Scenario Manager &amp;gt; Keys &amp;gt; Deleting Keys&lt;/em&gt;&lt;/strong&gt;. However, the user might have skipped a step or still experience technical difficulties, e.g. delete the keys before refreshing the catalog, then there is a alternative solution.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 1: Prompt of catalog key is used by one or more referenced application.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607961969020v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;&lt;span&gt;Solution&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;&lt;span&gt;1. When attempting to delete a key, note what application files the catalog key is associated to by clicking &amp;#39;Yes&amp;#39; in Figure 1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607962408676v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. For this example, we can see the catalog key, &amp;#39;todelete1&amp;#39; is still referenced to the MODECH03.app even though the user might have deleted the key from the scripts of the associated application files. Note all keys that requires deletion for this process and close CUBE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Open one of the referenced application file in a text editor and search for the key, e.g. Notepad++.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4.&amp;nbsp;We want to removed all keys with the title &amp;#39;todelete&amp;#39; (Figure 2). The comma must also be deleted as it is part of the unwanted statement.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 2: Delete instances of &amp;#39;todelete&amp;#39; catalog keys (blue box).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607962854687v3.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;5. Save all the changes and r&lt;span&gt;epeat steps 3 and&amp;nbsp;5 for all referenced application files. Once the changes are made, reopen the catalog in CUBE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;6. In the Keys window, right-click any key and uncheck the option &amp;#39;View Keys for Selected Applications Only&amp;#39; (Figure 3). Locate the unwanted keys.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 3: Unwanted catalog keys located in the Keys Window.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607963130564v5.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;7. It should be possible now to right-click the keys and Delete them without the prompt.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607963223277v6.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>How to Delete Catalog Keys in Text Editor?</title><link>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64599/how-to-delete-catalog-keys-in-text-editor/revision/1</link><pubDate>Tue, 14 Feb 2023 07:32:51 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b9f5ccdb-e9d2-4d72-8972-2e2f8159b285</guid><dc:creator>Angela Jose</dc:creator><comments>https://communities.bentley.com/products/mobility-simulation/cube/w/wiki/64599/how-to-delete-catalog-keys-in-text-editor#comments</comments><description>Revision 1 posted to CUBE Wiki by Angela Jose on 2/14/2023 7:32:51 AM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="color:#000000;"&gt;Cube&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="color:#000000;"&gt;6.1 to 6.5&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style="color:#000000;"&gt;Scenario&amp;nbsp;Manager&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;CUBE provide users the ability to delete catalog keys within its Application Manager (AM). This can be achieved by right-clicking any key and selecting the Delete option. In some rare circumstances, the user may encounter a prompt window notifying them the key(s) are referenced by one or more applications within the catalog (Figure 1). This typically can be solved by following the &lt;strong&gt;&lt;em&gt;Help from CUBE Base &amp;gt; Home &amp;gt; 15 Scenario Manager &amp;gt; Keys &amp;gt; Deleting Keys&lt;/em&gt;&lt;/strong&gt;. However, the user might have skipped a step or still experience technical difficulties, e.g. delete the keys before refreshing the catalog, then there is a alternative solution.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 1: Prompt of catalog key is used by one or more referenced application.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607961969020v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;&lt;span&gt;Solution&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;&lt;span&gt;1. When attempting to delete a key, note what application files the catalog key is associated to by clicking &amp;#39;Yes&amp;#39; in Figure 1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607962408676v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. For this example, we can see the catalog key, &amp;#39;todelete1&amp;#39; is still referenced to the MODECH03.app even though the user might have deleted the key from the scripts of the associated application files. Note all keys that requires deletion for this process and close CUBE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Open one of the referenced application file in a text editor and search for the key, e.g. Notepad++.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4.&amp;nbsp;We want to removed all keys with the title &amp;#39;todelete&amp;#39; (Figure 2). The comma must also be deleted as it is part of the unwanted statement.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 2: Delete instances of &amp;#39;todelete&amp;#39; catalog keys (blue box).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607962854687v3.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;5. Save all the changes and r&lt;span&gt;epeat steps 3 and&amp;nbsp;5 for all referenced application files. Once the changes are made, reopen the catalog in CUBE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;6. In the Keys window, right-click any key and uncheck the option &amp;#39;View Keys for Selected Applications Only&amp;#39; (Figure 3). Locate the unwanted keys.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 3: Unwanted catalog keys located in the Keys Window.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607963130564v5.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;7. It should be possible now to right-click the keys and Delete them without the prompt.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-06-46/pastedimage1607963223277v6.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>