[Xerte] Re: Reading POST parameters from web page in RLO

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Apr 4 10:17:33 BST 2012


Its better the function route you are already taking: you don't have to hardcode the flash vars into the piece, or cope with them on the embed tag. Once you learn to call functions from xerte, you're opening up all the possibilities you need to do what you want,

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare
Sent: 03 April 2012 21:31
To: 'Xerte discussion list'
Subject: [Xerte] Re: Reading POST parameters from web page in RLO

Hello Julian - if I use object/embed I'll be using flashvars, correct?

I'm not sure how I could use js to get/set values. I need to pass some critical info in like courseID, LoginID, etc that is specific to each user, so I don't see how I can 'read' a URL from xerte. Is there a way with js I can pass these specific values to the RLO when launched?

Thanks
RonM2

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Tuesday, April 03, 2012 1:12 AM
To: Xerte discussion list
Subject: [Xerte] Re: Reading POST parameters from web page in RLO

Either pass them inot the piece from the web page via the object / embed stuff, or (better) write some javascript functions you can call from Xerte to get / set values.

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk]<mailto:[mailto:xerte-bounces at lists.nottingham.ac.uk]> On Behalf Of KnowledgeWare
Sent: 02 April 2012 22:10
To: Xerte discussion list
Subject: [Xerte] Reading POST parameters from web page in RLO

Anyone have an example of reading 'POST' parameters in xerte desktop?

I'd like to launch an RLO from a webpage and pass in several parameters like courseID, LoginID, etc., but not clear on how I can 'read' them in when the xerte flowline starts. Do I need a JS wrapper for this?

RonM2


This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120404/fa006cc4/attachment.html>


More information about the Xerte mailing list