Previous PageNext Page

Chapter 19 - Assigning Values to StreetTalk Attributes

Rules For Assigning Attributes

How to Edit Attributes

1. Right-click the StreetTalk object and select Attributes from the shortcut menu. The Attributes Editor opens the attribute collection sets for that object type found in the default AVD file.

2. Click the plus sign next to the object name in the left pane to see the attribute labels in that collection set.

3. Click an attribute label to see the value and format type of that attribute.

4. To edit an attribute value, double-click on the value in the right pane to open an edit box. Then type the new value and click in a neutral part of the window to close the edit box.

Note: Currently you can only edit attributes whose value type is String or Integer. In addition, some attributes, such as Home Server, are read only and you cannot modify them.

Figure 19-1. StreetTalk Explorer Attribute Editor Screen

1. Enter MUSER. The Manage Users menu appears.

2. At the Manage Users menu, either select the user you want to manage from the list that appears or use the SEARCH for other names command to find the user you want. The Manage A User screen appears.

3. Select MANAGE attributes. The first of the attribute editing screens, Select Access Method, appears.

4. From the Select Access Method menu, use one of three methods to access the attribute you want to edit. Each of the Select Access Method menu options leads, through one or more steps, to a common attribute editing screen.

To choose an access method, select one of the following options from the Select Access Method menu:

- SELECT from name list - Lets you select attributes from menus that duplicate the AVD file format. At the first level, logical collections associated with the StreetTalk resource you are operating on appear. After you choose a logical collection, a menu appears displaying attributes associated with the collection. After you select an attribute to edit, the editing menu appears.

- SPECIFY <v:a> identifier - Select this option if you know the specific vendor attribute pair you want to edit. You can also use this method to define new attributes, although as a rule attributes should first be defined in AVD lists. After you enter the <v:a> identifier, the attribute editing menu appears.

- SCAN existing attributes - Select this option to choose from a list of attributes whose values are already defined for the StreetTalk object you are editing. After you select an attribute, the editing menu appears.

To Select Attributes from Name Lists

1. Choose the SELECT from name list option in the Select Access Method menu. The Select Attribute Collection menu appears.

2. Select the collection that contains the attribute you want to edit. Attribute collections displayed in this menu match those in the AVD file of the drive you are currently connected to, unless you use the MATTR command to specify another AVD file. The Select Attribute Name menu appears.

3. Select the attribute you want to edit from the list that appears and press ENTER. The Attribute Management menu appears.

To Select an Attribute by <v:a> Number

1. Choose SPECIFY <v:a> identifier in the Select Access Method menu. The Specify Attribute Identifier menu appears.

2. Enter the appropriate value in each field and press ENTER after each entry.

Illegal characters generate syntax errors. Correct them by using the arrow keys to reposition the cursor and typing over the earlier entry. The Edit Attribute screen appears.

3. If you enter a vendor attribute pair for an existing attribute with a corresponding AVD label, the pair and label appear in the Edit Attribute screen.

If you enter a vendor attribute pair for an attribute that does not exist, a new attribute is created once you press F10 to exit the edit menu. The pair, without a label, appears in the attribute editing menu. For this attribute to appear in an STDA lookup or index you must create a label in the appropriate AVD file and modify the collection parameters of the STDA service. See Chapter 15 for more information about defining attributes.

To Scan Existing Attributes

1. Select SCAN existing attributes from the Select Access Method menu. The Select Existing Attribute menu appears.

2. Use the arrow keys to select a previously specified attribute from the list.

3. Press ENTER. The attribute management screen appears.

Editing Attribute Values

1. Right-click the StreetTalk object and select Attributes from the shortcut menu. The Attributes Editor opens the attribute collection sets for that object type found in the default AVD file (see Figure 19-1).

2. Click the plus sign next to the object name to see the attribute labels in that collection set.

3. Click an attribute label to see the value and format type of that attribute.

4. To edit an attribute value, double-click on the value in the right pane to open an edit box. Then type the new value and click in a neutral part of the window to close the edit box. <

Note: Currently you can only edit attributes whose value type is String or Integer. In addition, some attributes, such as Home Server, are read only and you cannot modify them.

See Introduction to StreetTalk Explorer for a description of StreetTalk Explorer.

From the System Prompt:

Enter or edit attribute values in the MSERVICE Edit Attribute Menu. From this screen you edit, save, and change the types of attributes for all classes of StreetTalk objects.

Each access method described earlier in this chapter displays the Edit Attribute menu.

All attribute editing occurs on the editing screen. Available editing functions include:

EDIT attribute value - Displays the attribute editing screen in which you enter values and specify their data types.
DELETE value - Lets you delete a previously defined attribute value.
READ from file - Lets you specify a file containing a value that you want applied to attribute.
WRITE to file - Lets you write an attribute value to a specified file.

In addition to the editing functions shown in the Edit Attribute menu relevant information about the attribute you chose also appears in this menu.

File size, formatting, and data type entry rules govern any value you edit for a new or existing attribute. To ensure that your entries comply with these rules, observe the guidelines in the next sections.

Class

Attribute Name

Attribute ID

Table 19-1. Attributes Within the Range <0:0> Through <0:100>

Attribute Label
<0:1> Object description
<0:2> User SETMAIL profile entry
<0:3> Inclusion name remote address
<0:4> Nickname's associated real name
<0:5> StreetTalk group
<0:6> StreetTalk class
<0:7> StreetTalk category
<0:8> STDA class
<0:11> Rename/Move status

Type

Boolean
String
Binary
Integer
ASN.1

Boolean Values

1. Access the Select Attribute Type menu.

2. Use the arrow keys to select Boolean from the data type menu and press ENTER. This selection establishes a true value for the attribute. To effectively establish a false value, delete the attribute.

3. Return to the editing menu. Make sure that the editing field is empty and that there are no formatting characters in it. Any existing text in the editing screen, including carriage returns and function keys, generates syntax error messages when you try to save the text.

4. After your edit is complete, press F10 to save the new value.

Binary

String

Integer

ASN.1

Size

To Specify a New Attribute Type

1. From the editing screen, press F6. The Select Attribute Type screen appears.

2. Use the arrow keys to select the data type you want to use.

3. Press ENTER to save the new data type and return to the editing field. The data type field at the top right of the editing screen indicates the new data type for the attribute you are editing.

To Edit or Create a New Attribute Value

1. Select EDIT attribute value from the Edit Attribute screen. The editing screen appears.

2. If you are creating a value for a new attribute and do not want to use the default string data type, press F6 to specify a new data type.

3. After you choose a data type, use the arrow keys to position the cursor anywhere in the editing screen and begin editing.

4. Press F10 to save the changes. You return to the Edit Attribute screen. The Type, Value, and Size fields of the Edit Attribute menu reflect any changes you made during editing.

To Delete an Attribute Value

1. From the Edit Attribute screen, select DELETE attribute. The CONFIRMATION OF DELETE screen appears.

2. Use the arrow keys to select YES and press ENTER.

3. After the attribute is deleted, you return to the Edit Attribute screen. A confirmation message appears:

Attribute has been deleted.

The Type, Value, and Size fields of the Edit Attribute menu reflect changes made by the Delete command.

To Read Attributes from a File

1. From the Edit Attribute screen, select READ from file. The Read Attribute Value From a File screen appears.

2. Enter the name of the file that will replace the selected attribute value.

3. Press ENTER to save the new value and return to the Edit Attribute menu. The Type, Value, and Size fields of the Edit Attribute menu reflect the changes made by the Read command.

To Write Attributes to a File

1. From the Edit Attribute screen, select WRITE to file. The Write Attribute Value To a File screen appears.

2. Enter the name of the attribute that will replace the specified file. Press ENTER to save the new value and return to the Edit Attribute menu.

Editing Attributes Using MATTR

MATTR object_name [/v:AVD_file]

To Edit Attributes Using MATTR

1. Enter MATTR followed by the StreetTalk object's name or nickname and the AVD file specification if applicable.

2. Press ENTER. The Select Access Method menu appears.

Previous PageTop Of PageNext Page