August 22, 2022

Azure DevOps Demo data generator

Hello,

Microsoft recently released a tool to generate demo data for your Azure DevOps project, 

You can get detailed steps here (Get started creating and populating demo Azure DevOps Services projects).


-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

August 05, 2022

Create Code extension in D365FO

Hi Folks, 

In case you missed this, Microsoft recently added one more option in Visual Studio to create an extension 'class' of any object (not as an object extension but an extension class to add code/new method).

Navigate to 'Application explorer' (aka AOT) and find your object, right click on this and you will find an option to 'Create code extension', if you select this, it will create a class with all syntax you need to create an extension of that object (i.e. final keyword, add 'ExtensionOf' at the top).


This action will create a class with the name 'ObjectName_Model_Extention' in your project with the below syntax, 









This is super quick to create an extension call for any applicable object. (Yeah you can not create an extension on an EDT using this option ;) )

Cheers!!! Happy Weekend. 

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

July 24, 2022

[Solved] Debugger not working, Symbols not loaded

Hi Folks, 

In the recent Dev box where we are getting Visual Studio 19  for IDE, the debugger is not so friendly, it could be demanding to favor you  :) .

Let's see what are those demands, you may or may not need all those fixes. 

1. Uncheck  "Load Symbols Only For Items In The Solution". Go to Extension > Dynamics 365 > Option >


























2. Uncheck ‘Enable Just My Code’. Go to Extension > Dynamics 365 > Option
    


and Check the "Microsoft Symbol Server"



-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

July 07, 2022

One more year at your service- Microsoft MVP

Dear Friends, 

It's giving me immense pleasure and pride to share that I got my MVP award for the 9th time in a row.  This couldn't be possible without each of you. A big thank you to all!!!





































-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

June 27, 2022

All about workflow in D365FO, X++ code samples

Hi Folks, 

Here are some code samples to play around with D365FO workflow, 

1. Approve a workflow by code,




-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

April 20, 2022

Table event methods

Hello, 

Here are quick examples of the most important event methods on a table,




I will be posting a video to explain this in Hinglish. Please stay tuned to my YouTube channel 


-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

April 01, 2022

Implementation Guide Success by Design [Ebook, PDF]

Hi Folks. 

Here is the Ebook link to read and download https://www.d365implementationguide.com/books/asvr/#p=i.

















-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

March 21, 2022

Useful commands to manage models

Export model -

 

ModelUtil.exe –export –metadatastorepath= packages path  –modelname="ur model name" –outputpath="where the model is to be saved"

 

Example : ModelUtil.exe –export –metadatastorepath=K:\AosService\PackagesLocalDirectory –modelname="Model1" –outputpath="D:\BackupModel"

 

 

Import model -

ModelUtil.exe -import -metadatastorepath=packages path -file="path where u want to save with model name"

example : ModelUtil.exe -import -metadatastorepath=K:\AosService\PackagesLocalDirectory -file="C:\TheAxapta\Dev_To move\Model1.axmodel"

 

 

Delete -

ModelUtil.exe -delete -metadatastorepath=package path  –modelname="name of ur model to delete"

example : ModelUtil.exe -delete -metadatastorepath=C:\AOSService\PackagesLocalDirectory –modelname=Model1




-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

February 16, 2022

[Solved] Application login redirects to other domain than customer's domain #MSD365FO

[Last updated : 25 August 2022]
Hi Folks,

Recently I was facing an issue with one of the customers, whenever any user is trying to login into any environment the login screen redirects to another domain than the customer's domain. 

After doing a bit of research and connects, I figured out that while deploying this tier-1 environment I have used my email id (which was not part of the customer domain). And system took my domain as the default tenant and ignored which azure connector was used to deploy this environemnt. 

Solution: You have to use the customer's domain email to deploy any environment on their LCS so it will take their domain as default tenant than your(Partner/Vendor) tenant. 

Now, this issue becomes more critical in case you rolled out a tier-2 or UAT instance (I haven't tied this but technically this can also happen), and non of the users can log in to this and you will end up, redeploying this from scratch. Imagine the scenario where your team already did the configuration on any of these servers and you end up redeploying, A complete mess. and a lot of rework. 

However DB backup and DIXF export can cover you there, but again a lot of rework and time is needed. Plus justify this to your customer. 

So, always use the customer's domain email id to deploy any environment for your customer. 

If this issue might have been raised a few months back, I could have used the AdminUser provisioning tool (How to set new admin user) to change it, but with the recent update, this tool is deprecated. (Yeah I also didn't like this idea).

Hope this will help and save you from ending up in a similar mess. 


For more details pl check this link



Update: 25 August 2022, 

If you have some old Dev VM you can actually copy the admin provisioning tool from there and paste it into the new vm at the same location. This should help you as a workaround to set new admin to dev boxes. 

Cheers!!!

-Harry 

Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

February 03, 2022