AL icon indicating copy to clipboard operation
AL copied to clipboard

Table data loss after extension republishing.

Open ABaludin opened this issue 8 years ago • 3 comments

Hi all.

  1. I've create a setup table with page and publish it on database (F5).
  2. I create a new record in it with some values
  3. I made a change in table in vscode and publish the extension again (F5)
  4. My table gone empty after that (record has been delete)

Is it a normal? If yes - is there any way to save data? I know about install codeunit, but in this case - no way to fill default values on install. Thanks in advance!

ABaludin avatar Jan 15 '18 10:01 ABaludin

Hi, We have introduced a feature which lets you keep your data between publishes from VS Code. It will be available in the January update.

thpeder avatar Jan 15 '18 10:01 thpeder

Tenerife only or it'll be 2018 CU2 ?

ABaludin avatar Jan 15 '18 10:01 ABaludin

It is also part of CU2.

thpeder avatar Jan 15 '18 10:01 thpeder