What's new in Customer Journeys?

Connect and learn more! ×
Getting error in setAttributeVal function — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting error in setAttributeVal function

Received Response
edited Oct 26, 2022 5:14AM in Configure Price Quote 2 comments



How do I use setAttributeVal function using CPQJS?

Content (required):

For example, I want to use the function as follows:

CPQJS.setAttributeVal("opptyOwner_ZipCode_quote", "54018")

But it gives me a compilation error - The folder CPQJS doesn't exist

I guess I need to put some JS code in the file manager and retrieve it. But not sure how to proceed.

A small example will be very helpful to me

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!