I'd like to add a new record with javascript
i used this code
XDocument.View.ExecuteAction(''xCollection::insert'', ''new_rec'');
it's ok but i have to show just the new record and hide the other ones.
the action ''New record'' that infopath uses with the command button
can do it.
the problem it's this: when i clic on the button to add new ...