getFieldList Method

Returns the configured fields in FieldSet__c for a specific feature name.

<!-- Section title is the name of the method followed by "Method". If appropriate, precede the method name with the class name and a colon.-->

Class

<!-- broken link--> <!-- Link(s) to the class(es) to which this method belongs. If more than one class implements the same interface, use an itemized list. Don't use a link if the class itself isn't documented for users, but do list the class name.-->

Input Parameters

<!-- If this method has separate input and output parameters, split this section into two sections titled "Input Parameters" and "Output Parameters". Some methods of classes that implement VlocityOpenInterface2 might require an "Options Parameters" section as well.-->
Parameter Required Description
featureName Required Name of feature name mentioned in Field Setting records.
objectName Required Name of the object. Example: vlocity_cmt__ServicePoint__c

Output Parameters

Parameter Description
result Returns array of fields.

Example Input Data

<!-- This is usually JSON, but it could be XML or a single value. For methods of classes implementing VlocityOpenInterface2 that have options parameters, include those here.-->
{"featureName":"MultiServiceMasterCartFields","objectName":"Quote"}

Example Output Data

<!-- This is usually JSON, but it could be XML or a single value. Salesforce uses Return Type, but this takes care of that.-->
{"result":[{"displaySequence":1,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Market Identifier","fieldAPIName":"vlocity_cmt__MarketIdentifier__c","fieldName":"vlocity_cmt__MarketIdentifier__c"},{"displaySequence":2,"objectAPIName":"vlocity_cmt__Premises__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Street Address","fieldAPIName":"vlocity_cmt__StreetAddress__c","fieldName":"vlocity_cmt__PremisesId__r.vlocity_cmt__StreetAddress__c"},{"displaySequence":3,"objectAPIName":"vlocity_cmt__Premises__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"City","fieldAPIName":"vlocity_cmt__City__c","fieldName":"vlocity_cmt__PremisesId__r.vlocity_cmt__City__c"},{"displaySequence":4,"objectAPIName":"vlocity_cmt__Premises__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Postal Code","fieldAPIName":"vlocity_cmt__PostalCode__c","fieldName":"vlocity_cmt__PremisesId__r.vlocity_cmt__PostalCode__c"},{"displaySequence":5,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Utility Provider","fieldAPIName":"vlocity_cmt__UtilityProvider__c","fieldName":"vlocity_cmt__UtilityProvider__c"},{"displaySequence":6,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Average Monthly Usage","fieldAPIName":"vlocity_cmt__AverageMonthlyUsage__c","fieldName":"vlocity_cmt__AverageMonthlyUsage__c"},{"displaySequence":7,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Load Profile","fieldAPIName":"vlocity_cmt__LoadProfile__c","fieldName":"vlocity_cmt__LoadProfile__c"},{"displaySequence":8,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Voltage Level","fieldAPIName":"vlocity_cmt__VoltageLevel__c","fieldName":"vlocity_cmt__VoltageLevel__c"}],"error":"OK"}