# Generating XSQL Tags with the XSQL Element Wizard

The XSQL Element Wizard helps you add XSQL tags to your XSQL pages.

#### To start the XSQL Element Wizard:

1. Open the XSQL file in the Source Editor and place your cursor on an empty line where you want to insert the XSQL tag.

2. Choose Wizards | XSQL Element. Or right-click and choose XSQL Element.

   The XSQL Element Wizard appears.

#### To add an XSQL tag:

1. If the Welcome page appears, click Next.

2. In the XSQL Elements page, expand the XSQL tags folder, and select the tag you want to add. Click Next.

   To get help on a tag, select it and press F1.

3. In the Property Values page, type the property values. Click Next.

4. In the Connection Selection page, make sure your connection appears. Click Next.

   Note that other wizard pages can appear, depending on the tag you chose. Click Help in the page to get help on it.

5. In the Finish page, click Finish.

#### To add a Business Components XSQL tag:

1. If the Welcome page appears, click Next.

2. In the XSQL Elements page, expand the Business Components XSQL Tags, and select the tag. Click Next.

   To get help on a tag, select it and press F1.

3. In the Property Values page, type property values. Click Next.

4. In the View Object Selection page, expand the application module and select view object you want to use. Click Next.

5. In the Connection Selection page, make sure your connection appears. Click Next.

6. In the Finish page, click Finish.