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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Developer
jmace
Posts: 482
Registered: ‎10-24-2008
My Carrier: AT&T

Offline Form Queue lab, need more information

I'm pretty fresh into the mobile development for Blackberry. I was able to get the Offline form queue lab to work on my simulator, but now I would like to know more about what is actually going on there. Does this send the filled out web page to my server? Really just what exactly happens with these forms as they are queued up, and then where are they sent exactly?

 

Thanks for any insight. 

_________________________________________
www.jasonmace.com/blackberry
Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Offline Form Queue lab, need more information

Offline forms are used when a user goes out of coverage.  Here is an example scenario.

 

A user fills out a web form and clicks submit.  While they were filling out the form they moved out of coverage.  The BlackBerry handheld is unable to communicate with the web server to submit the form, so it places the form in an offline queue.  The queue is visible to the user within the browser (select Offline Queues from the menu) as well as from within their message list in the Messages application.  Once the user moves back into coverage the BlackBerry Browser should automatically submit the form and download the resulting page.  The user can see this page by selecting the entry in their message list (icon will change to show it has been submitted) or by opening the queue in the browser.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Developer
jmace
Posts: 482
Registered: ‎10-24-2008
My Carrier: AT&T

Re: Offline Form Queue lab, need more information

I understand that part, but where are these forms sent to and what format do they arrive at their destination in? Do they arrive as filled out html pages that I would need to "Scrape" on the back end to gather the data?

 

Sorry, just some curious questions.

_________________________________________
www.jasonmace.com/blackberry
Please use plain text.
Guru I
Xandrex
Posts: 17,575
Registered: ‎07-29-2008
My Carrier: Vodafone France (SFR)

Re: Offline Form Queue lab, need more information

isn't that just an HTTP request ?
GET/POST ?



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: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Offline Form Queue lab, need more information

Correct.  These arrive as an HTTP POST or GET to your server.  To the back end server they won't look any different than a standard form submission.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Guru I
Xandrex
Posts: 17,575
Registered: ‎07-29-2008
My Carrier: Vodafone France (SFR)

Re: Offline Form Queue lab, need more information


MSohm wrote:
To the back end server they won't look any different than a standard form submission.
Except if the content of the form request refers to some server session that may have expired. :smileywink:



The search box on top-right of this page is your true friend, and the public Knowledge Base too:
Please use plain text.
Administrator
astanley
Posts: 1,140
Registered: ‎07-02-2009
My Carrier: Bell

Re: Offline Form Queue lab, need more information

Greetings,

 

The following article was recently published in our online knowledge base:

 

How To - Define offline queues for HTML form submission

 

Best regards,

Adam

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.

Watch the BlackBerry Jam Americas Sessions.
Please use plain text.