AL icon indicating copy to clipboard operation
AL copied to clipboard

Repair-NavApp - Apps no more vissible or available in Client

Open sweikelt opened this issue 5 years ago • 1 comments

  • AL Extension Version: 157.014

  • Server Version: 18.0.29486.0 [OnPrem] ... and earlier

no code required!

if we use the repair-navapp command, the apps will not be available in the client (via search or something else) we then have to uninstall and unpublish these apps and republish/reinstall these (without repair-navapp) this seems to happen, if the published app was created on a lower serverversion than the used one

example:

Publish-NAVApp -ServerInstance BC -Path <<<FullAppPath>>>
Repair-NAVApp -ServerInstance BC -Name <<<YourAppName>>
sync-NAVApp -ServerInstance BC -Name <<<YourAppName>>
install-NAVApp -ServerInstance BC -Name <<<YourAppName>>

and the best of this story is: sometimes we get a sql error (on installing) which then causes dataloss because then we have to sync in forceMode <- this case is really hard to reproduce and i'm trying to find a solid way for you guys.

sweikelt avatar Sep 22 '21 16:09 sweikelt

Looks like a support case issue. With an Request for Hotfix on the appropriate channels you will have better chances this is going to be fixed This GitHub repository is dedicated to handling issues and feedback for the latest Developer Preview releases of the AL development tools for Dynamics 365 Business Central. If you can reproduce the problem on the latest Business Central Developer preview version we will be happy to look further into it. Otherwise please contact the regular support channel.

kalberes avatar Sep 23 '21 17:09 kalberes