Advertising banner:

History
 
 LFS17
Home • Help • Administration • FirstClass Scripting • LFS17
 
DELFLD



Function
Deletes field information on forms.



Syntax
DELFLD objdesc fieldID
When used to delete an address field:
DELFLD objdesc addressID index
Parameters


objdesc
Describes the target.
fieldID
The field ID.
addressID
"To" field is 4, "Cc" field is 5, "Bcc" field is 14. The "Who", "Access", and "Permissions" field on the Permission form is 29.
Disregard the field IDs displayed in FirstClass Designer for these fields.
index
Position to insert in the list. Use 0 for the first name, 1 for the second name and so on. -1 for all entries.
address
The name of the Directory entry. It can be a registered user, email address, conference, calendar, remote name, gateway, or route.
If a unique name is not provided, the first matching name is used.
path
A form specified by a path relative to the administrator’s Desktop.
DESKTOP userID path
The location of the form relative to the user’s Desktop. Separate the components of the path with colons.
The PATHCHAR command can be used to change the default path character.
PROFILE userID appID formID
The application profile of a specific application, based on user ID.
PROFILE clientID appID formID
The application profile of a specific application, based on client ID.
SYSPROFILE
The System Profile.
USER userID
The user information form.
DIRECTORY name
The Directory form of gateways, conferences, remote names, and user groups.
PERMISSIONS path
The Permission form of a conference or calendar.
PREFERENCES userID
The user's Preferences form.




Examples
To delete the sixth entry from a mail list, enter:
DELFLD path "Mail Lists:London" 4 5
The 4 in the command represents the "To" field. The 5 represents the sixth entry in the mail list.
To delete all entries in the mail list, enter:
DELFLD path "Mail Lists:London" 4 -1
To delete the Mail alias (field ID 1252), voice DN (field ID 1255), and Voice password (field ID 1256)  from sbram's user information form, enter:
DELFLD user sbram 1252 1255 1256
To delete the first entry in the Employee Lounge conference's Permissions form, enter:
DELFLD permissions "General Conferences:employee lounge" 29 0
To all entries from the  Employee Lounge conference's Permissions form, enter:
DELFLD permissions "General Conferences:employee lounge" 29 -1
To update the "Belongs to" field use the PGADD or PGDEL commands. Use REMOVE to remove an alias of the container from a user's Desktop.
To remove all forwarding addresses for sbram, enter:
DELFLD preferences sbram 4 -1