Force view rebuild

I am modifying view columns/formulas on the fly via lotusscript.

I have come to grips with the fact that it seems the user will have to close the client for the changes to take effect, but I can’t seem to get even that to work.

When the fields are updated, if I open the view in designer and close it (without saving or anything) and then open it in notes, the changes take effect. If I do not open it in designer, the changes never take effect.

I have attempted to do a refresh in lotusscript, as well as open a new session of the view via a random form and button using formula language.

I attempted to do a search via the forums, but as always, search is useless on here.

Does anyone know of something I’m missing? Perhaps a command I’m not thinking of or a different way of opening the view?

Subject: Answer

And in my usual fashion, I figured it out right after I posted this.

Create a new instance of a uiworkspace and then (assuming the instance is named ws) call ws.viewrebuild

Subject: maybe recompile of design element needed

so you need notes client to recompile design after design chages (imho)

Subject: Thanks

Yeah, I was thinking that, but I have nothing to refresh the design from. Unless I am misunderstanding, but wouldn’t it require me to add a template to the view for it to pull from?

Subject: use template to populate design changes is better way, generally

but don’t quit sure if it helps with toppic.haven’t enough designer skills ((