Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Ember vs React Interceptor

Interceptors are important part of the front-end CRM integration.

Before you are switching it is good to validate if there is some Ember interceptor on place. Open Feature Flags and search “interceptor”:

Screenshot 2024-05-05 at 21.13.00.png

If there is some (probably name like pfx-your-company-name) It will be good to test interceptor functionality after switching Ember to React.

First you have to select Dynamic Interceptors (Reference) for React. The Project Team will provide the interceptor respectively. You will see it in interceptor list (when you have ‘Develop Interceptors’ role) in System Configuration > Interceptors > Set Interceptor:

  1. Verify your new interceptor locally

    • Prerequisite:

      • You will need ‘Develop Interceptors’ role to set a new interceptor for CRM integration

      • You will need ‘General Admin’ or ‘General Admin (without User Management) or 'Investigate for Support’ to enable React RQC through Feature Flags

      • You logged in CRM and will configure Unity there

    • Set Interceptor

      • Open System Configuration > Interceptors page

      • Click ‘Set Interceptor’ button (at the right top corner) to open Set Interceptor modal

      • Select your interceptor with ‘Set interceptor as temporary’ checked; this setting will make this interceptor available locally until you close the tab.

    • Screenshot 2024-05-05 at 21.21.51.png

      Enable React RQC

      • Open Feature Flags

      • Search for ‘useReactFor’ and enable React RQC as desire

      • image-20220331-033852.png
    • Start verifying the CRM configuration

  2. Apply it globally
    After verifying its work and be ready for using React RQC, follow ‘Set Interceptor’ section but uncheck ‘Set interceptor as temporary’ option

    Screenshot 2024-05-05 at 21.26.25.png

  3. This will apply the interceptor for the whole team.

In case of any malfunction or if you need any help please contact team Wasabi (PO - Martin Rejka)

Links in Email Notifications

If you are using direct links to some CLIC object (Quote, Rebate Agreement …) test them after switching to the React. Specially if you are using combination of React and Ember (e.g. Quote List in React and Quote Detail in Ember).

For more information check /wiki/spaces/EN/pages/96681975

  • No labels