502 questions
143
votes
17
answers
498k
views
The transaction log for the database is full
I have a long running process that holds open a transaction for the full duration.
I have no control over the way this is executed.
Because a transaction is held open for the full duration, when ...
26
votes
8
answers
23k
views
Create annotation to a contact entity in Microsoft Dynamics CRM by API
This question is related to Microsoft Dynamics CRM 2015, that I'm calling through API.
I create contact entity:
POST [organization URI]/api/data/contacts
Content-Type: application/json; charset=utf-...
9
votes
5
answers
7k
views
Call C# Code from Ribbon JScript CRM Online 2011
I need to have some code execute on the click of the ribbon button on an entity that updates some related data from CRM Online 2011. I would prefer not to have to write all of this logic in JScript. ...
13
votes
6
answers
24k
views
401- Unauthorized authentication using REST API Dynamics CRM with Azure AD
I'm trying to access a Dynamics CRM Online REST API with Azure AD oAuth 2 Authentication. In order to do so I followed these steps:
- I've registered a web application and/or web api in Azure
- ...
8
votes
2
answers
955
views
Error within Where statement in LINQ
For some reason in my where it says that "firstname" does not exist in the Opportunity Entity. But it is set for the SystemUser Entity. Any idea why it is getting confused? Thanks!
var ...
10
votes
1
answer
39k
views
how do you add jquery in a html page as a web resource in dynamics crm 2011
having a lot of trouble with this one. I am trying to run a simple
jquery script inside of an html page to just pop up an alert box.
I have uploaded the jquery library and the json library
I have an ...
7
votes
1
answer
3k
views
Equivalent to SQL IN clause
I've got an entity called new_trexmail with a string attribute called new_contextline.
I'm trying to get a list of entities where new_contextlineis in a defined list.
The following code fails with ...
4
votes
1
answer
4k
views
Prevent firing of OnChange function after field is updated on server side
When I register an OnChange function to a field, it gets fired if the field is updated on a plugin on the server side (On Dynamics Crm 2015)
Can this behavior be prevented (In a supported way)?
...
4
votes
1
answer
13k
views
MS Dynamics CRM access through PHP API
I need to authenticate and perform CURD operations in MS Dynamics CRM using PHP API.
I have referred Reference1 Reference2 Reference3 Reference4
and using the below steps:
settings >
...
3
votes
2
answers
5k
views
Case insensitive QueryExpression
Is it possible to build a query with a ConditionExpression which is not case sensitive ?
ConditionExpression condition = new ConditionExpression()
{
AttributeName = "lastname",
Operator = ...
2
votes
1
answer
3k
views
Colorize the CRM grid
How can I colorize the CRM grid on Dynamics CRM 4?
I would like to automatically display the list of an entity with a back color when loading the view.
My goal is to have different colors depending ...
1
vote
1
answer
2k
views
Set the Lookup field to show only Contacts
I have a lookup field which shows a lookup for 4 entities. So, I have added the PreSearch Filter to filter only the contacts when I click on the field.
But, when I click on Look for more Records, I ...
0
votes
4
answers
12k
views
Retrieve rows in crm2011 subgrid with JScript
As an JScript newbie, I have a problem with a subgrid in MS CRM 2011.
I have a form with a subgrid and in OnSave of that form, I want to loop over all the rows in the subgrid.
How can I do this with ...
12
votes
5
answers
35k
views
Retrieve all OptionSet values using OData in Dynamics CRM
I am quite new to Dynamics CRM. I am building an app which should update entity in Dynamics CRM. I can update simple types without any issues. Now the situation is, I have declared some custom Option ...
11
votes
15
answers
41k
views
Error registering plugins and/or workflows. Plug-in assembly does not contain the required types or assembly content cannot be updated
I implemented one custom workflow in in Visual Studio 2010 using CRM 2011 Developer Toolkit. It was working fine with system generated namespace. But, when I changed the namespace of my project, its ...
11
votes
3
answers
17k
views
How to update a CRM 2011 Entity using LINQ in a Plugin?
We are able to create new entities without any issues, but updating an existing entity in a plugin this does not appear to be working. This is for CRM 2011.
var crmContext = new CustomCrmContext(...
9
votes
2
answers
5k
views
CRM 2011 Workflow "Invalid Pointer" error
I have a custom workflow in CRM 2011 which is manually triggered against custom entity records. When a single record is selected for processing, the workflow is always successful. However when ...
7
votes
1
answer
8k
views
Add Dropdown Menu to CRM 2011 ribbon
I 'm new to crm 2011. I've found documentation on how to add a new button to the ribbon. And how to group the buttons. But i need a dropdown menu button in the ribbon. How can i do this? I didn't ...
7
votes
1
answer
6k
views
Are composite joins possible using FetchXml in Microsoft Dynamics CRM 4.0?
I am using FetchXml to query CRM 4.0. We have a special case that will require a composite join between CRM entites. The FetchXml schema indicates that multiple link-entity elements are allowed, and ...
6
votes
3
answers
1k
views
MS WF state machine workflows and MS CRM Dynamics 4.0
MS CRM Dynamics 4.0 incorporates the MS WF engine. The built in designer allows the creation of sequential workflows whos activities have native access to CRM entities.
Is it possible to:
Create a ...
5
votes
1
answer
4k
views
CRM 2011 Workflows: Finding the previous values
I currently have a workflow which is triggered when a certain decimal field is changed.
Is it possible to get the difference between the old and new values via a workflow?
5
votes
4
answers
22k
views
MS CRM - setVisible
I am newbie with CRM and
I was googling for how to hide and show a text field using jScript library in MS CRM (online) and found several options of using the function setVisible.
I tried those ...
5
votes
3
answers
9k
views
Assign new owner to appointment. "There should be only one owner party for an activity"
I need to change the owner of an appointment record when creating a new appointment. I'm using a plugin for the create message and i've found this code to assign a new owner to the appointment:
...
4
votes
3
answers
7k
views
Access MS CRM Web Services From External App/Javascript
Is there any way to call the MS CRM web service from JavaScript from a web page that is NOT a CRM web page (i.e., not in the load or save event in a CRM form, but from a stand alone web page)? A ...
4
votes
1
answer
2k
views
How do you enable logging for CrmServiceClient in the Xrm Tooling toolkit?
I'm having issues trying to log in to a CRM Online organization through the use of the latest version of the Xrm Tooling nuget package using the connection string constructor from a custom powershell ...