0
votes

I've done this before -- I have a button on a xPage which sets the document into edit mode via a simple action. In fact, I just copied the 'edit' and 'save' buttons from another app. But when I click the 'edit' button, the document does not go into edit mode. I have Manager access so can edit the document. Not quite sure why it's not going into edit mode. Any thoughts?

thanks. clem

1
An Authors field would explain that behavior. Or if you're using a browser, the "Maximum Internet Name and password" (which overrides your Manager access) could be set to Author (or lower.)Duston
Hi Duston. I don't have author fields but I added one just in case that would make a difference but it didn't. Still not sure what's going on. Thanks, clemClem
What's the code behind the edit button? Should it be a partial refresh, or a full refresh? In that case, when you click edit, you should be able to see some activity on your Developer Tools screen in the browser (assuming this is for a browser). Check also the Console screen in case you have JS errors.D.Bugger
Can we see some code?teleman
@Clem: some things to try: 1. Have a look at the page's url; if it's open in read mode the query string part should contain "openDocument". Change this to "editDocument" leaving the remainder as it is. Then hit <Enter> reload the page with the altered Param. If this doesn't switch into edit you need to double check your access rights. - Next you can make a copy of your page and strip it down to a minimum: one doc datasource, just a few simple fields plus a NEW edit button using the same simple action (you mentioned you had copied the button from somewhere else) - good luckLothar Mueller

1 Answers

0
votes

Well... I really hate to admit this but I found the problem. Before dropping the form fields into the Application Layout Control facet field, it looks like I added a panel and made the panel readonly! .