Hello,

When I create a user in Notes, I need to customize the name of the mail
file.
By Default, the name is 'FirstNameLastName.nsf' but I need to customize
this name as I have users with space characters in the last name.

For example, if I create "John EL MAYA", the nsf file is "JohnEL
MAYA.nsf".
Or I need the name of the mail file without spaces : something like
"JohnELMAYA.nsf".
In a first time, I would like to test if I can customize the mailfile
name with the uniqueID attribute of the user.

In sub command transformation policy, I have added the following rule
:

<rule>
<description>Nom du fichier nsf</description>
<conditions>
<and>
<if-class-name op="equal">User</if-class-name>
<if-operation op="equal">add</if-operation>
</and>
</conditions>
<actions>
<do-set-xml-attr
expression="../add[@class-name='User']/add-attr[@attr-name='MailFile']"
name="names-flag">
<arg-string>
<token-attr name="uniqueID"/>
</arg-string>
</do-set-xml-attr>
</actions>
</rule>

But this rule does not works.
Do you have an idea how to do it in the right way ?

Many thanks in advance for your help,

Christine


--
coves
------------------------------------------------------------------------
coves's Profile: http://forums.novell.com/member.php?userid=4568
View this thread: http://forums.novell.com/showthread.php?t=334579