Hi,
I have to limit the activity option to Appointment, Email, Phone Call, and Task only when the user clicks "New Activity" from the Activity tab. How i can remove the rest of the options.
(The requirement is the ability to add an activity to an organization profile.)
Thank you,
siva
Hi SivaR , Thanks for your response. Yes we do have enabled the activity feature as mentioned in the post.
But still we want to hide or disable one of custom activity entity from activity drop-down in sales module .
I tried by removing that custom activity entity from the model driven app and this activity is not started appearing in the drop-down, however it's being added by automatically and start appearing in the drop-down.
Could you please help is there any other way to hide like using workbench ribbon tools.
Thanks in advance
Please refer this link for the solution
Hi SivaR did you find the solution for this problem, i am exactly facing the problem. Could please post the solution here
i thought the button called New Activity and Add Existing Activity came from New {0} and Add Existing {0} buttons (refer to image 1). The 0 will be replaced with the entity name.
I tried to add the same javascript code to "Add New {0}" button. However, i am getting an error as "Empty 'OrGroup'. Add at least 1 Rule" (refer to the image 2). Not sure why. I want to fix it without breaking any existing functionality.
image 1
image 2
Hi SivaR,
Have you tried to use 'Add New{0}' in ribbon workbench?
Thank you for the response.
i tried to use Javascript on the "New Activity " button to hide the fax option. I also tried to use javascript with an alert message on the "Add Existing Activity" button (refer to images 1 and 2). When I click "Add Existing Activity" on the same page (image 2), I got an alert. However, when I click the "New Activity" button (image 2), no alert message pops up. Not sure why clicking the "New Activity" drop-down is not triggering the javascript. At least if the javascript is triggered, I can try to hide the Fax option from the dropdown list.
image 1
image 2
Hi,
I am using in Account form (Organization) to use Activity-related subgrid. If I need to hide the fax from the "New Activity" dropdown list (refer to the above image) using Ribbon Workbench using Javascript (button Action), do i apply it on the Account entity or activityPointer? Can you provide me an example of how i can hide it using Ribbon workbench?
i tried on the "New Activity" button on the Account entity to call a Javascript function to disable the fax option from the Activity dropdown list, not sure why it is not triggering the javascript. How i can remove the fax from the activity list?
here are the screenshot and javascript.
function onClickActivityTypeChange(executionObj) {
alert("test ====");
}
Thank you,
Siva
Thank you for the reply.
our client wants to keep the ACTIVITY tab. I am not sure why Microsoft didn't give an option to uncheck the checkbox for "display in Activity Menu" (refer to the image below). That would be an easy solution.
From a different post, the Javascript option was not recommanded. I will try the Ribbon Workbench option and see if that works. if anyone else has a different suggestion, please share. thank you, Siva
Hi SivaR,
Unfortunately, you can't remove any options from the list through any OOB settings
Maybe you can remove 'Activities' tab from the organization form, and add sub-grids for Appointment, Email, Phone Call, and Task separately.
Go Settings > Customizations > Customize the system > Entities > One entity you need > Forms to open one main form you need:
Or you can refer following link, which provides some other options:
What to Do with Unwanted Activity Types in Dynamics CRM - Microsoft Dynamics CRM Community
Muhammad Shahzad Sh...
51
Most Valuable Professional
Ramesh Kumar
42
David Shaw_UK
27