Table of Contents

Summary

This context Command sets a value for the property specified by name on the current commercial loan which can be used with the click event for Summary and Field Tags as well as in Andi Chat.

All that is required to use the command is the property name to change and the corresponding value. For example if the skill needed to change the amount of the Current Commercial Loan that would use the property name amount along with the new amount you want to include.


const propertyName: string = "amount";
const propertyValue: number: 100000;
    
const command: contextCommand = {
    name: "setPropertyOnCurrentCommercialLoanAccount",
    args: [propertyName, propertyValue]
};

const tag: SummaryTag = {
    key: "sample-tag",
    text: "Sample Tag",
    tagType: FieldTagTypes.Info,
    onClick: [command]
};        

Command properties names can also reference child objects and properties using dot notation when available as well array items. The array functions supported are the same as those for Context queries which include index number like participations.0.name this references the first participates name on the Commercial loan. By replacing the 0 to another positive integer it is possible to reference other participant if application. In addition to the index option the last option is also support. Using the previous example the 0 is replaced with last, participations.last.name.

For Advance usage with findby check out this tutorial.

Commands have more restrictions then context queries which include that the values being passed in or of correct type, format and length in cases of Strings. Formatting around properties like dates will be based on the locale of the application user and needs to be considered. Also in certain circumstances a property may not be settable 100% of the time. While selecting properties from the list below consult the table for further details.

Back to the top

Field List

Field Name: accountCloseDate
Attribute Description
Type Date String (Locale formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: adjustableRateAdjustmentFrequency
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: adjustableRateIndexRate
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: adjustableRateInitialPeriod
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: adjustableRateScalingFactor
Attribute Description
Type Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: adjustableRateScalingFactorOption
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: adjustableRateSpread
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: adjustableRateUserInput
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: adjustableSpreadResetFrequency
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: amortizationTerm
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: amount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: amount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: amount
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: amount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: amount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: annualFeeDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: annualFeePercent
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: annualPremiumPercentDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: annualPremiumTotal
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: available
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: b3Counterparty
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: cap
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: cap
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: cashFlows[cashFlowCollection].paymentDate
Attribute Description
Type Date String (Locale formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: collateralLTV
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: collateralLTV
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: collateralValue
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: collateralValue
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: commitment
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: commitmentToCommitContractualPeriod
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: commitmentToCommitProjectedPeriod
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: commitmentToCommitUnfundedLPExemptionPeriod
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: commitmentTypeEnum
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: conversionAdditionalAmount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: countryType
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: description
Attribute Description
Type Text
Max Length 50
Readonly Restriction N/A

Field Name: description
Attribute Description
Type Text
Max Length 50
Readonly Restriction N/A

Field Name: dollarAmount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: effectiveLTV
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: effectiveLTV
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: effectiveValue
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: effectiveValue
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: endMonthOffset
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: endMonthOffset
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: expectedLife
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: expenseOriginationDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: expenseOriginationPercentOfAmount
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: expenseOriginationPercentOfFees
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: expenseServicingDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: expenseServicingPercentOfAmount
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: expenseServicingPercentOfAverageBalance
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: exposureType
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: facilityRatingField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: feesAnnualDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: feesInitialDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: feesInitialPercentOfAmount
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: feesNotTaxExemptInitialDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: feesNotTaxExemptInitialPercentOfAmount
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: feesSwapFee
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: feesUnusedLOC
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: firstPaymentMonth
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: fixedRateIndexRate
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: fixedRateInitialRate
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: fixedRateLock
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: fixedRateSpread
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: floatingRateUserInput
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: floor
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: floor
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: fundingPackageField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: guaranteedAmount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: guaranteedAmount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: guaranteedExposure
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: guaranteedExposure
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: guaranteedPercent
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: guaranteedPercent
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: hasCommitmentToCommitPeriod
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: indexDialogAdjustableRateSpread
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: initialRate
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: interestOffsetStatusType
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: interestOnlyPeriod
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: interestRateCalculation
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: letterOfCreditType
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: loanFacilityRatingField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: loanFacilityRatingField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: loanToValuePercent
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: loanToValuePercent
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: locAverageUsagePercent
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: locInitialBalance
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: maturity
Attribute Description
Type Number (1-12) Indicating the Month
Max Length N/A
Readonly Restriction N/A

Field Name: maximumInitialAdjustment
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: maximumLifetimeAdjustment
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: maximumPeriodicAdjustment
Attribute Description
Type Nullable Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: month
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: month
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: month
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: month
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: month
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: month
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: monthlyServicingExpense
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: name
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: nextAmortizationBalanceMonth
Attribute Description
Type Number (Integer)
Max Length N/A
Readonly Restriction N/A

Field Name: originationChannelField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: otherExpenseInitialDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: otherExpenseInitialPercentOfAmount
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: paymentFrequency
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: paymentType
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: payoffOrRenewalAmount
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: percent
Attribute Description
Type Number or String (decimal value number or string supporting bps i.e. `.05bps` or % like `0.05%`
Max Length N/A
Readonly Restriction N/A

Field Name: percent
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: prepaymentOptionField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: principalPercent
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: priorCommitment
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: priorLiens
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: priorLiens
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: rate
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: rate
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: rateType
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: rateTypeField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: riskRatingField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: servicingChannelField
Attribute Description
Type Text
Max Length N/A
Readonly Restriction N/A

Field Name: spread
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: spread
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: taxExemptionOption
Attribute Description
Type String
Max Length N/A
Readonly Restriction N/A

Field Name: upfrontCostDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: upfrontPremiumDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: upfrontPremiumPercent
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Field Name: upfrontPremiumPercentDollars
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: upfrontPremiumTotal
Attribute Description
Type Number (or Locale Formatted Currency String)
Max Length N/A
Readonly Restriction N/A

Field Name: utilization
Attribute Description
Type Number (decimal value Locale Formatted)
Max Length N/A
Readonly Restriction N/A

Back to the top