Is there any way to use more than one data instance?

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

Is there any way to use more than one data instance?

leosmk
Hello!
I need to use more than one data instance ("fr-form-instance" and custom
instance). Is it possible with Orbeon Forms?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1605786490710-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to use more than one data instance?

Alessandro  Vernet
Administrator
If this is in the context of a form create with Form Builder, you can edit
the source of the form and add your own instances there. However fields you
create with Form Builder won't know about your other instance(s) and fields
you create with Form Builder will always be bound to elements in
`fr-form-instance`.

Does this help? If not, could you tell us more about what you're trying to
achieve that calls for additional instances?

-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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1605819965957-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to use more than one data instance?

leosmk
Alessandro  Vernet wrote
> If this is in the context of a form create with Form Builder, you can edit
> the source of the form and add your own instances there.

I tried to do this, but it seems that Form Runner doesn't save changes in
custom instances... I see that all fields that bound to my own instance left
unchanged when I click "Save" button.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1605862091562-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to use more than one data instance?

Alessandro  Vernet
Administrator
Yes, only the content of `fr-form-instance` is saved. Could you tell us more
about the problem you are trying to solve by creating more than one
instance?

-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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1605915654758-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet