Orbeon yform in hybris: how to create and update form definition and form
data programmatically and set the content. What are the APIs available? -- 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]. |
Administrator
|
Hi vikas,
I am not sure if there is anything specific to Hybris here, but in general with Orbeon Forms, this would typically be done through the persistence API (see link below). You'll let me know if this helps. https://doc.orbeon.com/form-runner/api/persistence -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 |
Thanks for the reply.
Can anyone help me in regards to Hybris yForms, how to do it? -- 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]. |
In reply to this post by Alessandro Vernet
Hello Alex,
I have one specific query related to my use-case. It goes like this: We have incorporated Orbeon forms in our current solution and created some forms using the Form Builder and saved/published them, those work absolutely fine. The main question is: Suppose we want to create some new forms, but the main highlight is *we don't want to create those forms initially through form builder*. We want to create them using some API or any other method (if they exist) initially. We have some metadata about these forms that we can give to your API (information like how many fields the form have, what are their labels, what type of field is it). After creating these forms from this said API, we want to treat these forms the way we treat the forms that were originally created from Form Builder, i.e ., we want to save them in the same DB, we want the flexibility to edit the from Form Builder from their on, etc. Is this kind of use case possible: if yes, we API is exposed? What is the limitations of this API? Hope you have understand my use case, waiting for your reply Thanks & Regards -- 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]. |
Administrator
|
In reply to this post by vikaha
Hi Vikas,
Here, we can only help you with Orbeon Forms. And this not because we don't want to help with yForms, but because the yForms integration is done and maintained by SAP Hybris, and we don't know enough about it to help ;). This being said, most of what can be said about Orbeon Forms also applies to yForms, but I'm sure there are exceptions. If you think you're in one of those cases, I'd recommend you check this with the relevant person at SAP (for instance, if you're a customer, through your support channel). Does that 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 |
Administrator
|
In reply to this post by namanjain2050
Hi Naman,
The way things are, you're looking at creating an XML document, a "form definition", in the format produced by Form Builder, and then submitting this document through the "publish API" (see link below). This document would contain the description of the fields, how they should be laid out, how they should be validated, etc. You'll let me know if this would work for you. https://doc.orbeon.com/form-runner/api/other-apis/publish -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 |
Administrator
|
Hi Naman, did you get to look into the publishing API? If so, did it do what
you were looking for? -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 |
Free forum by Nabble | Edit this page |