Resolve the groups using formula language

The "@ExpandNameList" is an undocumented formula which is used which can be used in resolving the groups.

The "@ExpandNameList" is an undocumented formula which can be used in resolving the groups.

Below is a simple version of the code to resolve the Group in a field:

Place following code in Input translation event:
@ExpandNameList(@Subset(@DbName;1);@Trim(<Field Name>)

On change event Place the following code to refresh the document
_doClick('$Refresh', this, '_self', '#_Refresh<Field Name>')

Note: There should not be space between #_Refresh and the Field Name. This code will also evaluate the names/short names (Should be unique in your Domino directory(or address book)) to their hierarchal name/email address.

The draw back of using this method is "if resolved group name contains more than 64K then an error page will be displayed". This page could be avoided using the error handler in formula language.


This was first published in February 2002

Dig deeper on Domino Resources - Part 5

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close