Web: Save a calculated field on web problem

Hello,I’ve a problem with saving a calculated field on web.

Problem description:

I’ve a calculated field (field_1) in a web application and I fill in a value (p.e. “Hello”) using an agent.

button_fillin:

@Command([ToolsRunMacro]; “(ag_fillin)”);

(ag_fillin):

@SetField(“field_1”;“Hello”);

button_save:

@Command([FileSave]);

@Command([FileCloseWindow)];

When I open this document, field_1 is empty. So it hadn’t save correctly.

  • When I try this in Notes it works!

  • When I change field_1 to “editable” an click “fillin” and then “save” it works in web!

I dont know where the problem is…

I hope you can help me.

I don’t know why

Subject: Web: Save a calculated field on web problem

Why using an agent under this button?Use it as a WebQuerySaveAgent or move the code from your agent directly under this button, should work.

Good luck…

Subject: RE: Web: Save a calculated field on web problem

I’ve changed and set the code directly on the button.

It don’t work, too.

Coult anybody make a test, if this works on your system?

Maybe theres a Problem with my Notes Version?

Subject: RE: Web: Save a calculated field on web problem

With WebQuerySave it works for me…