{New Feature}Embedding Views in Forms without command and navigation bar (CRM 2013 SP1 and above)

When I was doing a CRM upgrade for one of my earlier projects (CRM 2013 Rollup 1), there was a requirement of showing unrelated records (no relationship entities) on VIEW on a form. We tried lot of approaches and ended up making custom web resources. IN SP1 for 2013, Microsoft product team has added a little wonder as a result of which now it is possible to achieve it (I also need to mention about my bond friend who actually asked for it and I came across this, Thanks bond Friend,anonymity is guaranteed to 007!)

So here is the screen for my form:


What needs to be done here is below:

Step 1: Make an html web resource, see code below:


<title>Live Feed</title>

<style type=””text/css””>

html, body {

border: none;

margin: 0;

overflow-y: hidden;

overflow-x: hidden;



<meta charset=””utf-8″”>


<body style=”word-wrap: break-word;”>

//Iframe here



Note: Notice URL of the view here:

“&cmdbar=false&navbar=off” in the end

Reference from MSDN:


This capability was introduced with the CRM Online Spring ’14 and CRM 2013 Service Pack 1 releases.

Controls whether the navigation bar is displayed and whether application navigation is available

using the areas and subareas defined in the sitemap.

· on
The navigation bar is displayed. This is the default behavior if the navbar parameter is

not used.

· off
The navigation bar is not displayed. People can navigate using other user interface

elements or the back and forward buttons.

· entity
On an entity form, only the navigation options for related entities are available.

After navigating to a related entity, a back button is displayed in the navigation

bar to allow returning to the original record.


This capability was introduced with the CRM Online Spring ’14 and CRM 2013 Service Pack 1


Controls whether the command bar is displayed.

· true
The command bar is displayed. This is the default.

· false
The command bar is hidden.

Step 2: Add this web resource to your form and you are done!

Ask your Query : Click here

Hope it helps!


{Error resolution} ISV code aborted the operation for Dynamics CRM

Out of the blue, we started getting following error on trace of one of the web service we have which consumes organisation service in turn(We were using Auto number solution available on codeplex):

The Web Service plug-in failed in OrganizationId: 07807e38-0593-e311-b686-0050568572e3; SdkMessageProcessingStepId: 14eb4ee7-c99d-e111-b463-1cc1de6e2b2d; EntityName: cal_pform; Stage: 20; MessageName: Create; AssemblyName: Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber, Xbitz.Crm.AdvancedCRMAutoNumber, Version=, Culture=neutral, PublicKeyToken=b0dbcd530d1b2c81; ClassName: Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber; Exception: Unhandled Exception: System.ArgumentNullException: Value cannot be null.

Parameter name: pattern

at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache)

at System.Text.RegularExpressions.Regex.Matches(String input, String pattern, RegexOptions options, TimeSpan matchTimeout)

at ᡕ龁俄凢▥ᾑ﫡ӿ.굜ﱘ厭鴌ꌃ縛ᴉ㹃(AutoNumberSetting ᶛ핁븪쇂Ê건攇䐔, Entity ꣤᩸ၕ䧝隄旮୏, Int64 賑彏蹒準峳刉)

at Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber.Execute(IServiceProvider serviceProvider)

at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)

at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)


On going through inner exception we found it was:



ISV code aborted the operation.


Resolution: We just downloaded the managed solution again and re-installed it(Remember to mark Overwrite customizations option):


Ask your Query : Click here

Hope it helps!