Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all 79901 articles
Browse latest View live

Problems with Sandbox Service

$
0
0

I'm having problems with a 2016 onprem and the Sandbox service I hope someone can help with.

To illustrate my problem I have a plugin, that creates a contact, every time an account is updated.

The plugin is registered in sandbox mode, and this is a requirement in the environment as this is a shared hosted platform.

The system consists of 4 servers, all with at least frontend and sandbox services installed.

When updating my account I get random errors saying "he communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.", meaning the CRM Service is faulted.

When looking at the traces I can see that this happens when a sandbox service is trying to access CRM on a different server. If accessing locally, the request works. I believe this is due to a SPN problem, but I have created SPN records for the sandbox user on all server names, both with and without domain name. Also the Sandbox user is in the Priv User group.

I'm missing something here, but have hit a dead-end on where to go, so any suggestion on what to do, or how to continue my debugging would be appreciated.

/Peter


Connection String for Dynamics 365(On-Premise) with IFD authentication

$
0
0

Hi,

I am having dynamics 365 (On-Premise) with IFD authentication. For this i am using the following connection string :

connectionString = $"AuthType=IFD;ServiceUri={ organizationUri }/{ AuthInfo.OrganizationUniqueName };Domain={ AuthInfo.Domain };Username={ AuthInfo.Domain }\\{ AuthInfo.UserName };Password={ AuthInfo.Password };";

I want to confirm is it a correct connection string format?  I also want some clarification regarding this Dynamics 365 on premise like 
1) It support LiveID or not?
2) Format of Connection string for IFD authentication?
3) What else can be use for connection establishment?
4) Why is it happening like i have to perform a cycle of AD,Federation and online federation to get it work?

Thanks

Subgrid not loading properly

$
0
0

I have three subgrids in my form. I show one of them based on some field value. The issue is when i load the form, the selected field value shows the subgrid properly however when i change the value in the field, it shows only + button and associated button and does not show any rows or columns of that subgrid. however when i load the page, this same subgrid shows properly. I thought there is some problem in page load so i tried add form save function so that the grid can autorefresh. but even after that it does not show up. please see below how it looks like

it does not show up anything apart from above image.

CRM 2015 on premises, syntax error: Expected ')'

$
0
0

We are getting following error in our on premises CRM 2015. There is no specific event of it's occurrence.

Any idea what is causing. Error detail is as follows

Microsoft Dynamics CRM Error Report Contents

<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Expected ')'</Message>
<Line>132</Line>
<URL></URL>
<PageURL>/_forms/read/page.aspx?etc=1&id=%7b792D4250-F37E-E511-80BF-000C296A150D%7d&pagemode=iframe&theme=Outlook15White</PageURL>
<Function></Function>
<FunctionRaw></FunctionRaw>
<CallStack>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-US</UserLanguage>
<ScreenResolution>1366x768</ScreenResolution>
<ClientName>Web</ClientName>
<ClienState>Online</ClienState>
<ClientTime>2017-09-26T12:23:42</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>2057</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>2057</UserCulture>
<OrgID>{46369ADE-5403-4C47-B58B-0F642E228C31}</OrgID>
<UserID>{F047055A-4084-E511-80BF-000C296A150D}</UserID>
<CRMVersion>7.0.0.3543</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>

Change View Column Title with Javascript

$
0
0


I need to change a column title on a view. I know I can change the display name on the field, but that leaves the related entity displayed in the column title which is a problem for me.

Old column title: Investment (Parent Account)

New column title: Investment

I'm loading a web resource jscript as follows, but nothing is happening:

function changeColumnText() {
    $(document).ready(function () {
        $("label:contains('Investment (Parent Account)')").text('Investment');
    });
}

What am I missing?

Retrieve Data

$
0
0

Which is the fastest approach for retrieve data? i.e OData query,Fetchxml or any other option

How to call a custom HTML Page from a Custom ribbon Button

$
0
0

Hi All,

Can you please guide me on how i call a custom HTML Page from a Custom ribbon button step by step.

Thanks in advance.

How to create Assignment rules for leads or other entities?

$
0
0

Hi,

I would like to Assign the leads to users automatically based on rules.so how to create the Assignment rules for leads or any other custom entities?Please suggest me.


New Case Option Gone - App for Outlook Web

$
0
0

Was wondering if anyone else is experience this issue.  Recently we are no longer able to create a case in Dynamics 365 from an email using the App for Outlook via the Outlook web client.  The option shows when we use the desktop version of Outlook.

Thanks in advance!

Set Case Title will be set with subject of received mail.

$
0
0

Hi Team

I am using Automatic case creation Rules.

I want to Set Case Title will be set with subject of received mail.

Also i want to set owners ,Account in the Case from the details of  received mail.

Open Create form in the same window

$
0
0

A way to get around when a user click on the"+" on the subgrid and a new form open in the same window. Currently it's opening a quick create form instead of the new form in the same window(not a popup, window either).

Thanks in advance.

ReferenceError: SetOrgType_RO is not defined

$
0
0

I set this script to fire OnLoad in the Form Properties.  When it fires it is throwing the error: ReferenceError: SetOrgType_RO is not defined.

Does anyone see the problem in the Code below?

function SetOrgType_RO(){
    setTimeout(function(){
        var currentUserRoles = Xrm.Page.context.getUserRoles();
        for (var i = 0; i < currentUserRoles.length; i++) {
            var userRoleId = currentUserRoles[i];
            var userRoleName = GetRoleName(userRoleId);
            If (userRoleName == "OrgTypeUpdate") {
                // Xrm.Page.ui.controls.get("new_organizationtype").setDisabled(false);
                alert("Ok, Lannie");
                return true;
            }
        }
        return false;
        
        function GetRoleName(userRoleId) {
            var selectQuery = "RoleSet?$top=1&$filter=RoleId eq guid'" + userRoleId + "'&$select=Name";
            var odataSelect = GetServerUrl() + selectQuery;
            alert(odataSelect);
            var roleName = null;
            $.ajax({
                type: "GET",
                async: false,
                contentType: "application/json; charset=utf-8",
                datatype: "json",
                url: odataSelect,
                beforeSend: function (XMLHttpRequest) { XMLHttpRequest.setRequestHeader("Accept", "application/json"); },
                success: function (data, textStatus, XmlHttpRequest) {
                    var result = data.d;
                    if (!!result) {
                        roleName = result.results[0].Name;
                    }
                },
                error: function (XmlHttpRequest, textStatus, errorThrown) {
                    alert('OData Select Failed: ' + odataSelect);
                }
            });
            return roleName;
        }
    }, 2000);
}

Creating a custom entity that allows multiple items from a list and also is searchable for advanced find and reports

$
0
0

Hey peeps,

I want to use native dynamics.. I have seen some code examples etc...

You have person A that may or may not have attended a list of courses from a preset list 100x lets say.

I want to be able to associate this to one or more of these at the contact level.  so Joe Bloggs has attended MS Word, MS Excel.

This needs to be visible then to advanced find and reports.

Please advise as I don't seem to successfully do this when I experiment.

Using native Dynamics CRM customisation screen.

Dynamics 365

Thanks


R

How to make sub grid read only?

$
0
0

Hi all, 

I have below sub grid on some conditions I have to make it read only:

To make it read only I have to hide this add button and delete functionality. How could this is possible for me?

Thanks 

Regards,

AW

How to create a crm OR portal calendar for insert days worked

$
0
0

Hello everyone,

I've been searching a lot and I don't find a way to do what I wanna do.

Here is my request, I'd like to create a calendar for my company. That calendar would allow employees to insert what day they worked at and what day they didn't. I saw a lot of info concerning schedules, however I don't see how to link that with my problem. 

I would like kind of a calendar with some check boxes, if you click on that check box : data saying that that person worked that day is saved into the crm, data which can be used later. And I only need every day of every month, well a normal calendar where we can tick some boxes or a simple way to mark which days I have worked or not at each end of month. 

That's for doing an activity report by the way.

Thank you very much to those of you who will help me !


get individual queue view in dashboard

$
0
0

Hi, I am looking to put individual queue view in the dashboard, but I didn't find way to create that? please advise

Blank Audit records in Dynamics CRM OL 2016

$
0
0

Issue: Blank Audit records are getting created for every update of Account record (though the fields that we are updating are NOT Audit enabled)

CRM Version: Dynamics CRM OL Version - 8.1.1.1162

More Details:

We have Audit enabled on Account entity and some specific fields of Account. When these Audit enabled fields are updated, Audit is getting tracked correctly as expected.

But if we go and update any non-audit enabled field from CRM, its creating a blank Audit record. When I open this blank Audit record, it shows following message:

"The fields changed by this action are not enabled for audit tracking."

Is this a known issue with this version of CRM ?

Any suggestions or workaround for this issue is greatly appreciated.

Emails with unresolved email can not be saved

$
0
0

Hello,

When i have an email activity and "To" party is an unresolved email, the email activity can not be saved. The "To" field is always dirty. Why?

Display Sharepoint Subgrid on Dynamic 365 and drag and drop

$
0
0

Hi everyone 

I have a requirement to display the document subgrid on a dynamic 365 entity form and enable drag and drop of documents. 

I understand Drag and drop is an overreach at this point but does anyone know how i can display the subgrid on the form? 

I have followed these instructions 

https://community.dynamics.com/crm/b/microsoftdynamicscrmsolutions/archive/2016/08/17/crm-portal-and-sharepoint-integration

and have managed to display the subgrid but there is no easy way to upload the documents. The instructions are regarding Dynamic CRM and require use of the portal. 

Does anyone know how i can accomplish the same in Dynamic 365?

Thank you

How can we re-size the popup window size

$
0
0

How can we re-size the popup window size when click “open in a new window” (I want specific size for each entity type)

Viewing all 79901 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>