Question

How Can I update a field in a saved lotus document every time a user opens it. I want to display what server the user is connected. right now it is displaying the server where the document is created.

Here's the default field value

@Name([CN]; @Subset(@DbName; 1))
Was it helpful?

Solution

Change your field to a Computed for Display field. The field will then re-compute its value when opened (but only for display - the value is not stored in the document).

OTHER TIPS

you can use the mask event postopen.

  1. Bring the document in edit mode with @Command([EditDocument]; "1");
  2. and then update the field FIELD fieldName := value ;
  3. and last save the document again.

Your document should be saved. And your RichtextItem should be updated. After that only the content of the RichText item will be shown.

Set the SaveOptions field as 0. Save the document. Update the RichText field.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top