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

fetch xml with null values in attribute

$
0
0

Hello, 

This must be a novice question. I am trying to query the table with attributes 

<fetch>
<entity name ="table">


<attribute name="attribute1" />
<attribute name="attribute2" />

</entity>
</fetch>

The problem is I am not able to get data of Attribute1 , when I query the table, out of 30 rows , 2 rows has values in it, still it think it's a null attribute does not show me the attribute.

Pls help me reconstruct the fetch xml to bring in the attribute even if it is null in some rows ,and when it has values in some rows. I need the output of the attribute when I run the fetch xml.


Is there a way to determine what email messages are tracked in the CRM?

$
0
0

Hi,

I currently administer a CRM (cloud) that is over the capacity that is allocated and am trying to determine how to clean up the database. I found that the CRM may be tracking emails of our company's employees. I want to determine the employees whose emails are being tracked. This is set in the settings --> Personalized Settings --> Email tab:

I want to generate a list of all the employees that have the "Select the email messages to track in Microsoft Dynamics 365" drop-down not set to "No email messages". (e.g. I eventually want to check which employees should have this set to "No email messages", but currently don't. I was wondering if it's possible to generate this list?

Sincerely,

Jason

Cannot share email record

$
0
0

Whenever I hit the Share button in the email record there is nothing happening. Is this normal? because I could not find a msft documentation to back this. I have tried using the same functionality on other Activities such as Phone Call and Appointment and they seem to work normally. I have given Org level permission to Activities security role. Thanks


Attribute 'ordernumber' cannot be null

$
0
0

After upgrading CRM from 2016 to 365 on premise, I now get the error "Attribute 'ordernumber' cannot be null" (on the last line) when creating an order using the following code.

public static Entity PersistOrder(IOrganizationService service, Entity order, List<Entity> orderProducts, List<Entity> orderProductsNotInvoice)
{
Relationship orderRelashionship = new Relationship("order_details");
EntityCollection orderProductsCollection = new EntityCollection(orderProducts);
order.RelatedEntities.Add(orderRelashionship, orderProductsCollection);

ExecuteTransactionRequest request = new ExecuteTransactionRequest()
{
Requests = new OrganizationRequestCollection()
};
CreateRequest createRequest = new CreateRequest() { Target = order };
request.Requests.Add(createRequest);
var response = (ExecuteTransactionResponse)service.Execute(request);

Auto numbering is working fine when an order is created in CRM itself. As a test I created an OrganizationServiceProxy using hard coded credentials and it also successfully created the order. Even if I use service.Create(order) I still get the error. Any ideas why auto numbering no longer works with IOrganizationService after the upgrade?

CRMAsyncService Crashing D365 9.1 Update 3

$
0
0

Hey Guys. 

We recently patched our D365 On-Prem install to 9.1 Update 3. Problem is, the Asynchronous service keeps crashing on startup. Looking for a Specific assembly/dll called Castle.Core 

It seems the Autofac dll’s are looking for CastleCore version 3.2.0.0. However CastleCore is on 3.3.3.58 for quite some time. 

>Exception while executing async service: MSCRMAsyncService - System.IO.FileLoadException: Could not load file or assembly 'Castle.Core, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

>File name: 'Castle.Core, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'

I want to share my cases with only one team in dynamics CRM

$
0
0

I want to share my cases with only one team in dynamics CRM ,I am using msdworkflow tool(10.61.1) (Share with team) option but I guess this isn't working.

stuck from a long time.

Getting tenant URL after getting access token for multi tenant application

$
0
0

I am trying to make an API call to the authorized user tenant instance but I am unable to get the tenant URL from the access token returned after calling the common token endpoint. 

login.microsoftonline.com/.../token

Is there a suggested way to get the tenant URL?

Can we able to Create an SSRS with dropdowns and search box in it

$
0
0

Our client is asking for a dropdown in SSRS report with a dropdown and serch box field in it . Is it possible to do so?


SSRS report with a Dropdown and a search box field in it?

$
0
0

Our client is asking for a SSRS report with a dropdown and search box field in it . Is it possible to do so?

Getting following error when trying to install Dynamics CRM on pc.

$
0
0

On the last step of installation of dynamics 365 CRM. I am getting this error.
cant find any valid Solution yet.

Anyone?

I want to export CRM entity data to azure blob

$
0
0

Hello All,

I want to export CRM entity data to azure blob as a csv file. what is the best way to do that?

Insert null value in DateTime field through an action

$
0
0

I try to insert an empty value for a DateTime field. This field is optional in my action. 

I call this action from a Logic App, through the HTTP Post step. In my body I have valid Json including the field: (this is a part of the complete message)

{

"enddate":""

}

With all kinds of alternatives I tried, but every time I get tis error:

DateTime is less than minumum value supported by CrmDateTime. Actual value: 01/01/0001 00:00:00, Minimum value supported: 01/01/1753 00:00:00"
In my Action this is the error message: (which is actually the same error)
Sync workflow failed with error message - Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: DateTime is less than minumum value supported by CrmDateTime. Actual value: 01/01/0001 00:00:00, Minimum value supported: 01/01/1753 00:00:00

Dataverse: when a row is selected, How to use input data for excel?

$
0
0

Hi all,

I'm trigger a flow in Dynamics field service with a button

When I clicking, It let me upload a excel file:

Can I use the data inside the excel file for my flow??

For example I want to send the excel data to a email, the flow would see like this

Its posible to do what I want?

Thanks in advance.

Background workflow trigger change - field population upon creation now considered field change?

$
0
0

We have at least two workflows that changed trigger behavior yesterday.  They have been in place for years without any changes to the triggers.  Both are set to trigger upon record creation and field change.  Starting yesterday, they have been running twice when the triggering field is populated upon creation.  Previously, if a field was populated upon record creation, it didn't register as a field change for workflow trigger purposes.

For each instance where this is happening, one process session/job shows the start reason as "Record was created," while the other shows "Record field changed."  Meanwhile, the audit history shows only a single event - create - that includes the value populated for the field.  So I'm fairly certain there has been a change in workflow trigger behavior, where field change upon creation is now considered a field change for workflow trigger purposes.

I'm wondering if anyone else has noticed this, and if it is an intentional change by Microsoft that will remain in place.  If so, I can remove the creation triggers on my workflows to avoid duplicate runs, but I'm reluctant to do so if the behavior may change again.

Team Memberships in Dataverse/CDS

$
0
0

Hello all,

My company has been undergoing a large digital transformation, like everyone else, and there has been a subject that I been trying to search for but I haven't seen any information about.

Its how CDS/Dataverse handles Team Memberships. We would like to set up some flows/ Dataflows to automate  team memberships on teams that we have set up in a fairly hierarchal fashion. In on prem environments Its set up as its own Sql Database table  as a many to many relationship to Teams and System Users.   

I'm hoping that something exist in CDS/Dataverse that we can use to trigger the flow and in turn update the team memberships. Does anyone know what I can use to do this or can help me understand how D365 online handles Team memberships if it is different as to how its handled in On Prem environments?


Can I create child-parent (N:1) business rules?

$
0
0

Hi, I'm going to explain this as best I can because I'm relatively new to this! I don't think what I want to do is possible (not without coding anyway), but I just wanted to double check.

On our CRM, we have a custom entity called Project Support Package (PSP), and the Account entity has a 1:N relationship with it (so multiple PSPs can be hooked up to one Account). We are wanting to prevent our colleagues from accidentally creating other PSPs related to an account, for example, that we have had issues with in the past (aka they have unpaid debt). The method we have come up with so far is this:

We have an option set field on PSP called 'PSP Status'. I've added an option named 'Speak to management before contacting'. However, our issue is that our colleagues won't necessarily be looking at each PSP attached to a problem account before creating a new one, so this could be missed. 

The idea I came up with was to create a business rule or workflow where some red text would appear at the top of the Account form when any of its PSPs had the 'Speak to management before contacting' status. However, I'm not sure I'm able to do this as in the past it's only let me create workflows with 1:N entity relationships, not the other way around. It's not a specific PSP that needs to have that status set to trigger the text to appear, it's if any at all have that status. So I'm not sure if that makes it possible at all?

If there's any workaround that anyone knows I'd be very grateful. Please let me know if you need any more information, as I say I've explained it as best I can but it's very possible I've missed out crucial info!

Thanks, Robyn

How to configure Network Load Balanced (NLB) in Dynamics 365 CE V90

$
0
0

Hi there,

I am going to configure load balance for Dynamics CRM customer engagement V9.0/9.1.

My plan is to set two frontend servers, two backend servsers for load balance.

We also have two SQL servers for failover.

In Version 8.2, I can find document from the link like this,

https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/deployment-administrators-guide/hh699803(v=crm.8)

https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/deployment-administrators-guide/jj822357(v=crm.8)

But from v9.0/v9.1 I cannot find similiar documents.

Does Dynamics CRM customer engagement V9.0/9.1 still support above configuration as V8.2?

Where is the document for V9.0/9.1?

We appreciate very much for your help.

Frank

How to Manage opportunities and skewed reporting

$
0
0

Our Sales Managers are entering Multiple projects under one opportunity and it is skewing volume results. Our reporting pulls from the Opportunity level and not sample/cost level. 

If multiple items that could go live are put under the same Opp it will not capture the volume of the other Items at the sample/cost level. For example we have an opportunity for a Bulk products with 30,000lbs attached to it, but under the sample requests under that opportunity they put PC items so reporting will be wrong if multiple items go live. Essentially there are too many sample request series under one opportunity and it's done to avoid the sample request nightmare. help! I don't know how to fix this.

CRM Sales HUB- Can you create a follow up date in the CRM?

$
0
0

I've been using Dynamics 365 CRM Sales Hub for well over a year, and I'm wondering if you can create a follow-up notification for a contact.  In other words, when I meet with a contact/prospect/client I'd like to set a reminder in the CRM to follow up.  Right now, I'm setting the follow-up reminder in my outlook calendar.  

Open outlook from activity (email ) of crm

$
0
0

Hello, please help.

I need to know how can I open an activity form(email) in Outlook from Crm dynamics 365??

thanks

Viewing all 46379 articles
Browse latest View live


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