Skip to main content

Posts

Showing posts from 2018

Fix : Azure website - "HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory"

Today, I faced this error on browsing website after web app deployment on Azure and sometimes later, found a fix which has resolved it. We need to enable Directory Browsing on a directory in Microsoft Azure website. To do this, set <diectoryBrowse enabled="true" /> in your web.config. Sample: <configuration> <system.webserver> <directorybrowse enabled="true" showflags="Date,Time,Extension,Size" /> </system.webserver> </configuration> thanks, p.

Update entity image of entity in Dynamics CRM using javascript

Hi All, Recently, I came across a requirement where I wanted user to change entity image from html file up-loader. Below is the piece of code used to update entity image.  Uploader.prototype.PostRequest = function (content) { var configurationId = parent.Xrm.Page.data.entity.getId(); var tabConfiguration = { EntityImage: '' }; tabConfiguration.EntityImage = content; //byte[] content of the web resource var jsonContact = JSON.stringify(tabConfiguration); //OData URI var oDataURI = parent.Xrm.Page.context.getClientUrl() + "/XRMServices/2011/OrganizationData.svc/" + "hsl_tabconfigurationSet(guid'" + configurationId + "')"; var req = new XMLHttpRequest(); req.open("POST", encodeURI(oDataURI), false); req.setRequestHeader("Accept", "application/json"); req....

Opening existing contact opens new contact form instead of contact details in Dynamics 365

Hi All, Dynamics 365 July Update (v9) has an issue with "All Contacts" view where opening existing contact opens new contact form. To resolve this, we need to do a little trick. 1. Go to Settings > Customization > Customize the System > Entities > Contacts >  Views > open All Contacts view. 2. Add Columns > select any column > click on Ok. 3. Select this newly added column in view and click on ‘Remove’ button. 4. Click on Save and close & publish all customization.