In the scenario where you want to hide the search box, you need to edit the page template. It could be something like this:
Please
have in mind that this is a customization made directly on the template and it
might break other functionalities.
This blog aims to provide some technical tips about Microsoft Dynamics 365 CRM, SQL Server, .Net, Javascript, Machine Learning,Power Apps, Microsoft Flows and Microsoft Chatbots.
In the scenario where you want to hide the search box, you need to edit the page template. It could be something like this:
Please
have in mind that this is a customization made directly on the template and it
might break other functionalities.
1. If you want to hide Subgrid Create button based on condition you can use the below script.
You have to apply the below script on Basic Forms --> Open your Basic Form --> go to Additional Settings --> add in Custom Javascript.
// Based on Condition Hide Subgrid Create Button
$(document).ready(function(){
// hide create button once sub-grid contains a record
$(".entity-grid").on("loaded", function () {
var tBody = $(this).find("tbody")
if(tBody.length > 0)
{
var Value=$("#its_budgeted").val();
if(Value==2)
{
$(".grid-actions").hide();
}
}
});
});
2. Hiding Lookup values on Portal Forms, use the below script on Basic Form.
You have to apply the below script on Basic Forms --> Open your Basic Form --> go to Additional Settings --> add in Custom Javascript.
//Hide Lookup Values
$(document).ready(function() {
}
);
3. To setup Lookup Value on Portal form, use the below script on Basic Form.
You have to apply the below script on Basic Forms --> Open your Basic Form --> go to Additional Settings --> add in Custom Javascript.
$(document).ready(function () {
//To Set Lookup value use the below code
$("#msdyn_serviceaccount_name").attr("value","Venkat");
$("#msdyn_serviceaccount").attr("value","DAC92DEC-C94A-EC11-8C62-002248811BA2");
$("#msdyn_serviceaccount_entityname").attr("value","account");
//To Retrieve Value use the below line
//var aa=$("#msdyn_serviceaccount").val();
//alert(aa);
});
4. Disable Lookup Selection, use the below script.
Recently we had a requirement to add new field to existing Project Task. So we have created new custom field in CRM but when we are trying to add this custom field in existing Project Task we could not find this field even after Refresh Tables option.
So overcome and resolve this issue, follow the below steps in Dataverse Project Task.
Note: Advanced query and filtering should be enabled.
1. Open the Project -> Project Task.
3. Click on url on the right hand side
4. Add missing custom field schema name and click on Save button.
5. Again click on Schema that you will find above url
6. Add the same schema name with the data type and click on Save7. With this you will be able to add missing custom filed and map in your project tasks.
You can limit access to CRM Online to users with trusted IP addresses to reduce unauthorized access. When trusted IP address restrictions are set in a user’s profile and the user tries to log in from an untrusted IP address, access to CRM Online is blocked.
Requirements
• A subscription to Azure Active Directory Premium.
• A federated or managed Azure Active Directory tenant.
• Federated tenants require that multi-factor authentication (MFA) be enabled.
4. Click the group you
created and add members.
If you are unable to see Service Management from Customer Service Hub.
Please follow the below mitigation steps to restore Service Management from Customer Service Hub.
1) Go to Advanced Settings then customizations
2) Customize the system
3) Click Client Extensions
4) Select Customer Service Hub
5) Click solution layers
6) Remove the active layer ( Active -> 3 dots ->
Remove active customizations )
7) Publish all customization
Please wait for few minutes for the changes to reflect and
‘Service management’ should appear.