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”:
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:
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.
Enable React RQC
Open Feature Flags
Search for ‘useReactFor’ and enable React RQC as desire
Start verifying the CRM configuration
Apply it globally
After verifying its work and be ready for using React RQC, follow ‘Set Interceptor’ section but uncheck ‘Set interceptor as temporary’ optionThis 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