What’s New in Business Central October 18 release

15

Everybody is aware that Business central was live in month of April 2018 and now Microsoft is geared up for October 2018 release which will available in cloud, on-premises and in hybrid deployments. This version will come up with new and rich features which will make business users to interact more efficiently with product and get rid of day to day processes.

Roadmap for business central

roadmap

New features in business central

Refreshed desktop experience :- With a fresh new look it is easier to use business central .It is focused on layout of data, better data visibility ,new look and feel refreshpage

Improved productivity on lists :- Available the features like show/hide more columns, freeze pane, limit totals, row based copy paste. All the lists in the product feature now a new, refreshed layout with more flexible grid customization,
tile view available everywhere and with quick access to search and view. This allows users to get better and faster access to the data whenever it is needed.

 list

List Lookup Improved Search :- Get your data faster with improved search for pages,reports . The Search field replaces the Search for Page or Report field. You can use it to find objects such as pages and reports, but also to find actions and product documentation.

search

Advance Filtering :-The powerful filtering capabilities in Business Central accelerate list-related tasks by providing absolute control over filtering in a modern and intuitive experience.

search1

The filter pane allows you to:
• Get an overview of the currently applied filters, and see if they were set by you, by a filtered view, or by the application itself.
• Add as many filtered columns as you like by typing to quickly search for more fields on the source table.
• Get assistance with specifying filter values using lookups or the field’s data type.
• Create complex filters using operators, ranges, variables, and shorthand.
• Filter to the current cell value in the list.

Limit Totals:- Most popular and useful features of NAV makes entry in Business central

Copy and Paste :-This enables you to
• Copy one or more rows in a list and paste them to the same (or similar) list.
• Copy one or more rows and paste them into Microsoft Excel, including the column captions.
Not using Excel? Most applications such as Microsoft Outlook allow pasting tabular content
where the column captions will be displayed.
• Copy one or more rows from Excel and paste them into  Business Central.

Enhanced Power BI embed experience :- Enhancements to the current Power BI embed experience include an automatic deployment of Power BI reports, default report selection, and the ability to manage their Power BI reports without ever requiring them to leave Business Central.

Permission sets are editable :- End users can customize the permission sets and give them a structure that meets the specific needs of their business.

Intelligent edge :-Connect your on-premises Dynamics SMB solution to the intelligent cloud through Dynamics 365 Business Central, and get access to Power BI, Microsoft Flow, PowerApps, machine learning, and others.

edge

and many more new features has been added in this release such as enhancement in AL development which will share in next blog.

Stay tuned for more updates…

 

Source :- Business release notes

 

 

 

 

 

Advertisements

Extension Source code download issue resolved in NAV 2018 CU8

updateimage

Till NAV 2018 CU 7 even if we set property ShowMyCode property to false in app.json  we will be able to download source code of extension

This issue is now resolved in NAV 2018 CU8 and now you can not download source code for extension

platformfix

Stay tuned for more…

 

How to modify standard page layout using extension

15

In this blog we will see how we can modify  standard page by adding few fields and modify property of existing fields.

Adding customize fields in page layout 

For this I assume table extension is already created and now would like to add fields in page layout by creating page extension

In page layout for adding fields you can mention whether you want add fields before/after specified fields or addfirst/addlast in page.

In following example I am adding fields after field VAT Prod. Posting group

pay1

Once you press Shift+F5 then you can see result in page as follows.

pay2

Modifying existing  fields properties  in page layout 

One can modify properties of existing field using modify option in page extension

In this example changing visible property of one of the field in page as per below example

Original page display the field as below

pay3Now we would like to hide this field using visible property so in page extension you can write as below

pay4

Even you can add trigger and write you routine to execute.

Add Action in Page Layout

For adding action once can write following 

pay5

Here is the result in client.

pay6

Hope this help and stay tuned for more.

How to Protect IP Code in Business Central

15Now I know you already started developing app using VS Code and now questions is that how to protect app for viewing the code while debugging or downloading.

However extension development package provide setting for IP protection for viewing or downloading the code of extensions but you can also control by just adding one line code  in app.json file.

app.json file containing setting called showMyCode which controls whether it is possible to debug the code ,By default it is set to false which means debugging in extension code not allowed.

If you want to allow to show extension code then add the line as below in app.json file as by default this setting is not added in app.json file when it is created.

appjson

By adding this setting, you enable debugging into an extension to view the source code when that extension is set as a dependency.

Stay tuned for more.

 

 

 

How to Retain data after publishing App

15

Hope you all started app development and may be wondering how to retain data after publishing app or debugging several times or after adding more sample data.

How do I retain the sample data so every time no need to add the same data.  ?????

In Business central you can synchronize the sample data while publishing several times. This can be done by simple settings in launch .json file.

lanuchjson

Once you mention this settings then the  data synchronize is controlled by this settings.

This settings consist of two options i.e. Synchronize and Recreate .

The default value is synchronize which means data will be retain every time when the app get published.

When schemaupdate set to Recreate mode then all the tables and table extensions are recreated every time and data will get lost.

When schemaupdate set to Synchronize then:

Do’s

  1. Add more field in table
  2. Increase length of field.

Don’t

  1. Don’t delete the field which contains sample data as if the field is removed from table then data can not be synchronize
  2. Don’t decrease the length of field for code and text datatype.

For above points you need to write upgrade code units or set schemaupdate to recreate.

In next blog will see how to write upgrade code units.

Stay tuned for more…

 

 

 

 

 

 

 

 

User and Workspace Settings in Visual Studio Code

I hope you already started working with Visual studio code.

In this section we will see how to do setting for User and workspace in Visual Studio code environment.

It is easy to configure visual studio code as per your likings using various settings. You can change VS code editor ,user interface and functioning by using this settings

There are three ways you can open user and workspace settings

  1. To access you can go to  Click on File–>Preferences–>Settings

User1user2

2) Using Command Palette(Ctrl+Shift+P)  by typing

Preferences: Open User Settings  or Preferences : Open Workspace Settings

user3

3) Use keyboard shortcut (Ctrl+,)

This provides two different settings

  • User Settings – Settings that apply globally to any instance of VS Code you open.
  • Workspace Settings – Settings stored inside your workspace and only apply when the workspace is opened.

Workspace settings override user settings.

How to create user settings 

Once you open settings then you can modify settings as below

Example. If I want to change font size in editor then I can do it from here

 

Change the font size and see the effect on editor.

user6

It shows the effect immediately after saving the file.

Same kind of settings you can do it for AL language extension management

user7These changes get saved in %APPDATA%\Code\User\settings.json

Hope this will help you while extension development

Stay tuned for more…

Cheers…

 

 

 

 

Setup Visual Studio Code for local NAV server Installation

In this section we will see how do we setup Visual studio code locally on NAV 2018 server.

Hereby I assume that NAV 2018 is already installed on local machine .

You can download Visual studio code from Visual Studio Code

After Installing NAV 2018 and Visual Studio Code follow following steps to enable Visual studio code for writing extension and AL code.

  1. Enable Developer Service endpoint from NAV server instance

Developer End Point

2) Setup Web Client Base URL

Mention the web client url address .for example :- http://localhost:8080/dynamicsnav110/

WebClientURL

Once all changes done in service then restart the service.

3) Open Visual studio code and Install VSIX file from media 

InstallVSIX

You will find .vsix file in NAV 2018 Media file in folder ..\NAV.11.0.22292.W1.DVD\ModernDev\program files\Microsoft Dynamics NAV\110\Modern Development Environment\ALLanguage.Vsix

This will install AL language in visual studio code

4) Press CTRL+SHIFT+P and select command AL:GO in order to select a location and create a folder with default file of an extension

5) Setup Launch .JSON file

JSOn

Change server instance to DynamicsNAV110 and authentication to Windows

6) Press CTRL+SHIFT+P  and use command to download symbols AL:Download Symbols

7) Pres CTRL+F5 to publish the Helloworld.AL extension which extends customer list page and same id is mention in startupobjectid parameters of launch .json file

AL1

Once publish you will get following in web client

2

Get ready for extension development with this….

Cheers…

 

 

 

 

Dynamics 365 Business Central : How to Search for Pages/report

How to enable the navigational  support for the page or report from search option on Business central

AL provides property called as UsageCategory which can be used to enable the search for page or report through search in Business central. If the UsageCategory property not defined then it will not available in search

Following are the property values which one can define in AL

  • None
  • Lists
  • Tasks
  • ReportsAndAnalysis
  • Documents
  • History
  • Administration

usage

 

 

 

What’s New -MS Dynamics 365 Business central

As you all aware that Microsoft announced Microsoft Dynamics 365 Business central at Directions Asia.

Lets see what’s new in newly announced product…

First of all it looks great when you open and nicely arranged information on role center.

untitled

Headlines 

  • This feature added to top of role center
  • Great for describing trends, greetings..
  • Maximum 75 characters.
  • For developer new page type property =HeadlinePart 

Creating Extension with InApp designer

This is one of cool feature provided by Dynamics 365 Business Central where in you can design the pages and based on that extension will get created.

In this mode one can select to see preview on different client like desktop,tablet and mobile.

Personalization

Do personalization as you like . Drag and drop . Hide and move parts ,columns, fields,cues.

Person1

Report Viewer 

Now we can view the report within the web client

report1

Key Board Experience

Do selection of record using Ctrl +A. Use Up ,Down arrow keys for navigation and many more.

Even though one can select alternate record by pressing CTRL key.

select1

No need to restart web client after changing role center.

Big list of Notifications

notification1Stay tuned for many more features….

Cheers…..