How to render orbeon controls in .net application

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

How to render orbeon controls in .net application

Neenu Jacob
I have connected orbeon with SQL server and stored form definition in xml format. I am fetching the forms in .net application by calling web services. But only the labels are displaying. How to render orbeon controls in .net application?
Reply | Threaded
Open this post in threaded view
|

Re: How to render orbeon controls in .net application

Alessandro  Vernet
Administrator
Hi Neenu,

What do you mean by "fetching the forms"? What are you getting? What web services are you referring to?

And what do you mean by "only the labels are displaying"? Would you be able to share a screenshot of what you're seeing?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: How to render orbeon controls in .net application

Neenu Jacob
In older version orbeon, xforms can used from any server not dependent on
java. How we can replicate that in current verson of orbeon. like we have a
document id and using that go to sql server and get xhtml file and display
it in browser with all the styles. Expected result's screenshot is given
below which is done using xforms. Please help me out to solve this.


<http://discuss.orbeon.com/file/t375510/Capture.png>

--
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: How to render orbeon controls in .net application

Alessandro  Vernet
Administrator
Hi Neenu,

How were you doing the embedding with older versions of Orbeon Forms? It
would certainly be possible to have a .NET embedding API, similar to  the
one we have for Java
<https://doc.orbeon.com/form-runner/link-embed/java-api.html>  , and in fact
have a request for enhancement for this (see  RFE #3324
<https://github.com/orbeon/orbeon-forms/issues/3324>  ).

But at this point, if using .NET, you would either need to keep the form on
a separate page, and just link to it from the .NET app, or use an iframe to
embed the form.

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: How to render orbeon controls in .net application

Neenu Jacob
Hi Alex,

I have displayed orbeon forms in iframe. Now we want to display form builder
for admin and form runner for normal users. how could I achieve this?


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: How to render orbeon controls in .net application

Alessandro  Vernet
Administrator
Hi Neenu,

You're saying you're using an iframe to embed Form Runner. Would doing the
same for Form Builder work for you? (As a side-note, Form Builder embedding
with the Java API is supported since 2016.3, so this would also be taken
care of if that API was ported to .NET.)

https://doc.orbeon.com/form-runner/link-embed/java-api.html#form-builder-embedding

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: How to render orbeon controls in .net application

Neenu Jacob
Hi Alex,

Is there any tool for porting Java API to .NET?

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: How to render orbeon controls in .net application

Alessandro  Vernet
Administrator
Hi Neenu,

I doubt this could be done entirely automatically. For instance, the Java API is calling a Java HTTP library and when rewriting this for .NET one would want to call a similar library available for .NET. Do you have yourself programming experience on .NET? If you do, this might be something you could look into, and of course we can help if there is anything on the Java side that you find unclear.

Alex
On Mon, Sep 11, 2017 at 11:57 PM Neenu Jacob <[hidden email]> wrote:
Hi Alex,

Is there any tool for porting Java API to .NET?

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].

--
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: How to render orbeon controls in .net application

Neenu Jacob
Hi Alex,

We are able to fetch the xhtml from the database and display in .net
application.* But tags starting with 'fr' are not showing, like text boxes,
sections etc.*.  Please explain how to show the content in 'fr' tags?

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: How to render orbeon controls in .net application

Alessandro  Vernet
Administrator
Hi Neenu,

The form definition you fetch from the database needs to be processed by
Orbeon Forms. There is no shortcut to doing, in .NET, what the Java
embedding API does.

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