Select to view content in your preferred language

Create a Help file for a new geoprocessing tool

10672
19
Jump to solution
03-29-2012 06:37 AM
ehallisey
Occasional Contributor

I'm trying to create a simple Help file in ArcGIS 10 for a new geoprocessing tool created by a developer with whom I work. Here's all I can find from Esri on this:

There are many sources of information on creating and compiling HTML help or .chm files. A good starting point is the "Microsoft HTML Help 1.4 SDK" topic available from the Microsoft library (http://msdn.microsoft.com). In the library, you'll also find information on creating and compiling .chm files listed under Visual Tools and Languages, HTML Help.?

I'm not a developer and I don't relish the idea of having to download, install, and learn how to use another software package just to create a few help pages. Also, I can't find a "Microsoft HTML Help 1.4 SDK" topic from the link Esri provides and the most recent version of HTML Help, downloadable from Microsoft, seems to be from 2003.

Does anyone know of a workaround? Has anyone worked with HTML Help? Any quick start tutorials? Any suggestions?

Thanks!
Elaine

Message was edited by: Curtis Price (reformatting to Geonet)

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
curtvprice
MVP Esteemed Contributor
Is this a custom tool (.NET) or a script tool?

If it's a script tool, documentation is added by right clicking the tool, selecting Item Description and editing the metadata.

For GP tools built using .NET (called a "custom geoprocessing tool" instead of the more common "script tool" built in Python or another scripting language) you do indeed need to create a .chm file and set the tools HelpFile property to point to it. Although the Microsoft Windows HTML Help SDK is still supported (in Windows 7), it's very difficult to use. This is usually handled using third-party help authoring applications (Esri uses one obviously) that create documentation in various formats (including .chm) from a single source. Robohelp is one of the most popular ones out there.

View solution in original post

0 Kudos
19 Replies
curtvprice
MVP Esteemed Contributor
Is this a custom tool (.NET) or a script tool?

If it's a script tool, documentation is added by right clicking the tool, selecting Item Description and editing the metadata.

For GP tools built using .NET (called a "custom geoprocessing tool" instead of the more common "script tool" built in Python or another scripting language) you do indeed need to create a .chm file and set the tools HelpFile property to point to it. Although the Microsoft Windows HTML Help SDK is still supported (in Windows 7), it's very difficult to use. This is usually handled using third-party help authoring applications (Esri uses one obviously) that create documentation in various formats (including .chm) from a single source. Robohelp is one of the most popular ones out there.
0 Kudos
Zeke
by
Honored Contributor
I don't know about all the Microsoft html help, but you can add help to the tool itself. Click on the tool in ArcCatalog, click on the Description tab in the large pane, click Edit, and you can add the help text that displays when you run the tool, or you can see it in the Description tab. It will also show up in the Catalog tab in ArcMap and Arc Toolbox by right clicking and selecting either Help or Item Description. Help just displays the help while Item Description allows editing it.
KimOllivier
Honored Contributor
You need to install a help authoring tool.
These are easy to use, and will compile the help file in CHM and web help formats, plus my chosen one will also output a Word Document or PDF. I used to use HelpBreeze, but it has fallen behind so I switched to HelpSmith which could import all my old help files. HelpBreeze is cheaper but a security upgrade in Windows prevents saving edits and HB have not fixed it.

HelpSmith cost $200 but since I purchased it I now write a proper integrated help file for every project I am involved with. I now start early with a specification and mockup of the screens right into the help file and then use it to keep track of specification changes. I find it easy to link the geoprocessing tools to topics in the help files.

The new default help editing tool at 10.x are now so difficult to use I now just get on with a HelpSmith project at the start. It has many other benefits, the files can be stand-alone, incorporated in other web resources and are easy to maintain in a single document, whereas the ArcGIS help is separate for each tool.

www.helpsmith.com
ehallisey
Occasional Contributor
Thanks Greg - this simple solution does exactly what I need. I'm surprised Esri doesn't have a description of this when you search Help on "create help."
0 Kudos
KevinHibma
Esri Regular Contributor
I guess not for "create help"
But "document tool" finds it.

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001500000014000000.htm

"Help" is such a generic word through the whole help/doc system 🙂
0 Kudos
Jasonvan_Warmerdam
Emerging Contributor
I guess not for "create help"
But "document tool" finds it.

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001500000014000000.htm

"Help" is such a generic word through the whole help/doc system 🙂


Khibma,

I've been trying to add help to some of the scripts I've created at work using the methodology laid out in the above link, "documenting tools and toolboxes." After I get done editing in the item description window and then click on the tool I get a Script Error and ArcMap proceeds to crash :(. This error happens when editing the script in the catalog menu, I have also tried editing tool item descriptions from ArcCatalog and remember getting script errors there as well. I'm just not sure at what process the program crashes out. Just wanted to know if this was on my end or if other people are having this problem.

I was also curious about how to add pictures to the tool's side-panel help like some of the Arc Tools have in their help descriptions.

[ATTACH=CONFIG]13185[/ATTACH]
0 Kudos
curtvprice
MVP Esteemed Contributor
  After I get done editing in the item description window and then click on the tool I get a Script Error and ArcMap proceeds to crash :(.

I have not seen this script error crash myself. The first thing I suggest when people get unexpected crashes like this is to reset your application profile. (I do this on every update and service pack.)

I was also curious about how to add pictures to the item description like some of the Arc Tools have in their help descriptions.


Since the Arc 10 script documentation is using the same metadata schema as metadata elsewhere in the system, this is no longer supported (it was in 9.3). They may eventually allow this by adding bitmap attachments to the metadata model but it would be kind of kludgy.

Another option to consider is to create a web site and have your help link to it. This has the advantage of providing users the most current documentation, since you can update the web site at any time after they download your tool.
0 Kudos
KevinHibma
Esri Regular Contributor
I've searched our internal database and asked a couple people - we dont have any known issues logged for a crash in this regards.

Can you confirm you're using 10.0?
Also, is the crash consistently reproducible? If it is, can you write out the steps you do where it crashes?
If we can reproduce the crash, we can fix it (and of course want to fix it)
0 Kudos
Jasonvan_Warmerdam
Emerging Contributor
I've searched our internal database and asked a couple people - we dont have any known issues logged for a crash in this regards.

Can you confirm you're using 10.0?
Also, is the crash consistently reproducible? If it is, can you write out the steps you do where it crashes?
If we can reproduce the crash, we can fix it (and of course want to fix it)



I'm using ArcGIS 10 service pack 3:
1. Open ArcMap
2. From within ArcToolbox navigate to the script you would like to edit
3. Right click on the tool and Select Item Description
4. Do something (I've found you can make it crash just by opening Item Description).
5. Close Item Description
6. Click on the script, or any script and watch the program crash out :(..... Script Error

I can create Item descriptions for my geoprocessing tools from within ArcCatalog though.
0 Kudos