126
On an action that launches a page, the default 'RunPageMode' property is set to 'Edit', which allows you to immediately edit the record.



When coding the actions instead and calling the page via PAGE.RUN or the PageManagement generic functions, the page is opened by default in View mode, which requires the user to click 'Edit' first.



We'd like to be able to call / run any page via code in Edit mode immediately. (without having to create a variable of the page and set the 'Editable' property first)

Category: Development
STATUS DETAILS
Under Review
Ideas Administrator

Thank you for your feedback. We are considering adding it to our longer term roadmap.  

Your help is greatly appreciated,

Kennie Nybo Pontoppidan

PM, Microsoft 

Comments

F

The only way we can control the "pencil" to edit or view a page, is if the page is opened via an action. We then have the RunPageMode property, which we can set to View, Edit, or Create.


https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-runpagemode-property


The CurrPage.Editable is only modifiable in the OnOpenPageTrigger. The biggest roadblock with this is that this represents when a page is editable at all, AND if the page is in Edit Mode. It seems that the ModifyAllowed property on the page would be better suited to handle that.


https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/page/page-editable-method


Ideally, it would be nice to be able to control the default mode the page opens in (either Edit or View)

Category: Development