Dynamics User Group
Search
User
Site
Search
User
Dynamics 365 Business Central/NAV User Group
Mohana's Dynamics NAV Blog
Developing Extensions Using the New Visual Studio Code – Part 5
Forums
Blogs
Resources
Wikis
Events
Leaderboards
Members
Mentions
Sub-Groups
Tags
More
Cancel
New
Dynamics 365 Business Central/NAV User Group requires membership for participation - click to join (it's free)
Mohana's Dynamics NAV Blog
Post Details
Mohana
2016-12-22 2:04 PM
0 comments
1252 views
Mirror post
New Development Environment
Dynamics 365 Business Edition
Visual Studio
Dynamics 365 for Financials
Home
Posts RSS
More
Cancel
Share
Subscribe by email
All blogs RSS
Atom
More
Cancel
Most recent posts
Tags
Subscribe by email
More
Cancel
By date
By view count
By comment count
Descending
Ascending
Mohana
2018-12-31
Mirror post
happy new year
Happy New Year 2019
May the new year days be as bright as the sunshine and as calm as the moonlight. Have a wonderful year ahead.
(Continue reading)
176 views
0 comments
1 month ago
More
Cancel
Mohana
2018-8-22
Mirror post
dynamics 365 business central
ProgressUS
Make Money with Dynamics 365 Business Central and Progressus PSA
Want to stay relevant in the cloud ERP market? Dynamics 365 Business Central is here to stay and the need to stay relevant in the industry is more important now than ever before. How can you do that?...
(Continue reading)
202 views
0 comments
5 months ago
More
Cancel
Mohana
2018-8-20
Mirror post
dynamics 365 business central
Dynamics 365 Business Central Training Sessions in Chennai
Delivered another Dynamics 365 Business Central 2 days in-class training for Techminds LLC at Chennai on August 12 th and 19 th , 2018. Thank you Arun, Vise President (APAC), for contacting me for this...
(Continue reading)
223 views
0 comments
5 months ago
More
Cancel
Mohana
2018-8-9
Mirror post
dynamics 365 business central
Dynamics 365 Business Central Training Session in Findlay, USA
Delivered another Dynamics 365 Business Central in-class training for Velosio at Findlay, USA on August 1 st and 2 nd , 2018. Thank you all. I hope you enjoyed the session. If you need Dynamics 365 Business...
(Continue reading)
201 views
0 comments
6 months ago
More
Cancel
Mohana
2018-7-2
Mirror post
dynamics 365 business central
Dynamics 365 Business Central Training Session in Bangalore
Continued Dynamics 365 Business Central in-class training for EVRY INDIA , Bangalore on June 30, 2018. Thank you, Anand, for contacting me for training. Welcome EVRY India team to Dynamics 365 Business...
(Continue reading)
312 views
0 comments
7 months ago
More
Cancel
>
Developing Extensions Using the New Visual Studio Code – Part 5
Mohana
2016-12-22
We finished
step 1
,
step2
,
step3
and
step4
of creating a sample extension using new visual studio code.
Let’s start with step 5 – Building the package and Publishing the extension.
To Recap:
When we want to start creating our own project, we need to create a new project to contain it. Visual Studio Code manages projects by including all files from a directory. Whatever files exist in that directory are then part of our project. In addition there are two other configuration files; app.json and launch.json. We can define these ourselves, possibly by copying the files from sample code or we can have the system autogenerate them for us
. Building the solution (Ctrl+Shift+B)
will create the app.json file and
publishing (F5)
will generate the launch.json file.
Open the Visual studio code and Folder ReasonCodeforLostJobQuote which we created before if it is not open.
Building the solution (Ctrl+Shift+B)
Package is created (navx file)
We can create
launch.json file
manually or Publishing (F5) will also generate file automatically.
Let’s create manually which should be under vscode folder.
Click on New Folder
Name it as .vscode
Click on New file selecting .vscode folder.
Name it as launch.json
Create file which looks like below
Settings in the
launch.json
file:
Setting
Mandatory
Value
server
Yes, if connecting to an on-premises server
The HTTP URL of your server, for example:
http://localhost
serverInstance
Yes, if connecting to an on-premises server
The instance name of your server, for example: NAV
port
No
The port on which the development endpoint is running on the server, default value: 7049
tenant
No
The tenant ID in case the server is configured for multitenancy.
windowsAuthentication
No
Specifies whether Windows or Azure authentication should be used for publishing the extension. Currently only Windows authentication is supported.
startupObjectId
No
The ID of the startup object to launch when you press F5. Currently only objects of type Page are supported.
Now Press F5 to publish the extension to servicetier “Navision_main”
It publishes and Install extension.
Go to RTC/Web Client.
Check extension management page.
Reason Code for Lost Job Quote extension is installed.
Go to Job Card to check the functionality.
Reason Code for Lost Quote field is added (I couldn’t see dropdown option. Need to investigate.)
Stay tuned.
Go to the (full) original post and its comments.
Comment List
Related
Recommended