Why doesn´t setfield work on the web?

I have a action button on a web view, and I wanna use it to change a field name and edit a document. Why doesn´t this work?

@SetField(“Fieldname”; “value”);

@Command([RefreshHideFormulas]);

@Command([EditDocument])

Subject: Why doesn´t setfield work on the web?

why editing a field in read mode??? Try first to edit the document and then to change the field value:@Command([EditDocument;“1”);

@SetField(“Fieldname”;“value”);

@PostedCommand([RefreshHideFormulas])

Subject: RE: Why doesn´t setfield work on the web?

Thanks!

I had just read the first part in the help section, and I assumed Edit mode was default:

If the mode is omitted, Edit mode is assumed.