We are currently running CRM 2015 On-premises (DB 7.0.2.53). Wondering if it is possible to create a customized error message for people trying to access CRM that do not have access permissions. Right now it displays the generic 404 error. Ex. End user clicks on a DCRM link out on our Intranet page. This link would takes a normal DCRM user from our Intranet page to our Opportunities page in DCRM. If the end user does not have a user set up in DCRM it throws the generic 404 error. We would like to customize this error so that it is more specific to issue and does not look like a system issue. Thanks, KP
↧
Forum Post: Generic 404 message when a user does not have access
↧
Forum Post: RE: Error when trying to enable languages for your organization
Hello, If you're online I'm afraid the only option for you is to get in touch with Microsoft and open support ticket. If you're onprem you can turn on tracing, restart iis and repeat an error, then check logs. support.microsoft.com/.../how-to-enable-tracing-in-microsoft-dynamics-crm
↧
↧
Forum Post: RE: Generic 404 message when a user does not have access
Hello, I don't think there is a supported way of doing that and I don't aware of unsupported approach to make it possible.
↧
Forum Post: RE: Command bar: Help needed with FlyOut Button
Hi, I think this article from the ribbonworkbench site will be helpful: https://ribbonworkbench.uservoice.com/knowledgebase/articles/102797-4-ribbon-element-customisation From the article: A Fly Out Anchor is essentially a drop down menu that can contain Menu Sections and Menu Items. Each Menu Item acts the same as a Button. A Split Button is a cross between a Button and a Fly Out Anchor in that it can be clicked, or a sub-item selected from it's drop down menu. Regarding how to create them, you should use the great tool Ribbon Workbench, which can be downloaded from here: http://www.develop1.net/public/rwb/ribbonworkbench.aspx This tool is also included in the XrmToolBox, which is available here: https://www.xrmtoolbox.com/ Best regards! Nick
↧
Forum Post: Insert Table into Email Template
Hi All, I want to add Tables into EMail Template. I found this https://community.dynamics.com/crm/b/crmpowerobjects/archive/2014/07/25/using-html-to-format-text-in-email-templates-in-dynamics-crm but I am looking for direct inserting tables than inserting template into other email. How can I achieve that?
↧
↧
Forum Post: RE: How do we assign the Customer Lookup value to Another Customer Lookup In Plugin(D365)
In order to assign to the customer you need to actually assign the type. That means that you use either account or contact during the assignment. EntityReference customer = new EntityReference("account", customerId); or EntityReference customer = new EntityReference("contact", customerId); You can retrieve the type it is from the existing customer record by using the EntityType Guid entityId = ((EntityReference)(sourceCustomer.Attributes["ownerid"])).Id; string entitytype = ((EntityReference)(sourceCustomer.Attributes["new_customer"])).LogicalName; EntityReference customer = new EntityReference(entitytype, entityId); Hope this helps.
↧
Forum Post: RE: How to hide add new + button in a sub grid
As mentioned by Khoa, if you completely want to eliminate the button, you need to hide the following three buttons from the subgrid command bar: ADD NEW {0} ADD EXISTING {0} - Appears twice. That's basically it.
↧
Forum Post: RE: Export Solution from CRM version 9 and import in CRM version 8
At this point in time, I am unaware of a way to roll back a solution from v9 to v8. I think the best bet for your customer is either waiting for the upgrade or adding another v8 instance, and create the customizations over there. I know it's a lot of work, but don't really see a solution. If that doesn't work, do as Guillaume suggested and contact MS Support. Possibly they have a solution for it.
↧
Forum Post: RE: Export Solution from CRM version 9 and import in CRM version 8
It's not a bug really - it's a limitation/feature of v9. In v9, solutions are not backward compatible in the sense that you can't export solutions from V9 the earlier version, and it is by design (unfortunately)
↧
↧
Forum Post: Server Error in '/' Application
I've just create a Dynamics CRM trial account and I have this error when I try to connect with Edge : What's happening ?
↧
Forum Post: request has unresolved parameters
Hi, I am trying to invoke an action through javascript, but I keep getting this error message, "Request message has unresolved parameters", actually, I am trying to test a empty without parameter, something wrong with the JS code? function executeAddPayment(){ debugger; var organizationUrl = Xrm.Page.context.getClientUrl(); var id = Xrm.Page.data.entity.getId().replace('{', '').replace('}', ''); var query = "invoices("+id+")/Microsoft.Dynamics.CRM.testpayment"; Alert.show("This will is partial payment", "Please make sure the balance is correct.", [ new Alert.Button("Check", function (){executeUserAction(organizationUrl, query)}, true, true), new Alert.Button("Not now") ], "QUESTION", 500, 200); } function executeUserAction(organizationUrl, query){ debugger; var req = new XMLHttpRequest(); req.open("POST", organizationUrl + "/api/data/v8.0/" + query, true); req.setRequestHeader("Accept", "application/json"); req.setRequestHeader("Content-Type", "application/json; charset=utf-8"); req.setRequestHeader("OData-MaxVersion", "4.0"); req.setRequestHeader("OData-Version", "4.0"); req.onreadystatechange = function () { if (this.readyState == 4) { req.onreadystatechange = null; if (this.status == 200) { var results = JSON.parse(this.response); if (results.Status==true) { Alert.hide(); Xrm.Page.data.refresh(false); } } else { Alert.hide(); Xrm.Page.data.refresh(false); var error = JSON.parse(this.response).error; alert(error.message); } } }; req.send(); }
↧
Forum Post: RE: "Record is Unavailable" when trying to enable language
Thanks, yeah its online and im afraid I will have to do that. Hopefully they will have an solution.
↧
Forum Post: RE: Generic 404 message when a user does not have access
You might try modifying 404 error page on the IIS for CRM web site: Could be something along these lines: www.bruceclay.com/.../microsoft-iis-custom-404-error-page-configuration
↧
↧
Forum Post: RE: How do we assign the Customer Lookup value to Another Customer Lookup In Plugin(D365)
Hi Aric, Can u please specify example how do we get Entity type code for that customer Lookup. Regards, Krishna
↧
Forum Post: MSCRMAsyncservice error
I'm seeing quite a few of the following message in the event log. It looks like it's a user issue, but how do I figure out what user account is causing the issue? Host JobId: 44201f2b-d2fa-e711-a160-001e67026525 OrgId:36306ec9-9232-48c1-ad1f-29ea1a997d3b JobType:10; ErrorMessage:Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The specified user is either disabled or is not a member of any business unit.Detail: -2147220955 The specified user is either disabled or is not a member of any business unit. 2018-01-16T15:30:28.8424596Z at Microsoft.Crm.Workflow.WorkflowContextBase.RetrievePrimaryEntity(EntityDependencyBase entityDependency) at Microsoft.Crm.Workflow.WorkflowContextBase.RetrieveEntityInstances() at Microsoft.Crm.Workflow.ActivityHost.StartWorkflowExecution(Activity workflow, ICommonWorkflowContext context) at Microsoft.Crm.Workflow.ActivityHostBase.StartWorkflow(ICommonWorkflowContext context, Activity preLoadedActivity) ErrorCode:-2147220955 ResultCode:10 Machine CRM-SRV-2K8R2: A Microsoft Dynamics CRM Asynchronous Processing Service operation of type %2 has failed Organization ID: %3 Organization Unique Name: %4 Error code: %5 Error description: %6
↧
Forum Post: Permissions Required to view System Job Duplication Detection
User A selected some contacts then used the detect duplicates option to generate a report. This generated a System Job: Duplicate Detection: Active Contacts report. User A can view the report just fine but when another non-admin user B attempts to view the report, they get a permission error. "Access is Denied You do not have enough privileges to access the Microsoft Dynamics 365 object or perform the requested operation." User A is the owner, so what permission do I need to assign to user B in order to give them access?
↧
Forum Post: RE: request has unresolved parameters
Hi, are you sure you are using correct action name? blogs.microsoft.co.il/.../executing-custom-action-via-javascript
↧
↧
Forum Post: RE: How do we assign the Customer Lookup value to Another Customer Lookup In Plugin(D365)
I thought the above code explained it: Guid customerId = ((EntityReference)(sourceCustomer.Attributes["new_customer"])).Id; // The next line is the entity Type string customerType = ((EntityReference)(sourceCustomer.Attributes["new_customer"])).LogicalName; Hope this helps.
↧
Forum Post: RE: request has unresolved parameters
Looks like testpayment is not the correct name. Shouldn't it be something like new_testpayment? -- EDITED: I see Alex, already replied to it.
↧
Forum Post: RE: request has unresolved parameters
Hello, Can you please provide screenshot of your action?
↧