Creating help plug-ins
A help plug-in contains the files required to display your application’s help files in the z/OSMF help system.
Procedure
- To create a panel help plug-in, which is the plug-in that
contains the help files for each page, window, and action provided
in your application, complete the following steps:
- Create a folder for the panel help that has the name com.company-name.task-name.help.doc, where company-name is your company’s name and task-name is the task name that will be displayed in the z/OSMF navigation area. For example, com.ibm.incidentlog.help.doc.
- Store the folder in the UNIX file system, and set 755 permissions for the folder. For all files stored in this folder, set 644 permissions.
- Create the help content, and code it using the XHTML tagging language. Then, combine the files into a single compressed folder named doc.zip. For more details, see Developing panel help.
- Create the table of contents in XML format, and name the file toc.xml. For instructions, see Creating the table of contents.
- Assign the plug-in to the same category you plan to use for your application in the z/OSMF navigation area. For instructions, see Categorizing help plug-ins.
- Use the XML tagging language to create a file named plugin.xml, which describes the plug-in to the z/OSMF help system. For instructions, see Identifying the contents of help plug-ins.
- Store the doc.zip folder, toc.xml file, index.xml file, and plugin.xml file in the folder you created.
- In the plug-in folder, create an nl sub-folder that contains a folder for each language in which the help content is translated, if any. Store the translated files in the correct language folder, which is identified by a 2-character language code. For a list of language codes, see http://www.loc.gov/standards/iso639-2/php/code_list.php.
- To create a message help plug-in, which is the plug-in
that contains the help files for each message your application issues,
complete all of the previous steps with the following exceptions:
- Store the resulting doc.zip folder, toc.xml file, index.xml file, plugin.xml file, and nl folder in a folder named com.company-name.task-name.message.help.doc.
- Assign the message help plug-in to the z/OSMF messages category.
For information about creating messages and message help, see Developing message help.
Results
If you created a panel help plug-in named com.mycompany.mytask.help.doc that
is translated into Spanish and Japanese, the plug-in will have the
following structure:
- com.mycompany.mytask.help.doc
- doc.zip
- index.xml
- plugin.xml
- toc.xml
- nl
- es
- doc.zip
- index.xml
- plugin.xml
- toc.xml
- ja
- doc.zip
- index.xml
- plugin.xml
- toc.xml
- es
- Developing panel help
A panel-help plug-in contains a set of topics, which are independent units of information that are meaningful when displayed alone. This topic-based structure allows you to create context-sensitive help for each page and window displayed in your application. Topic-based content can contain task, concept, or reference information. - Developing message help
A message is any communication that is passed from the application to a user or to another application. z/OSMF uses messages to inform users of important events, such as state changes and errors that require resolution. - Creating the table of contents
A table of contents is required to integrate each help plug-in into the z/OSMF help system. Providing a table of contents improves the navigability of help plug-ins and ultimately makes it easier for users to find relevant help information. This topic describes the structure of the table of contents for panel and message help plug-ins. - Categorizing help plug-ins
In the z/OSMF help system, a task and its panel help plug-in are included in the same category, and the task’s message help plug-in is listed under the z/OSMF messages category, where all z/OSMF messages are listed. This structure ensures consistency across z/OSMF tasks, making it easier for users to find relevant content. - Identifying the contents of help plug-ins
Every plug-in requires a file called plugin.xml to identify the plug-in contents to the z/OSMF help system.
Parent topic: Authoring end user assistance