Modify the NeXTensio list

In this topic you will make the required modifications so that new records will be displayed at the top of the list. This means that the value of the order_crs column for new entries will no longer have to equal the maximum of all others plus one, but it should be the lowest possible.

NeXTensio allows changing the place where the record is inserted, by simply passing an URL parameter from the list to the NeXTensio form, when adding a new record. To make the required changes, follow the next steps:

  1. Open the index page in Dreamweaver, if necessary.

  2. Click on the Add new link, in the list footer:


     

  3. Now click on the folder icon, next to the Link text field, in the Property inspector:


     

  4. In the dialog box that opens, click on the Parameters button to add a new URL parameter to the existing link.

  5. In the new dialog box, click on the Plus (+) button on top of the parameter list. This will add a new, blank parameter. Configure it as shown below:

  6. Now click on OK twice, to apply the changes.

  7. The algorithm used by the NeXTensio form in order to fill in the order_crs value will be different now, because the URL parameter is recognized. The algorithm is as follows:

  8. This way, new entries will be on top of the list: