Newer Version Available
FeatureParameterDate
File Suffix and Directory Location
FeatureParameterDate components have the suffix .featureParameterDate. The components are stored in the featureParameters folder, which contains components for all the feature parameter metadata types.
Version
FeatureParameterDate components are available in API version 41.0 and later.
Special Access Rules
Available only in packaging orgs that have access to the Feature Management App (FMA). For details, see Manage Features in the ISVforce Guide.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| dataFlowDirection | FeatureParameterDataFlowDirection | After a package containing the components is installed, indicates whether the feature parameter’s value is editable in your License Management Org (LMO) and read-only in your customer’s org or the other way around. |
| masterLabel | string | The feature parameter name that appears in the user interface. |
| value | date | The default value for this feature parameter. You can reference this value in your code, just like you reference other values in a subscriber’s org. |
FeatureParameterDataFlowDirection
Represents the direction of the data flow between your License Management Org (LMO) and the customer’s org.
| Field Name | Field Type | Description |
|---|---|---|
| FeatureParameterDataFlowDirection | string | After a package containing the components is
installed, indicates whether the feature parameter’s value is editable in your
License Management Org (LMO) and read-only in your customer’s org or the other way
around. Valid values are:
|
Declarative Metadata Sample Definition
The following is an example of a FeatureParameterDate component.
1<?xml version="1.0" encoding="UTF-8"?>
2<FeatureParameterDate xmlns="http://soap.sforce.com/2006/04/metadata">
3 <dataflowDirection>SubscriberToLmo</dataflowDirection>
4 <masterLabel>Activation Date</masterLabel>
5 <value>2017-10-23</value>
6</FeatureParameterDate>The following is an example package.xml that references the previous definition (and the definitions for the other feature parameter types).
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>FeatureParameterBoolean</name>
6 </types>
7 <types>
8 <members>*</members>
9 <name>FeatureParameterDate</name>
10 </types>
11 <types>
12 <members>*</members>
13 <name>FeatureParameterInteger</name>
14 </types>
15 <version>41.0</version>
16</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.