web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Page's Editable property- How does it work?

(0) ShareShare
ReportReport
Posted on by

Easier if I just put the step to reproduce here.

1. Create an empty table - the table is to be used as temp table. Say, TableA. The table will have one field name TestField with type Code.

2. Create a card page with TableA as SourceTable. Set Editable to No. Set SourceTableAsTemporary to Yes. Call this PageA.

3. In OnOpenPage, assign a value to the TestField.

4. Create an action. In the action just print out the value of the Code field.

When page is set to be non-editable, the action to print out the TestField will prints out the value.

Set the page to be editable, and the TestField will not have any value.

Can anybody explain why is this behaves so? I was expecting that it'll behave the same way both for editable/non-editable page.

Is this bug, or is NAV doing something behind that I'm not aware of?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Binesh Profile Picture
    7,887 on at

    Hello Farid,

    When Page is Not Editable then always its onOpenPage, until you not goto next record, that means values are same, But In Case of Edit mode, first time only value, second time onwards it blanks, because it moved from OnOpenPage trigger.

    See the bellow screenshot you may get idea about page editable property.

    1488.1.png

    1488.1.png

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    If a form has Editable set to a value of No, then the controls on the form are not editable, even if the (individual) Editable properties are set to Yes. When using CurrPage.Editable, the Editable property also reflects the page mode that the page was opened in. This applies to Edit, Create, and Delete modes, but not to View mode. If the page is editable, then CurrPage.Editable will return false.

  • Suggested answer
    RockwithNav Profile Picture
    8,967 Super User 2026 Season 1 on at

    Hey

    Check out this link, it may help you.

    dynamicsuser.net/.../26043

  • Suggested answer
    Community Member Profile Picture
    on at

    How do you assign the value to Testfield on "OnOpenPage Trigger", as it is Primery Key?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans