How to determine whether you are in configuration mode in CRM and C4C
This article introduces the relevant knowledge of "how to judge whether you are currently in configuration mode in CRM and C4C". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
CRM
CL_CHTMLB_CONFIG_UTILITY= > IS_CONFIG_MODE_ENABLED
The returned value is boolean:
C4C
Use api:sap.client.flex.Personalization.isKeyUser
This api returns the property _ bIsKeyUser:
This property is set to true when menu Adapt- > Enter Master Layout:
The value of this KeyUser mode causes the http request header field adaptation-mode sent to the C4C background to be set to X.
This is the end of the content of "how to determine whether you are in configuration mode in CRM and C4C". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!