dynamics-crm-2015 , Open Silverlight web resource from a button in Navigation

Open Silverlight web resource from a button in Navigation


Tag: dynamics-crm-2015

I need to a add a button to the navigation or ribbon area of the CRM 2015 on-premise. This button should open an existing Silverlight web resource. Is that possible ?


This MSDN article mentions that the URL holds a value of a URL or an HTML web resource, does that mean that Silverlight webresource is not possible ?

Specifies a URL or HTML Web Resource for a page to display in the main frame of the application when this subarea is selected.


You need to create a page to host the Silverlight control, as specified here:

To display a Silverlight web resource outside an entity form or chart, create an HTML web resource to be the host page for the Silverlight web resource. Then use the $webresource: directive to open the HTML web resource.

Once it is created, make sure you reference the page web resource in your site map/ribbon.

There is a good tutorial here on how to set that up.


Deserializing Settings Stored As JSON In CRM Web Resource

I've added some configuration data as JSON in a Web Resource in CRM. When I attempt to deserialize it in a C# plugin I have to first decode the Base 64 string, and then I have to encode the UTF bytes. I've done this before outside of CRM and haven't...

How to deploy a utility DLL that is used by plugins?

I've entered a project that used the architecture where all the utility classes were stored in the same project as the plugin. That's fine as long as there's only a few plugins with different utilities. I noticed, however, that as the number of plugins has grown, many of the individual...

Do I need Windows Server 2012 and VS 2012 or 2013 to write plugins for MS CRM 2015?

I've been asked to take a look at some of our current plugins and alter them for our upgrade to 2015. However, looking at the SDK it says the system requirements (see here) are Windows Server 2012 (and 8, but not relevant for me) and Visual Studio 2012 or 2013....

“An unexpected error ocurred” CRM2015 OnPremise Plugins

For 2 weeks we have been experiencing a small totally random issue with plugins in CRM 2015 OnPremise. When we make an upload, randomly and without much sense (at least according to analyze all code does not) plugins are throwing us the following exception: The Web Service plug-in failed in...

Microsoft Dynamics CRM and application authentication and authorization

does Microsoft Dynamics CRM Online (2015) has some feature for authentication and authorization of external apps that needs to access CRM data records from all CRM entities? External apps are in my case 3rd party Windows Services etc. to perform some sync and automation tasks, and these apps does not...

How does a user enable another language than the default, base one?

I went to settings and attempted to change the language in which my user will view the GUI. However, as the image depicts, there was no other choices than the base language, set by default. If that'd be an on-prem environment, I'd try installing a language pack (and, potentially, take...

CRM 2015 display attachment sub grid in custom entity form

I would like to create a sub grid in one custom entity form using attachment entity. But when I tried to build relationship between attachment and custom entity, I could not find new relationship button in Attachment customization. I know I can use annotation to display the attachment, but I...

Samples in Microsoft CRM 2015 SDK not cooperating

I downloaded the Microsoft Dynamics CRM 2015 SDK. I just want to work through one of the samples that it provides. However, upon opening the sample (which is located in the SDK folder) it says that I am missing a bunch of assembly references for a ton of keywords in...

Should I install UII for developing plugins from Package Manager Console or MS site?

I want to install the UII to connect to and develop plugins in my organization. However, I can't decide between installing it using the package manager console (as discussed in some nice blog) or using the download site from Microsoft. Both feel right......

Authenticate with login.microsoftonline.com through PHP cURL (SSL connect error)

I am trying to extract data from a Micorosft Dynamics CRM 2015 with PHP. From various sources i learned that i had to start with an authentication with login.microsoftonline.com. I am sending an XML request using cURL that results in a SSL connect error. The XML request: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"...

Mapping Appointment Entity for Data Migration in Microsoft Dynamics CRM 2015

I need to migrate data from CRM 2011 to CRM 2015 for different entities. I am using scribe insight for this purpose. I am stuck with the the migration of different entities belonging to Activities like Appointment, Letter, Fax, etc. If its a normal lookup field i would have used...

Get Users Appointment details using javascript onload in CRM 2015

Is there anyway to particular crm users appointment details using javascript ODATA or is there any other way. Thanks Vishnu...

CRM 2015 and Silverlight

I've previously created a Silverlight application for CRM-2011 and there has been samples for Silverlight in the CRM-2011 SDK. However, I installed CRM 2015 SDK and I couldn't find any sample codes for Silverlight, does it no longer support silverlight ? If it still supports it, how can i create...

Filtering instances not related to the current contact

I have a custom entity Stuff and it contains a lookup to Contact. I created a 1:N relation with the latter as primary and the former as related entity. On the Contact's form I added a subgrid and I only wish to list the instances of Stuff that have the...

OnSave event on a custom entity form in CRM 2015 enters in a recursive trigger

I have an event registered onSave on form of a custom entity on a crm 2015 on premise organization, which seems to enter in a recursive call. After i hit save the event keeps call it self, until i kill IE through task manager or the IE crashes with memory...

Is It Beneficial To Call ExecuteMultipleRequest From Within A Plugin?

I know the ExecuteMultipleRequest is a huge performance booster when performing batch updates from outside of CRM. What I don't know is if it is beneficial to call it from within a CRM plugin. My current understanding is that the main performance gain from using the ExecuteMultipleRequest is in the...

CRM 2015 Outlook Plugin error

I am getting the following when trying to install the CRM 2015 plugin for Outlook: I have Outlook 2010 32 bit version installed and I downloaded the 32 bit version of the CRM 2015 Outlook plugin. thanks, Stephen...

Change “Opportunities” button name in navigation pane using Site Map

Is it possible that using the SiteMap to change the name of the Opportunity button that appears in the Sales navigation pane to any custom name instead of "Opportunities" ? Or this is a fixed name based on the name of the entity ? ...

How to refresh page after dialog has completed?

I'm running a dialog (the workflow-ish one, not a custom, modal window) on Customer and during the process, an instance of a related entity Project is created. All the related instances of Project are displayed in a subgrid on the Contact form. The problem is that the most recently added...

Install CRM 2015 SDK on Visual Studio 2013

I know that this is not an appropriate question for here. But I've looked everywhere, and cannot find an appropriate solution. What im trying to do is install CRM 2015 SDK on to Visual Studio 2013, to develop plugins, web resources etc.. I know its a stupid question , but...

new to CRM, how to get CRM environment for learning and work around

I m a .net developer and new to CRM. Unfortunately at my work we don't have CRM. I m intrested in learning CRM but not sure how I can get CRM environment for practice and learning. Please guide should I go for CRM 2015 ? Should it be installed on...

How to connect to CRM 2015 on-premise from a Siverlight App without depending on the Context?

I'm creating a Silverlight application that should retrieve data from the CRM. I tried the tutorial here but I failed to debug my application in Visual Studio due to the invalidity of the Context when GetServerBaseUrl is called Uri serviceUrl = CombineUrl(GetServerBaseUrl(), "/XRMServices/2011/Organization.svc/web"); I understand that I can connect to...

How To Remove Display Rule From a Ribbon Command in CRM Online?

I have a command for a button defined as follows: <CommandDefinition Id="new.lead.CreditCheck.Command"> <EnableRules> <EnableRule Id="new.lead.CreditCheck.EnableRule" /> </EnableRules> <DisplayRules> <DisplayRule Id="new.lead.CreditCheck.DisplayRule" /> </DisplayRules> <Actions> <JavaScriptFunction FunctionName="new.LeadDynamic.creditCheck" Library="$webresource:new_Lead_dyn.js" /> </Actions> </CommandDefinition> If I go and remove the Display Rule from the command,...

Configuring a picklist in CRM Online 2015

We currently have a CRM Dyanmics 4.0 system and as part of our Account Entity we have a field new_accountstatus with the following set up: Schema Display Name: Account Status Name: new_accountstatus Requirement Level: No Constraint Searchable: Yes Description: "V1.0" Type Type: Picklist Overdiew 2. Active 3. Suspended 4.De-Energise 5.Terminated...

WHat are “neglected cases” in a new organization?

I've created a new organization on CRM 2015 and everything went dandy. Then, I attempted to create an additional one on the server and got the error listed below. What on Earth are "neglected cases" in a new organization? 16:10:44| Error| System.Exception: Publishing CRM reports failed. ---> Microsoft.Crm.CrmException: Could not...

Facebook Graph API(Version 2.3) publish event on a page from CRM plugin/wflow using C#/JS

In FB Graph API version 1 we had written a plugin and some js which used to push details of our campaign record in CRM to a predefined FB page as an event. Now in Version 2.3 the publishing endpoint is missing from the GRAPH api.(events) My questions are 1)...

Open Silverlight web resource from a button in Navigation

I need to a add a button to the navigation or ribbon area of the CRM 2015 on-premise. This button should open an existing Silverlight web resource. Is that possible ? EDIT: This MSDN article mentions that the URL holds a value of a URL or an HTML web resource,...

htm file doesn't loaded with query string

I'm trying to get a query string from htm file. But when I'm writing a "?param=1" in the end of the .htm url - the file not loaded and I don't see anything in this page - The error I get is: "Incorrect document syntax". When I'm opened this url...

How do I create a supplier in Microsoft Dynamics CRM 2015?

Microsoft CRM 2015.. a great little customer management system, but why did do they leave suppliers out? Anyway how do I create and manage suppliers using Dynamics CRM? or do you need different software for that? Cheers,...

Workflow to send an email to the users within the record is shared

I am using Microsoft Dynamics CRM 2015 on-premise version. I created a custom entity(News). The use of this entity: the system administrator can share records(News) with selected System users. My question: How to send Email Notification (to selected users) on Record Sharing?...