Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all 51311 articles
Browse latest View live

Unable to connect to an Application Object Server. A company name or server name may not be specified correctly in the client configuration, or the server specified may not be available

$
0
0
Hi, We are not able to connect AX client in one of our environment. Error " Unable to connect to an Application Object Server. A company name or server name may not be specified correctly in the...(read more)

Improving our Extension Codebase

$
0
0
Improving our Extension codebase We started applying CodeCop, AppSourceCop, PerTenantExtensionCop and UICop to our own extension to improve the overall quality of our extensions. What did we do?...(read more)

Modules on the environment do not match with modules in the package

$
0
0
If you try to deploy an 8.0 to 8.1 upgrade to sandbox/UAT where modules have been renamed, you will get the error "Modules on the environment do not match with modules in the package" together with a list of missing modules.

The regular process of renaming a module is to create a new module with the new name, move the code, delete the old module and add the old module name to the ModuleToRemove.txt files for removal during deployment.

When deploying the 8.0 to 8.1 upgrade to sandbox/UAT, Microsoft checks that the package holds at least the same modules as already deployed. But the ModuleToRemove.txt file is not taken into consideration during this check, and thus the modules appears to be missing.

The workaround is to keep and deploy empty models with the old names. Any code must of course be in the new models.

You can uninstall the empty modules at your next regular deployment using the normal process with the ModuleToRemove.txt file.

This is only an issue with 8.0 to 8.1. Not with, for example, 7.3 to 8.1.

Avoid Over layering in Development of Workflows on Existing Form Extension version – Dynamics 365 for finance and operations

$
0
0

Hi all,  My fellow wrote an excellent blog Post, I used it in my customization to avoid overlay methods in some of out of the box table.

http://d365technext.blogspot.com/2018/07/avoid-over-layering-in-development-of.html

 

 

That article made my day and worked perfectly fine. But here one thing that article missed.  How we have to set form designer the custom workflow in list page . Something like If I copied from Sheiks sabs article.

 

 

There is error when I created on initialized of custom table in a extension class for list page . I got following error.

 

 

So it is not possible, I still not figure out. Later possible I will got they way to do so. Any how I achieved this in extension for interaction class.  I copied the  post event of initializeQuery method and copied in my class and following code will work for me. To enable or disabled workflow in list page

 

[PostHandlerFor(classStr(TableListPageInteraction), methodStr(ListPageInteraction, initializeQuery))]

public static void TableListPageInteraction_Post_initializeQuery(XppPrePostArgs args)

{

TableListPageInteraction TableListPageInteraction = args.getThis();

StatusTable RFQStatusTable = purchRFQCaseTableListPageInteraction.listPage().activeRecord(queryDataSourceStr(TableListPage, DDSRFQStatus)) as DDSRFQStatus;

FormRun formRun = TableListPageInteraction.listPage().formRun();

 

FormRun.design().workflowDatasource(formDataSourceStr(PurchRFQReplyTable, DDSRFQStatus));

FormRun.design().workflowEnabled(true);

FormRun.design().workflowType(workflowtypeStr(DSSRFQCaseWFType));

 

}

 

It works for me

Attach a static PDF to OOTB D365/CRM Workflow

$
0
0
So a recent requirement put to me was to send an email to customers with a specific attachment. There was also a requirement to ensure the right people would get the email but that was fairly straight...(read more)

Azure: Copy Data from D365 CE to Azure SQL Database using Azure Data Factory

$
0
0
Originally posted on Ajit Patra : In this blog post, we’ll see how to copy data of an entity “Contact” in D365 CE to Azure SQL Database. Let’s follow the below steps to see it in...(read more)

Need Microsoft Dynamics Year-End Prep Tips? Join us for a Webinar.

$
0
0

Receive valuable tips and learn about resources to help get your Microsoft Dynamics year-end processes done quickly & painlessly.

Complimentary but space is limited, so be sure to sign up early.

Conducted by the TrinSoft Dynamics Consulting Team.

 

NAV Year-End Prep Webinar

Date: Tuesday, December 4

Time 2 p.m. ET

Register Now!

 

GP Year-End Prep Webinar

Date: Thursday, December 6

Time: 2 p.m. ET

Register Now!

 

by TrinSoft, LLC a Microsoft Dynamics Enterprise Partner in Kentucky

By popular demand: The Muppet Show theme

$
0
0

NAV TechDays keeps getting better and better and better every year. So this year, my bro Waldo and I had to prepare a few special surprises in stock for you. And following all the buzz this has generated on Twitter and in the conference app was just amazing, and now we have to think of what can we do the next year to top this one. But let’s keep the next year to the next year, let me do something that a lot of you asked about: The Muppet Show “theme” for Microsoft Dynamics NAV 2018.

In short, this thing:

First of all – just a little disclaimer: I do not absolutely endorse doing what I did in any of the customer scenarios. If you ever choose to use this or anything similar, don’t come back to me and my blog asking for help. Well, not that anything can go seriously wrong, but you should generally not be doing the exact trick I did in anything but the safety of your local VM (or Docker container, just to keep Waldo happy).

Anyway, what did I do?

To be quite honest with you, I cheated. The stuff that you saw yesterday is not something you can fully achieve with a control add-in. Okay, it’s not that bad either, you can achieve most of this using a control add-in. Let’s put it that way, if I wanted to start the demo from the screen that you see in the screenshot above, it would have all looked exactly as you saw it, and it can be done fully and without exceptions without any cheating at all. The only problem with the no-cheat approach is twofold: you wouldn’t get the splash screen (and I absolutely wanted that splash screen!) and you would first see the standard NAV “theme” which would then suddenly flash-change into the muppet-“inspired” one (and I absolutely didn’t want that either, at least not for the demo).

That said, I must also put one big fat disclaimer here and say that what I did is something that I wouldn’t normally be blogging about, because it’s a very cheap piece of trickery. But since you all were so excited and wanted to know how I did it, and obviously want to try the same madness at your own premises, I decided to release this as-is. Keep in mind that I, in my right mind, and in my full professional responsibility, I would never ever do something like this for real – this was just for fun.

That’s also why I am not putting this on my Github account – I don’t want to put something like this as publicly as Github goes, it’s simply a piece of disgrace that had one purpose alone: to make you all go “wow” and to transition from a somewhat dry architectural session intro into the topic of JavaScript by showing you something effective, some smoke-and-mirrors special effects designed to impress you and nothing all.

That said, how the heck did I do it (I still hear the question).

It’s simple. The NAV web client is an ASP.NET application, and the files that the UI is built from are available in plain text in your IIS installation. It only takes a little sniffing around the web client folder, a little knowledge of ASP.NET Razor, and then all of the CSS/JavaScript trickery to actually own the UI. So, step 1 for me was to find the place where to inject my stuff. It was simple, and for that I only had to “hack” one single file: _CommonHeaders.cshtml in the Views/Shared subfolder. I didn’t do much to it, I injected a Google font that I found crazy enough but still legible, a simple script that I’ll explain, and a small stylesheet block that hijacks the splash screen, colors, fonts, and adds some minor visual effects. Obviously, I also had to add a few images to the resources folder, to supplant (not replace – nothing of what I did is actually destructive in any way!) the original icons and graphics. I also made very minor changes to nine stylesheets, but again nothing destructive, it’s all easy to get out of it.

The most important part is the JavaScript file I injected through the _CommonHeaders.cshtml. That file inserts a mutation observer that detects the changes in DOM and then replaces whatever Microsoft believed belonged in the UI with the stuff I believed should be there instead. Again, it’s not destructive, it’s mostly just adding some styles.

One more disclaimer – it’s not optimized at all. Again, keep in mind that my goal was to make you go “aaaaah” and not to put up some code that can pass the scrutiny of peer review. It’s not optimal, it can be done better, but I only had as much time to prepare all the demos, and didn’t bother with making it a piece of – should I say – poetry?

In the end, when you download the file, what do you do with it? It contains two folders: wwwroot and Views. You simply take these two folders and put them in the C:\inetpub\wwwroot\DynamicsNAV110 (or wherever else your web client is installed). Back up the contents of original wwwroot and Views folders (or at least those subfolders that I touched) and then simply replace the files that you are asked to replace. That’s it. Simple.

And a couple of final thoughts. All of this, save for the splash screen (and with a little flickering of the original NAV look and feel) can be done with a control add-in, and that’s precisely what I will do – a control add-in which allows you to theme the NAV the way you want to theme it (muppets theme will be included for free). Also – can you theme the Business Central client the same way? Well, absolutely, however since it has fewer obvious icons, making it look as funny (or funky) is more difficult because it’s all just fonts and colors. But yes, it can be done. The final one: this is very much version specific, this works well with latest CU of NAV 2018, and might not work with earlier CUs, and absolutely might not work with 2017, and certainly doesn’t work with anything earlier with it. Every single version of the client changes the HTML structure and styles and once a new version is out, this theme will be obsoleted in an eyeblink.

Now, all this said, time for me to actually put a link, and I still have second thoughts. Anyway – here you go. Don’t do this at home, or go crazy with it, whatever you prefer (this is the link, click it!)


Read this post at its original location at http://vjeko.com/by-popular-demand-the-muppet-show-theme/, or visit the original blog at http://vjeko.com. 5e33c5f6cb90c441bd1f23d5b9eeca34

The post By popular demand: The Muppet Show theme appeared first on Vjeko.com.


D365 Retail Cloud: RSSU vs RCSU – Don’t get them confused!

$
0
0
As you might have heard, in the October 2018 release, Microsoft released the concept of Retail Cloud Scale Unit (RCSU). One of the reasons this change in infrastructure architecture has been released by...(read more)

Interesting resources for Dynamics professionals from Ignite 2018

$
0
0

Learning never stops, never ends, never finishes

Ignite has a wealth of resources for Dynamics professional.  The problem is not having enough videos to watch, the problem is there is too many and finding the ones interesting to Dynamics professionals.

I have picked out some of the presentations that look interesting.  I haven’t watched them all but I have watched a bunch of them.

This has been really useful to see how the changes, new features and new services (PowerApps, Common data service, Logic Apps, Flows) fit into future projects.

Interesting resources for Dynamics professionals from Ignite 2018

Successful people are constantly learning

JavaScript and AL. The regular expressions example.

$
0
0
It wasn ´ t the goal, but I notice how easy is to execute a JavaScript in AL and interact each other. I think too, this wasn ´ t Microsoft intention when they create add-ins for Visual Studio...(read more)

Dude, where is my section?

$
0
0
I migrated one customer from Dynamics CRM 2011 On-Premise to D365 Online and everything was fine until customer discovered that account form looks weird – one section just disappeared: And here is how the same section looked like in “Customization” mode: So controls were there but something just made it invisible. After some investigation my ...

D365-FO/Retail: Adding fields to a data entity without a developer

$
0
0
It seems to be a common mis-conception that in order to extend a data entity you always need a developer in every scenario. But imagine a scenario where you are already live (or in a phase in your...(read more)

Is Your Sales Stage Not Updating in Dynamics 365?

$
0
0
Following the update to v9, you may encounter an issue where your sales stage is not updating in Dynamics 365. This is a challenge when it comes to reports as all of your views, charts and dashboards will...(read more)

Dynamics 365 scripting issues with App for Outlook (ES6 vs IE11)

$
0
0
Learning : Dynamics 365 App for Outlook uses classic IE as rendering engine. Hence the script using ES6 standard is not compatible. We have to rewrite using ES5 standard to make our script work in AFO...(read more)

Dynamics 365 UCI App Icons - Blueprint

$
0
0
Trial & Errors : I did a lot of research on this, playaround a bit, upload & test in multiple clients, wasted a lot of time - so thought of documenting this to save other community members valuable...(read more)

Power BI and Microsoft Dynamics 365

$
0
0
Listing down the posts on Power BI and Microsoft Dynamics 365 for quick reference Power BI with Dynamics 365 CE – Creating Power BI Report Power BI with Dynamics 365 CE – Publishing Power BI Report to...(read more)

How to assign Schedule Board to the Managers in Microsoft Dynamics 365 Field Service

$
0
0
Hi Everyone, Today i am going to share quick tip about how to assign the ownership of schedule board on Microsoft Dynamics 365 Field Service. Suppose in a organisation a Team Manager needs a schedule Board...(read more)

Microsoft Dynamics 365 Field Service - Field Agent capabilities on Mobile App

$
0
0
Hi Everyone, Today i am going to share what are the capabilities of the Mobile App user on Microsoft Dynamics 365 Field Service. Mobile App Field Agents Capabilities: Field Agents can use the mobile app...(read more)

Test Automation Suite for Dynamics 365 for Finance and Operations, Part 1

$
0
0
The Test Automation Suite As you may already know, with V8.1 of Dynamics 365 for Finance and Operations we now have a Test Automation Suite (TAS) that allows an administrator to define and orchestrate...(read more)
Viewing all 51311 articles
Browse latest View live




Latest Images