There are two parts to this customization.
Part 1: Setting the Send Option to "Link to history list in email" as the default selection
Before Customization:
By default, the “Data in email” is selected as the default selection for the “Send:” value:

After Customization:

public void postCollectData(PageComponent page) {
// Retrieve the Subscription Editor Bean associated with the Send Now option
SubscriptionEditorBean seb = (SubscriptionEditorBean) page.getRoot().searchChild("ncSubs");
out.println("addon email subs called");
// If there is no SubscriptionEditorBean, then no need to perform logic
if (seb==null){
return;
}else {
// Determine if the Send Now dialog box is open
if (seb.isOpen()){
WebSubscription ws;
SubscriptionBean sb = null;
// Retrieve the Subscription Bean
sb = (SubscriptionBean) page.getRoot().searchChild("ncSubs_sb");
try {
// Extract the Web Subscription to modify the default drop down properties
ws = sb.getSubscription();
WebSubscriptionDeliveryModeEmailProperties prop = (WebSubscriptionDeliveryModeEmailProperties) ws.getDeliveryMode();
setIncludeLink(true);
setSendToInbox(true);
setIncludeData(false);
} catch (WebBeanException e) {
// TODO Auto-generated catch block
printStackTrace();
}
}
}
}
NOTE: To apply this to the Documents (in Interactive, Editable, or Flash View Mode), the following additional steps will be taken:
Part 2: Removing other Send Options in the Drop Down
Before Customization:

After Customization:

Package: ##Any package the client wants to use##
Name: ##Any name for the class##
Transform description: This transform will remove options from the Email Subscription dropdown after report execution.
Superclass: com.Strategy.web.app.transforms.SubscriptionsEditorNCTransform
public void renderSusbcriptionDialog(com.Strategy.web.beans.MarkupOutput out) {
System.out.println("renderSubscriptionDialog called");
// Creating a Markupout object
MarkupOutput newOutput = WebBeanFactory.getInstance().newMarkupOutput();
/** Rendering the out of the box markup for this Schedule Pane
* as the remaining code will be editing the MarkupOutput object
* and not recreating the object. The markup will be placed in a
* method Markup object so the user will not see the original Schedule Pane
*/
super.renderSusbcriptionDialog(newOutput);
/** The following code was meant for version 9.4.1
* If for future versions, this code no longer works, uncomment the line below,
* this will output the Markupoutput to the console to see what "options" are created
* for the "Send:" drop down values. Copy and paste the new option valudes in string replace
* statements below.
*/
//System.out.println("Original Output = " + newOutput.getCopyAsString());
// Creating a String version of the markup in order to manipulate the object
String newOutputString = newOutput.getCopyAsString();
// Removing the Data in Email option
newOutputString = newOutputString.replace("<option value=\"0,0,1\">Data in email</option>", "");
// Removing the Data in email and to history list
newOutputString = newOutputString.replace("<option value=\"0,1,1\">Data in email and to history list</option>", "");
// Removing the Data and link to history list in email
newOutputString = newOutputString.replace("<option value=\"1,1,1\">Data and link to history list in email</option>", "");
// Rendering the new MarkupOutput object to be displayed to the end user
out.append(newOutputString);
}The example provided in this document is provided “as-is” and user has read the following customization warning:
ADDITIONAL INFORMATION:
The Strategy SDK allows you to customize several Strategy products and extend and integrate the Strategy business intelligence functionality into other applications. However, before changing the way Strategy products look or behave, it is helpful to understand how the application is built. For more information regarding the Strategy products or the process of customizing Strategy products, please refer to Strategy Developer Zone (https://developer.microstrategy.com).
To access the Strategy Developer Zone, you must have access to the Strategy Knowledge Base, you must have purchased the Strategy SDK, and you must be current on your Strategy maintenance agreement. If you are a US-based business and believe that you satisfy all three of these conditions but you do not have access to the Strategy Developer Zone, please contact Strategy Technical Support at support@microstrategy.com or at (703) 848-8700. If you are an international business, please contact Strategy Technical Support at the appropriate email address or phone number found at https://www.microstrategy.com/us/services/support/contact.
CUSTOMIZATION WARNING:
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. In the event of a code change in future builds, Strategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about Strategy Consulting assistance.