CPQJS.setAttributeVal() Will Not Set A Value In A State Dropdown Field
(Doc ID 2860031.1)
Last updated on MARCH 15, 2024
Applies to:
Oracle BigMachines CPQ Cloud Service - Version 22 A Patch 2 and laterInformation in this document applies to any platform.
Symptoms
When using CPQJS.setAttributeVal() to set a value for a State field value is not saved.
STEPS:
Open any quote and go to the Customer address tab
Open browser developer tools
Go to console and try setting Country and state by running these lines:
CPQJS.setAttributeVal('_shipTo_country','USA')
CPQJS.setAttributeVal('_shipTo_state','California')
Observe how the country value is set but the State value doesn't stay.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |