Skip to main content

Posts

Dynamics 365 UCI Upgrade - Where is my Portal Navigation section?

This could be a question for most of the people working on Dynamics Portals, but after a few days, this post might be irrelevant as everyone will be aware of this. Where do we manage Portal related development? Before UCI Upgrade: After UCI Upgrade: As everything is an APP now after UCI upgrade, navigate to the Apps section of your dynamics instance. Example URL:  https:// <your crm instance> .crmxx.dynamics.com/ apps Search for: Portal Once you launch the 'Portal Management' UCI App, you can see all the portal entities in the main left navigation. Hope this helps someone :)

Resolved: Dynamics Portal Caching Issue

Problem Statement: HTML or JavaScript changes made on to the portal were not reflecting on the portal until we made force restart of portal every time. This was very annoying for myself and other team members. Resolution: During our analysis, we found the following ways, which all are probable solutions considering different scenarios. Clear cache from Client browser: For this, the user logged into portal should have a Web Role of 'Administrator' to clear the Portal Cache. Below are the steps to Clear Cache a. Go to your portal and append this to your portal URL '/_services/about' in browser URL. b. Click Clear Cache button and check Enable 'Change Tracking' on the related Entity in Dynamics CRM. a. For this Navigate to CRM > Settings > Solutions > Your Solution > CRM entity associated with the caching issue. b. Enable the 'Change Tracking' checkbox as can be seen below If the above two options did not work then try this: Resta...

Dynamics CRM Portal | Switch Portal Instance between Multiple CRM Instances

This post explains how do we change/map existing portal instance with one instance to another CRM Instance. i.e. Once you portal instance is provisioned how to map it to another CRM Instance. When do we consider this scenario:  When you are under tight budget and couldn't purchase more portal instances then we can map the available Portal instance to the required CRM instance and validate the portal functionality on new instance. We do not have any Sandbox portal available, all Portal Add-On's are of same price and it depends on which CRM instance we map it. Thing to Note: To manage CRM Portal instance, you need to be a global admin/owner of the Portal in Azure settings. Scenario: I have one Portal instance "Portal Instance - 01" which i need to switch from 'My CRM Instance - 01' to 'My CRM Instance - 02' Process to switch portal instance: 1. Go to Dynamics 365 Administration Center 2. Select Application Tab 3. Select the name of your p...

Resolved: XRMToolbox - Metadata contains a reference that cannot be resolved: 'https://disco.crm11.dynamics.com/XRMServices/2011/Discovery.svc?wsdl&sdkversion=9'

I had a fresh installation of Windows 10 OS on my machine and downloaded the latest version of XRM Toolbox. I had got the below error when I tried to connect to the CRM Organization. Error : Metadata contains a reference that cannot be resolved: 'https://disco.crm11.dynamics.com/XRMServices/2011/Discovery.svc?wsdl&sdkversion=9'. Stack Trace : at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)    at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)    at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)    at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)    at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary) Solution: It turned ou...

How To: Dynamics CRM - Get View GUID based on View Name

This is a quick short article; I was searching for the same and couldn't find a straight forward way and few have suggested using JavaScript. Below is the simple way: 1. Go To Settings > Customizations > Developer Resources 2. Copy the 'Instance Web API - Service Root Url' 3. Append '/savedqueries' to the above URL and open that in browser. 4. Search for your View name in the API result set for above url. 5. Check the 'savedqueryid' for the object in which your view name is present. Example Web API Url: https:// instancename .api. crm8 .dynamics.com/api/data/v9.1/ savedqueries Output Screen: Highlighted in above image is View Name and its corresponding View GUID. Hope it helps!

How To: Set Lookup value using Javascript in Dynamics CRM Portal

If you work on CRM portals and mostly into writing JavaScript code then this is for you!! Two kinds of people land on this blog post To have a quick solution - For you, I will provide the solution first :) To learn something new - For you, ill explain the solution in detail later Quick Solution As you want to set the lookup value, keep below values of the lookup handy (in variables) in JavaScript code      1. GUID: Guid value of the Target Entity      2. Name: Name field of the Target Entity to display as the selected lookup value.      3. EntityName: Enity Name of the Target Entity. Use the above three values as shown below! Done your look up should be set after execution of below JavaScript code. Understanding the Solution CRM lookup features:      1. Can hold any type of entity      2. Always displays the value of 'Name' field (Which is required and mandatory for all the entitie...

[Resolved] : Record Is Unavailable - The requested record was not found or you do not have sufficient permissions to view it

Our CRM Sandbox portal had some obselete code and required an reset on instance to bring back to life... Once the reset is complete on the instance, on accessing the crm instance url i was presented with below error message: Record Is Unavailable - The requested record was not found or you do not have sufficient permissions to view it I am the Global Admin on the Instance and this error message was quite weird.. tried logging off and back in.. removing the license and adding it back.. none of them worked.. Solution: At last landed on a Dynamics CRM Community post which says to ' Clear Browser Cache, Close and Open the browser '.. That did work.. I was beating around the bush for more than 20mins at last landed up at this solution... hope this helps some one..