How to – Use Xrm.Internal.openDialog as an alternate to showModalDialog in CRM


New version of Chrome doesn’t showModalDialog method.

g

As an alternate we can use Xrm.Internal.openDialog method

  • And in the HTML Web Resource page

We need to refer ClientGlobalContext.js.aspx

To return value to the parent window and close the current window

Helpful links

https://debajitcrm.wordpress.com/2014/04/29/exploring-the-xrm-internal-namespace-in-crm-2013/

https://dynamicsofdynamicscrm.wordpress.com/2014/04/28/call-crm-2013-modal-window-for-webresources/

https://mscrmmindfire.wordpress.com/2014/04/23/open-dialog-box-like-crm-2013/

MOST IMP – It is unsupported

Hope it helps!!

Advertisements

CRM 2011 Web Resource Part 2: How to use “ClientGlobalContext.js.aspx”


Siva Polisetty's avatarSiva's Dynamics CRM 2011 Blog

When you work with HTML web resources, There might be situations where you need data about the CRM.

“ClientGlobalContext.js.aspx” gives the Context information out side of the CRM FORM.

when we do reference to the above file, what comes next is How to refer the above file., it takes some time to figure out.,

Way1: http://”ClientGlobalContext.js.aspx” << refer like this when you use a web resource with out having folder conventions>>

Way2: http://”../ClientGlobalContext.js.aspx” << refer like this when you use web resource with a folder like structure

For example:Web resource name is referred as “test_/new_HTMLResource.htm”>>

Way 3: http://”../../ClientGlobalContext.js.aspx” << refer like this if the web resource looks like this “ test_/testing1/new_HTMLResource.htm”

I hope this would help and save lot of time of yours when you start working with Web resources

View original post

Step by Step – Configure CRM Plugin and Azure Service Bus in CRM 2015.


Run Microsoft Azure PowerShell

  • Add-AzureAccount


Sign in using your Azure Account.

  • Get-AzureSubscription

  • Select-Azuresubscription <name of the subscription you need>
  • New-Azuresbnamespace <name for the service bus> “North Europe” -CreateACSNamespace $true -NamespaceType Messaging


Open Azure Management Portal

https://manage.windowsazure.com/

Click on the Service Bus à Queues and Create a Queue using Quick Create

 

 

Now open Plugin Registration Tool.

Solution Namespace – Name Space we gave to our Service Bus.

Path – Name of the Queue.

Cick Save & Configure ACS

Management Key è Default Key

 

 

Click Save.

Now register a new Step. (Post Lead Create Asynchronous)

 

Create a new Lead record in CRM.

Check the System Job.

Hope it helps..

Unable to delete default Out of the box Reports from Dynamics CRM 2011


Brian Illand's avatarBrian Illand

If you try to delete the out of the box reports from a Dynamics CRM 2011 system, you will find you will get the error :

“You cannot complete this action for this component because of the configuration of it’s managed properties”.

Now, a lot of people don’t like to have the Sales or Marketing reports there. Maybe you are just using CRM for straightforward case management, or maybe you’ve got all your own custom entities and the users are confused about what is in their sales pipeline report!

One way to get around this (as of CRM 2011 Rollup 12 – Feb 2013), is to flick the isManaged switch in the database for each report. This can be achieved by running the following SQL query against the organisation database :

Once you’ve done this, simply go to the UI and try to delete the reports again.

EDIT 1

If you…

View original post 54 more words

The type or namespace name “ “ does not exist in the namespace “” (are you missing an assembly reference?) Error in Microsoft Fakes Unit Test Project.


Hi,

Was getting the below error while building in the Unit Test Project

The Unit Test project was showing the following assemblies as missing

Tried generating the fakes for them but still the issue didn’t resolve.

Then finally copied the missing assemblies from another development machine to my dev machine’s FakeAssemblies folder.

This fixed the issue.

Hope it helps..

 

 

 

 

“Profiler AppDomain Unloaded” error while using Plugin Registration Tool for debugging CRM 2013 Online Plugin. (Plugin Profiler)


On clicking Start Execution button in Plugin Registration Tool for profiling I was getting the AppDomain Unloaded error.

On opening up the error detail the message was

“Could not load file or assembly Microsoft.Xrm.Sdk, Version=5.0.0.0″

Updating the Plugin Project to use the Version 6 assembly that was part of the SDK, from which I was using Plugin Registration tool fixed the issue.

To understand more check the below links

https://crmbusiness.wordpress.com/2015/03/24/crm-2015-understanding-the-plugin-profiler-and-puzzling-error/

https://social.microsoft.com/Forums/en-US/9709c5b3-a035-4c1a-bdd3-6d8054db31d0/profiler-plugin-type-does-not-exist-in-assembly-error?forum=crmdevelopment

http://blogs.msdn.com/b/devkeydet/archive/2015/02/17/debug-crm-online-plugins.aspx

Hope it helps..