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
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
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 noted that there are some data parameters that are not getting updated in Data parameters tab ($Context, $Entity etc) in debugger because of which my condition is failing every time. The fields are new custom fields that I created? I was thinking all the fields would be copied to data parameter. These two new fields not only appear in $context but also does not appear in $customentity. The entity is ofcourse open in the session and I can see the entity $entity in data parameter with other fields but not these two new fields
What I have also noted is that when these fields are updated atleast once then they appear in data parameters? Any Ideas or help here please
Have you tried to refresh the data parameters after the entity has been loaded?
Yes, Many times but the fields do not appear on the data parameters.
Also, I noticed that for records where the value is present in these new fields they become visible. For existing data where there are no values for these fields the fields dont appear in data parameters.
Looks like after adding the new fields, if the data has not been modified or updated in the new fields they dont appear in Data parameters.
Okay if there are no values in your custom fields than they will not appear until you put values on those field. In data parameters only fields that has some values associated to them appears.
The fields are Checkbox and hence if they are blank that means they are Set to false and we trigger actions when it is set to false. This condition fails. How do we handle this issues then? Thanks very much for response
So you mean to say only when the field is checked that is when the data parameter value appears as true. In case of false it never appears?
Yes, so only when there is a True to the value, we open the record and mark it as yes. By default we have set it to be no. So that means we dont have to modify any values assuming it will be no all the time. Records like this never get picked up in data parametes as I assume the system things they are blank values but they are not blanks but they are Checkbox=false
Well in that case what you can do is check for the data parameter key if it exists or not.
For that you need to put a + sign in between the closing tags of replacement parameter like this,
if it returns null which means that this key does not exist than it means it is returning false and if it returns true then it means checkbox is selected.
Hope it helps
Thanks Faran, that did the trick. I just added an or condition to check if it is either false or null and it works for both the case
"[[$Context.MyCheckBoxValue]+]" || "[[$Context.MyCheckBoxValue]+]"=="false"
So that plus sign is for checking if the value is present in data parameter or not... Any references where I can understand all the values in between the two Square bracets? There are "g"s and "+" in that too for some of them!!
I am glad it helped.
Following document will give you complete details about replacements keys,
Business Applications communities