Your UX is waiting ...interact, engage, explore in Las Vegas at CloudWorld 2023

Learn more
Identify if CPQ is open in Laptop, Tablet or Mobile Browser — 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

Identify if CPQ is open in Laptop, Tablet or Mobile Browser

Received Response
31
Views
1
Comments

Summary:

Need to hide certain inputs based on where the Oracle CPQ website has been opened (Laptop,Tablet or Mobile).

How can we identify in run time where the website is opened?


Content (required):

Checking on the support web and google. Found that we can identify the browser by  navigator.userAgent.match(/iPad/i)

Is there any better way of identifying this in CPQ? Are there any security concerns if we use userAgent?


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.

Register

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