April 10, 2018

Task recorder in Dynamics 365 For Finance and Operations–Part I

Hi Folks,

Today lets see how to use the task records in new Dynamics 365 FO. Task recorder in D365FO has been re-built from the ground up with a focus on high-responsiveness, a flexible extensibility API, and seamless integrations with consumers of business process recordings. Task recorder is able to record the steps from user action in the excatly same sequence, like a wizard recording.
In this post, I’m going to use task recorder for one of D365FO process. Follow the below steps,

1: In the right corner of the app, Go to setting button and select Task Recorder
clip_image001

2. Task recorder menu contain many options here to choose
clip_image002

Below is the brief description of each option, In this post We will discuss the first two option. I will back soon with the rest two options.
image

3. For this example, we will select ‘Create recording’ and will create a new file using this task recorder. To make it simple let's start with a Purchase order
clip_image003

4. Now once you click on the start button, the system will start to capture your activity on the application. As you keep processing your purchase order, the system will record your steps
clip_image004

5. Once you have done with you the PO process, click on the stop button, System will show a further option
clip_image005

image

‘Save to this PC'’: This option allows you to save the recording on the local file system with extension ‘axtr’. Which can be used later on with AX to repeat all steps in wizard mode.

Export to Word document: System will create a word document as below format
clip_image010

Save as developer recording: the system will save an XML file to local. On top of your window, you will found one lock/Unlock option to

6. To use the saved file at later point of time, here we need the second option as describe in the above table, i.e. ‘Play recording as Guide’. Click on Play recording as a guide from task recorder menu option.
clip_image006
clip_image007

8.  Click on Open file from this PC
clip_image008

9.Browser your file and open Task guide and click on start button.
clip_image009

it will start a guide for you to walk you thoroughly on the recorded process.
clip_image011

In coming post, we will see remaining two option and the task Recorder integration with the Lifecycle Services BPM tool. Stay connected.

Cheers
Harry

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

November 23, 2017

How to Delete a model in Dynamics 365 for FO


I was trying for this for very long time, on initial stage of development it was one of the biggest headache for me. HOW TO DELTE A MODEL. So now finally I come to conclusion on this.

Note: I would recommend check with all other developer who is sharing the same dev machine before deleting this to make nothing will go wrong. Take a backup of your code.

Prerequisite:
1.     Login to server using admin credentials
2.     Check your model directory it must be sore under below path/folder
C:\AOSService\PackagesLocalDirectory/<your model>





There can be two scenarios here,
1.     Model belongs to its own package
2.     Model belongs to standard (existing) package.

1.     If your model belongs to its own package (For example: An extension package with no other models in the package):
a.      Stop the following services: The AOS web service and the Batch Management Service
b.     Delete the package folder C:\AOSService\PackagesLocalDirectory\<your model>
c.      Restart the services from step 1
d.     If Visual Studio is running, refresh your models (Visual Studio > Dynamics 365 > Model management > Refresh models)
e.      In Visual Studio, perform a full database synchronization (Visual Studio > Dynamics 365 > Synchronize database...)





2.     If your model belongs to a package with multiple models (For example, <your model> overlays Application Suite):
a.      Stop the following services: The AOS web service and the Batch Management Service
b.     Delete the model folder C:\AOSService\PackagesLocalDirectory<PackageName>\<your model> (In this example PackageName=ApplicationSuite)
c.      Restart the services from step 1
d.     In Visual Studio, refresh your models (Visual Studio > Dynamics 365 > Model management > Refresh models)
e.      In Visual Studio, build the package that the deleted models belonged to (Visual Studio > Dynamics 365 > Build models...)
f.       In Visual Studio, perform a full database synchronization (Visual Studio > Dynamics 365 > Synchronize database...)


Enjoy..
Harry.

Disc: This post is referred from here.