autosave in orbeon

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

autosave in orbeon

Neenu Jacob
Hi,

How can I implement autosave in orbeon. I am using sql server as backend.


Our configuration is :


 <property as="xs:boolean" name="oxf.fr.persistence.*.active" value="true"/>
 <property as="xs:integer" name="oxf.fr.detail.autosave-delay.*.*"
value="5000"/>
 <property as="xs:boolean" name="oxf.fr.persistence.*.autosave"
value="true"/>


Regards,
Neenu Jacob

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: autosave in orbeon

Alessandro  Vernet
Administrator
Hi Neenu,

Autosave should work out-of-the-box if your persistence layer supports it
(all do, except the one for eXist), and if the user is authenticated. Is
this your case? And you can also read more about this on:

https://doc.orbeon.com/form-runner/persistence/autosave.html

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: autosave in orbeon

Neenu Jacob
Hi Alex,

I am trying to implement 'auto save' without authentication since we have
general authentication here.  Is it possible to implement 'auto save'
without user authentication. If not, how to set authentication. Please
explain.

We are embedding orbeon in a .NET application using iframe.

Regards,
Neenu Jacob

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: autosave in orbeon

Alessandro  Vernet
Administrator
Hi Neenu,

I imagine that Orbeon Forms could support autosave when editing existing
data. However, this wouldn't work before the data was saved for the first
time, i.e. when on the `/new` rather than the `/edit` page.

Are users currently authenticated in your .NET app? I.e. do you know who the
user is? If you do, you could do the following:

1. Instead of having the requests made by the iframe hit Tomcat directly,
make that request hit your IIS instead of Tomcat, and setup IIS as a reverse
proxy for Tomcat (if this isn't already the case).

2. Setup IIS to pass to Tomcat the username for the current is an HTTP
header.

3. Setup Orbeon Forms to use that header. You can find more about this in
the "Header-driven method" section of the documentation.

https://doc.orbeon.com/form-runner/access-control/users.html#header-driven-method

Would this make sense?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet