Easy easy script question

I’m trying to teach myself a bit of script during quiet times. First task is to write an agent which populates the LocalAdmin field of a group document in the address book. I have amended to groups view to display the local admin field for ease of checking.

Now, when I run the agent it updates the field, but doesn’t display in the view. This only happens on documents which previously didn’t have the localadmin field present so needed to be created in the agent. When the field existed, it populates the value and it shows in the view. Also, if I resave the document manually, the value appears in the view.

So what am I missing?

Subject: Easy easy script question

Since this is only happening for items that you have created on the document, you probably haven’t set the issummary property to true.

HTH,

Andrew

Subject: Easy easy script question

think this just answered my question actually;

http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllThreadedweb/a45179ab7cdd018e852573ec0046e27c?OpenDocument

Subject: Easy easy script question

why are you using script to do something so simple. Don’t make things more complicated than you need to. Use a Simple Action or Formula.

Subject: Easy easy script question

since you didn’t feel it was important to post your code, i’ll go out on a limb and say you did not refresh the current field in you code.

john