3D Models within Dynamics 365

Today’s VBlog is about how to embed 3D Models directly into Dynamics 365 forms.  I look forward to putting together a full write up soon.

In the meanwhile, if you like the video please subscribe to my new YouTube channel, and share on your networks.  Hope you enjoy!

Real Time Social Stats using Simple Javascripting

 

Social media is a powerful platform in which to engage your customers, understanding who are key influencers within your list of contacts and accounts is a cornerstone of every social engagement strategy. Channels such as Twitter, YouTube, LinkedIn are emerging as disrupters in the traditional marketing space. In short, this information needs to be in real-time so that you can respond very quickly to changes in the social media sphere. In this blog, I will be demonstrating how you can quickly enable your Microsoft Dynamics 365 system to display real-time subscriber data from your accounts’ and contacts’ social channels.

The demonstration and code I will describe here is very simple to implement with basic form design and JavaScript know-how. It can be tailored and extended to channels other than YouTube as is shown in this demonstration. I am using SocialBlade as our data source, but there a number of others freely available on the net.

So here are the steps to enabling real-time social data within Dynamics.

  • First, goto Settings>Customisations>Customize my System.
  • Navigate to the Contact Entity.
  • Navigate to Attributes.
  • Create a new Attribute called “Youtube Username”
  • Save and Close
  • Navigate to Contact Entity > Forms this time.
  • Create a brand new Main form called: “Social Blade” with the following properties
  • First Tab (Social Profiles)
    • Attributes: Full Name, and Youtube Username
  • Second Tab (Social Blade)
    • Add an Iframe (IFRAME_ socialbladewindow)

  • Save and Close.
  • Next Navigate to Web Resources.
  • Create a new Web Resource of type Javascript. Enter the following code within the Editor window:
function fncSocialBladeOnLoad()

{

// URL segment

var sbURLstart = "https://socialblade.com/youtube/user/";

var sbURLend = "/realtime";

var targetURL = "";

//Get the default URL for the IFRAME, which includes the

// query string parameters

var IFrame = Xrm.Page.ui.controls.get("IFRAME_socialbladewindow");

// get Social Media usernames/channelnames

var YouTubeUsername = Xrm.Page.getAttribute("sms_youtubeusername").getValue();

if (YouTubeUsername != ""){

//Append the parameters to the new page URL

targetURL = sbURLstart + YouTubeUsername + sbURLend;

// Use the setSrc method so that the IFRAME uses the

IFrame.setSrc(targetURL);

}else{

IFrame.setSrc("about:blank");

}

}
  • Open the previously created form. Click on Form Properties.
  • Add the newly created Javascript to Form Libraries.

  • Add an Event Handler and set this to the javascript library, with Function fncSocialBladeOnLoad.
  • Then publish your customisations.

That’s it. If you want to see a video demonstration of the solution, please visit my YouTube channel here: https://youtu.be/HL0ZsYcSTNo

I do hope this gets you thinking about different ways in which we can monitor social engagement across social media channels. There are plenty of opportunities to tap into our key influencers, and this is a great no-cost way of doing so. Of course, when you’re ready to put both feet in when it comes to Social monitoring and engagement, check out Microsoft’s own Microsoft Social Engagement suite.

How to Recover your Microsoft Dynamics 365 Portal if it Fails

As you may have been aware, Microsoft acquired ADX Studios in September 2016, and since then has been actively transitioning to a subscription based on-demand service hosted within Office 365. Previously with Enterprise ADX Studios you had full control over the environment, including restarts, deployments, and so on. With the Office 365 hosted Microsoft Portals (aka ADX Studio Portals), you must now use the Applications management console within the Dynamics 365 Admin Centre. Sometimes your application may do what you want, but other times when you encounter errors you may need to jump start the portal again. Here’s a few tips on how to revive a fallen Microsoft Portal instance yourself before you open a MS Support Ticket.

Let’s start with the easiest and safest route first.

Continue reading “How to Recover your Microsoft Dynamics 365 Portal if it Fails”