Script Icons

When I specify an an `icon` attribute on the `description` node, it has no affect.  I am using the stock icons that are listed in the documentation, but nothing ever appears in the UI.

Here's the XML for the `rgtool` file:
```
<?xml version="1.0" encoding="utf-8"?>
<tool version="1">
  <description name="something" icon="data_unknown" version="1"><![CDATA[test]]></description>
  <author name="Bob" />
  <tags>
    <tag>SQLConcepts</tag>
  </tags>
  <ui>
    <output displaytype="Grid | OutputLog" width="500" height="400" />
    <block>
      <control type="header" label="Select server and database" />
      <control type="database" id="connection" />
    </block>
  </ui>
  <script type="Sql"><![CDATA[SELECT 'THIS IS WHERE SQL WOULD GO';]]></script>
  <signature />
</tool>
```

Here is what is displayed in the UI:


I couldn't find any screenshots in the documentation to demonstrate what it would look like.  I noticed that the canned scripts that came by default specify icons as well, but nothing seems to show for them in the UI either.
Tagged:

Answers

  • Hi @adam_hafner

     

    Thank you for reaching out on the Redgate forums regarding your SQL Scripts Manager icon inquiry.

     

    Looking into this, I believe that the icon functionality was removed in version 2.0.0 in 2017. 

    This is before my time with Redgate but suspect this may connect to the application moving into a community version.

    I would anticipate that existing scripts may retain the icon attribute, however it is not doing anything within the program.

     

     Patch notes:

    Version 2.0.0, February 9th, 2017
    Features
    * New window appearance
    * New product logo
    * New product switcher - accessible from the product logo top-left
    * UI requires .NET4 runtime
    * Moved Logging menu under help menu
    * New feature usage reporting. Opt in/out from Help > Help us improve our products...
    * Toolets no longer use icons
    * Ads removed
    * Presets only shown when presets saved for toolet
    * Header controls default to size 12, removed ability to set fonts
    * Label controls position above controls
    * Streamlined new update checking interface


    Jon Kirkwood | Technical Support Engineer | Redgate Software
  • @Jon_Kirkwood thanks for digging into the history on this one.  If that is the case, the documentation should be updated to identify that the schema tag is not recognized.  Since there is considerable documentation about this feature it leads to confusion.  Could that be updated?
  • I've logged this with our documentation team to update the relevant page/s as necessary. 
    Any changes to the documentation would be made and updated live as it occurs.

    Appreciate the feedback regarding this change in functionality and how you interpreted the information provided on our documentation site in regards to it.
    Jon Kirkwood | Technical Support Engineer | Redgate Software
Sign In or Register to comment.