April 01, 2018

VSTS setup MSDyn365FO

Hi Guys,

Lets see how to setup the VSTS in your LCS project and followed by how to use the VSTS version controlling for your development stuff.
Note: This post may refer some old version of D365FO, please check all available option while preforming the below steps.

1. Create a project on LCS
2. Deploy on Azure
3. On azure management portal, create a VSTS
4. Open this new link and generate a token for LCS project
5. On LCS add this VSTS and use this token
6. Authorize VSTS on LCS
7. Now need to connect this VSTS with VS
· Start Visual Studio.
· From the Team menu or Team Explorer, go to Connect to Team Foundation Server > Select Team Projects > Servers.
· Add your Team Services account ({youraccount}.visualstudio.com).
· Select your team project, and finish connecting.
image

8. Enter you TFS server name/URL
image

image

9. Now select the project that you need to connect,
image

10. For first use configure the Visual Studio
imageimage

11. Now, let's check the setting, Create a project in Visual Studio and add an object. Now Right Click on Solution click on “Add solution to Source Control”
image

12. Now let's check in the object/Change to VSTS; Again right click on Solution and select “Check in”
image

13. Enter some comment and click on Check-In
image

While prompt, confirm the check-in.

14, You must get your project in VSTS
image
Cheers,
Harry

February 09, 2018

Mobile app development in D365 for FO- Part II

Hi Folks,

In my last post, Mobile app development in D365 for FO - Part I, we discussed how to create a simple workspace for the mobile platform. In today's post, I will share some of the deployment methods for mobile workspace.

In the current version of the mobile app, we can create two types of workspaces that are available to deployment.

a. In database
b. In metadata

a. Database workspaces:
When a user builds an app workspace using web API, it will have stored in the database and anyone can edit or delete such pages.

Database pages easy to create with navigation only. Mobile app framework will record user action and convert into logic, pages actually work the same as a user will record for it. It’s important that the user has clear visibility of what user requirements before creating a page or action.
There are three sections in mobile workspace

i. Pages: Pages that will appear in the mobile workspace, to display data.
ii. Action: To perform CRUD operations.
iii. Logic: Attach the JS file.

Current mobile app framework is flexible in terms of designing flow, the user must be very careful how the user is recording the business process while configuration.

b. Metadata workspace

These pages need to be developed using classes in VS. Metadata workspaces cannot be created directly in VS, firstly user needs to create a workspace in user database using the above method and then attached user workspace to it.


-Harry Follow us on Facebook to keep in rhythm with us. @theaxapta