Difference between revisions of "Help:Sandbox"

From SDU
Jump to: navigation, search
m
m
Line 2: Line 2:
 
<div align='center'><font color="green">To make corrections or additions to this article, select the ''edit'' tab above.<br>
 
<div align='center'><font color="green">To make corrections or additions to this article, select the ''edit'' tab above.<br>
 
To discuss or ask questions about this article, select the ''discussion'' tab above.</font></div>
 
To discuss or ask questions about this article, select the ''discussion'' tab above.</font></div>
----
+
 
 +
= Description =
 
This article provides instructions for adding nodes to the Administration Tab for r11.x releases. Adding nodes is as simple as a right-click, but unless you have implemented the proper schema changes and created the necessary .htmpl files, the nodes will not work as desired. This articles assumes you have made the necessary schema changes and chronicles the process following. See the [[Best Practice for Creating Custom Tables]] article.
 
This article provides instructions for adding nodes to the Administration Tab for r11.x releases. Adding nodes is as simple as a right-click, but unless you have implemented the proper schema changes and created the necessary .htmpl files, the nodes will not work as desired. This articles assumes you have made the necessary schema changes and chronicles the process following. See the [[Best Practice for Creating Custom Tables]] article.
 +
  
 
= Procedures =
 
= Procedures =

Revision as of 20:47, 25 July 2008

To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.

Description

This article provides instructions for adding nodes to the Administration Tab for r11.x releases. Adding nodes is as simple as a right-click, but unless you have implemented the proper schema changes and created the necessary .htmpl files, the nodes will not work as desired. This articles assumes you have made the necessary schema changes and chronicles the process following. See the Best Practice for Creating Custom Tables article.


Procedures

Step 1. Create list_xxx.htmpl Form

The list pages (aka search pages) display the content when your new node is selected. The naming of the list pages is crucial and must contain the name of your new object. For example, if you created a table called zYour_Object, your list file would be named list_zYour_Object.htmpl. The Web Screen Painter can be used to create your new list page or you can click here to download sample forms.


Step 2. Create detail_xxx.htmpl Form

The detail pages are essential for editing and creating new items, or view the details of existing items. The naming of the detail pages is essential as well. Table zYour_Object should have a detail page named detail_zYour_Object.htmpl. Again, the Web Screen Painter can be used to create your new detail page or you can click here to download sample forms.


Step 3. Create Reports

This step is option, but why not make the customization complete? These simple reports will allow you to print Summary and Detail Reports when viewing the list page. There are plenty of example in the system to reference or click here to download some samples. Be sure to put your reports in the $NX_ROOT\site\mods\rpt directory.


Step 4. Add Node

The final step is to add a node to the Administration Tab. Simply right-click on the location of your new node and select Create New Node. The syntax for the resource field will be pretty consistent for all custom nodes. <source lang="text">OP=SEARCH+FACTORY=zYour_Object+QBE.EQ.delete_flag=0</source>

Set the Access Views in coordination with your Access Type configurations.


See Also

Best Practice for Creating Custom Tables