Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I have data that is loaded into the system from a 3rd party data set, they have a reference number which can be added against more than one line of data.
I need to count the number of times the field is populated with the same data and display it on that rows form display.
I have 3 rows of data the field called Reference shows as 12345a in 2 rows of data and 12345b in the third row.
I need a field to display the total count of all rows that match that fields reference code against each row
so the field on both rows with 12345a will show as "2" and the row with the reference set as 12345b will show "1" in the count field.
I need to do this using a workflow or rollup/calculated field. i cant use a plug in.
Any help much appreciated.
I'm afraid you will have to use either plugins or custom workflow steps to implement your requirement because it doesn't look like to be doable using OOB functionality. I'm sorry.
You might try looking at Power Automate (a/k/a flow). You could trigger the flow on the insert of a record. You could use a List Records action to find all Records with that same Reference#. Then, in the List Records loop, you should be able to update each record with the count. Hope this helps,
President, Visionary Software Consulting
Thanks for the replies, i have been trying to use Custom workflow using Attribute setter in TCS Tools but i cant get the look up field to populate it says i cant do it due to being a string pushing into a lookup?
the error i get is below;
Error setting attribute value for new_fieldnamecount. Error converting attribute value to Property: Attribute [new_fieldnamecount], Attribute type [lookup] of Entity [new_entity] with value of type [System.String]: [System.InvalidCastException: Unable to cast object of type 'System.String' to type 'Microsoft.Xrm.Sdk.EntityReference'. at Microsoft.Crm.BusinessEntities.LookupPropertyConverter.InternalFromEntity(ICrmConversionContext conversionContext, AttributeMetadata attributeMetadata, Object value, String formattedValue) at Microsoft.Crm.BusinessEntities.PropertyConverterBase.<>c__DisplayClass7_0.<FromEntity>b__0() at Microsoft.Crm.BusinessEntities.PropertyConverterBase.InternalConvertFrom[T](Guid orgId, AttributeMetadata attributeMetadata, Object value, Func`1 converterFunction)]
do i need another custom section to convert string to lookup?
As always thanks in advance for replies.
I would recommend to get in touch with tool's author, Alex. I believe he knows his tools better.
Business Applications communities