D365BC: Publish through vs code without code ?
                
                    absolutelyfreeweb                
                
                    Member Posts: 104                
            
                        
            
                    Is there anyway I can use vs code, using a 3rd party extension or any other way, to publish an .app file without actual source code through vs code ?
(I'd like to do schemaupdatemode: recreate)
                (I'd like to do schemaupdatemode: recreate)
0                
            Answers
- 
            Couldn't you use powershell commands?:
- Uninstall-NavApp (https://docs.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.apps.management/uninstall-navapp?view=businesscentral-ps)
 - Publish-NavApp (https://docs.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.apps.management/publish-navapp?view=businesscentral-ps)
 - Sync-NavApp -Mode Clean ##need to uninstall the App first for this to work (https://docs.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.apps.management/sync-navapp?view=businesscentral-ps)
 - Install-NavApp (or through client) (https://docs.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.apps.management/install-navapp?view=businesscentral-ps)
 
About "-Mode Clean":Clean: The database schema defined by all versions of the target NAV App will be removed from the target tenant database and all data is lost. That is, if a table or table extension was included in any version of the target NAV App, then the respective full or companion table will be dropped from the tenant database.0 - 
            Clean, removes all data. That is what I am trying to avoid. I want to for instance remove a field without losing other data.0
 - 
            A little late, but you can NOT delete a field without mode clean. You have to mark the field as obsolete and remove it from any pages/reports/code (the compiler will help with this).aka Vincent Vancalbergh
"I tried filtering life, but the universe returned an Internal Error"0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K Microsoft Dynamics NAV
 - 18.7K NAV Three Tier
 - 38.4K NAV/Navision Classic Client
 - 3.6K Navision Attain
 - 2.4K Navision Financials
 - 116 Navision DOS
 - 851 Navision e-Commerce
 - 1K NAV Tips & Tricks
 - 772 NAV Dutch speaking only
 - 617 NAV Courses, Exams & Certification
 - 2K Microsoft Dynamics-Other
 - 1.5K Dynamics AX
 - 323 Dynamics CRM
 - 111 Dynamics GP
 - 10 Dynamics SL
 - 1.5K Other
 - 990 SQL General
 - 383 SQL Performance
 - 34 SQL Tips & Tricks
 - 35 Design Patterns (General & Best Practices)
 - 1 Architectural Patterns
 - 10 Design Patterns
 - 5 Implementation Patterns
 - 53 3rd Party Products, Services & Events
 - 1.6K General
 - 1.1K General Chat
 - 1.6K Website
 - 83 Testing
 - 1.2K Download section
 - 23 How Tos section
 - 252 Feedback
 - 12 NAV TechDays 2013 Sessions
 - 13 NAV TechDays 2012 Sessions
 
