Why can't I add a webresource to form in Dynamics CRM? - dynamics-crm

I am working with an on-premise instance of Dynamics CRM 2015. I have added web resources by creating them through the "Customize the System" window as well as by uploading them.
When I go to a form or dashboard to add these, it never works. I click Web Resource, find the web resource, fill out the form and submit and it just goes back to the Form edit screen and nothing happens!
No error is being shown or anything and it is driving me nuts! What am I doing wrong?

What browser do you use? Try to use IE because FF and Chrome have issues exactly with customization of forms.

I agree on using Internet Explorer. Or use debug tools marking the update always from server box, as it is a cache problem.

Related

CRM Dynamics Quick Create Form Label

I'm working with Quick Create Forms in Microsoft Dynamics CRM. Everything is working as expected. We have a sub-grid of one entity visible in it's related entity. When the User clicks on the + sign of that sub-grid, the Quick Create From appears exactly as it should.
The issue at hand though, is the physical form label of the Quick Create Form. For some reason the system keeps insisting on adding the words Quick Create: on the top of the form before the name of the entity (see image below).
Does anyone know how to prevent this from happening? This is a on-premise Dynamics CRM 365 environment.
Unfortunately this is not customizable.
Maybe you can do some unsupported customizations like overwriting DOM objects, etc. But it’s not recommended.
It appears to have something to do with a CRM Patch that we had installed to fix a Chrome CSS issue. That seems to have added something outside of our control. I'm not a fan of hacks/unsupported fixes, so I think we may have to talk to Microsoft about this one directly.

Remove Application Ribbon from new SubArea in Microsoft Dynamics CRM 2015

I want to remove the ribbon that automatically creates when a new SubArea is created with XrmToolBox's SiteMap Editor.
See screendump
here.
Do anyone know how to do this?
I solved the problem by using the Application Ribbon. There is some icons that you can hide/unhide at the top of the screen. I think those buttons you automatically get when you create a new SubArea is only shown in the application ribbon, and not in the entities.
Atleast they dissapeared in my solution, by just hiding those buttons in the "home" workspace inside the application ribbon.
There is also some code you can try, but i dont know where :)
Code:
Mscrm.BasicHomeTab.New.NewActivity.Hide
I think its the same code for all buttons, just different names of course.The code above is for the NewActivity button.
I believe that's out-of-box behavior and you can't do anything with it. One thing you can try - open a feature request at Connect portal.

Cannot add ServiceActivity to CRM Dynamics solution

I'm trying to customise the Service Activity entity which appears on the Service Calendar in Dynamics CRM 2013.
When I open a Solution and click Add Existing, I can see the entity in the list, but when I click Ok I receive a generic error message "An error has occurred.."
There is no JS appearing in the browser console, nothing in the System Log, and nothing in the CRM log. I've tried this on two separate CRM instances.
I'm beginning to think the entity falls into the "you cannot customise this prebuilt MS entity" category, but I cannot find any MS documentation to support this view.
Has anyone been able to customise the entity? And is there any other log location I should be checking?
I would bet you are using Chrome or Firefox and not Internet Explorer. Will you give it a try in IE?
As a rule of thumb, I only do customizations in IE... unless they don't work in IE, and then I resort to Chrome :)

Navigate to an external URL from CRM 2015 form

Do we have a supported way to navigate to an external URL (Payment Gateway, another application) from CRM 2015 form in the same tab/window? We would also need the script to be compatible with all the browsers and devices. I have also tried my luck using window.location.redirect, window.location.replace, window.location.href, showModalDialog, so on. The redirect URL is always appended with my CRM organization's URL.These are anyway unsupported in CRM 2015 as per MSDN. Any help would be much appreciated.
You can use the built in form customization to add a navigation link. Simply go into the CRM Form customization, click on "Navigation" on the ribbon, and then click on the Insert tab of the Ribbon and Click on Navigation Link. You can then edit the Navigation Link Properties and give it a name, change the icon if you wish, and specify the External URL you wish to navigate to. Then save and publish the customizations. If you wish to use something from the current record to dynamically build a URL to put in this Navigation Link, the solution given on this page should still work in CRM 2015 even though it was originally written for CRM 2011 - http://www.crmanswers.net/2013/03/dynamic-navigation-links-using.html .
It seems like opening an external page in the same tab/window is not supported by CRM 2015. I had to use window.open to open the page in a seperate tab/window and is supported by all the browsers.

Winform usercontrol in WebForm

I want to display a "folderview" which I can drag and drop files into but via WebForm. I am doing this via a webbrowser control pointing at local drive. The code works in a win form user control but what I want is to embed this control in web form. This is an intranet so security etc is less of an issue. However when I add things like AllowDrop or the webbrowser control to my control it stops working - I get the image placeholder which I take to mean an error. Can anyone give me an idea what is wrong or perhaps suggest a different solution.
Hi I figured it out when you deploy a new version of your user control you need to clear the GAC download cache - gacutil /clc but I think versioning your dll may work. I don't think web browser control work at all but I may be wrong. I've managed to drag and drop msg files with Outlook Automation see http://bytes.com/groups/net-vb/527320-drag-drop-outlook-vb-net-richtextbox

Resources