If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
telferm
Posts: 3
Registered: ‎02-05-2009
My Device: Not Specified
Accepted Solution

Getting BB Owner and information in javascript

We have a requirement to get the owner information on an 8310 into a webpage without user intervention. We are creating forms on our internal webservers that are accessed via BES. Cannot find anything in the javascript reference. Anyone know of a way ? (Alternative would be to grab the phone number or some other unique ID that we could xlate

 

Malcolm

Please use plain text.
Guru I
Xandrex
Posts: 18,380
Registered: ‎07-29-2008
My Device: Z10 10.1.0.2312 / Playbook 2.1 / 8900 5.0
My Carrier: Vodafone France (SFR) & B&You

Re: Getting BB Owner and information in javascript

it's personal data. We are lucky there is no way for a website to grab those information without user's explicit approval.



The search box on top-right of this page is your true friend, and the public Knowledge Base too:
Please use plain text.
New Developer
telferm
Posts: 3
Registered: ‎02-05-2009
My Device: Not Specified

Re: Getting BB Owner and information in javascript

Our Owner/info fields are not set (for security reasons), so we wanted to put something in there that identified the phone (or department it has been issued to) to our own web apps. That way we don't have to ask the "who are you" question on our web app.

 

Does that mean there is a way for the user to give explicit approval ? (as per location)

If not, anyone else aware of anything you can set on the phone that can be extracted with javascript?

 

thanks in anticipation

Please use plain text.
Guru I
Xandrex
Posts: 18,380
Registered: ‎07-29-2008
My Device: Z10 10.1.0.2312 / Playbook 2.1 / 8900 5.0
My Carrier: Vodafone France (SFR) & B&You

Re: Getting BB Owner and information in javascript

yes you can, it's called a cookie. The user fills in the information once, and you order his Browser to remember that info.
it's a serverside coding, not related to javascript.

other than that, it you are using BES there are ways too.



The search box on top-right of this page is your true friend, and the public Knowledge Base too:
Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Getting BB Owner and information in javascript

You can configure a BlackBerry Enterprise Server to send a user's BlackBerry PIN and/or email address.  You could use this to identify users.  The following link explains this further.

 

How To - Retrieve information about the BlackBerry Browser
Article Number: DB-00435

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800878/800733/How_To_...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
telferm
Posts: 3
Registered: ‎02-05-2009
My Device: Not Specified

Re: Getting BB Owner and information in javascript

Many thanks both for the advice and info . We will try out both approaches
Please use plain text.