Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Check your version of Pricefx Studio in Plugins and update the version if necessary. If the plugin is missing, install Pricefx Studio first.

     

  2. Edit the Config.js file to be able to fetch and deploy your solution to the correct environment.

     

  3. After creating a new Dynamic Interceptor on the Configuration > Interceptors page, you can fetch it. Select the Environment and Partition that you want to work with and locate your interceptor in the Advanced configuration. Then click the Fetch button.

     

  4. The procedure is similar to deploying your solution after some changes.

     

  5. After the code is deployed, use the Reload interceptor functionality.

How to create an interceptor through VSCode or VSCodium

IntelliJ offers JavaScript code highlighting only in paid versions of the IDE. As an alternative, for VSCode and VSCodium we have developed Pricefx Code extension, which offers Interceptor and Configuration file editing. Extension works only with permissions which are mentioned above.

All information regarding Pricefx Code can be found here: Pricefx Code.

How interceptors work

Basically, this piece of javascript code will be structured like:

...