Trying to create reusable section templates for an insurance company as a pilot have read the user guide http://doc.orbeon.com/form-bui... but unable to execute it as I do not understand the how to do the following steps. I have the PE version
the instruction are as follows
- You create sections in a special form with name library.
- You publish this form.
- For each section in that form, Form Builder creates a reusable section component.
- The component is made available in the Form Builder toolbox under "Library" groups
can anyone give me an example on how it is done and/or advice on the how to interpret the above
thank you
|
Administrator
|
Hi Thiya,
It's at times hard to start working with a new product, so let's see if we can help! Is there something that you're having some trouble with specifically going through those steps? Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro i'm trying to create the first two steps in the PE ie
How does this work ie what is a special form and where is the link to Library On Tue, Apr 12, 2016 at 4:56 PM, Alessandro Vernet [via Orbeon Forms community mailing list] <[hidden email]> wrote: Hi Thiya, It's at times hard to start working with a new product, so let's see if we can help! Is there something that you're having some trouble with specifically going through those steps? Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet If you reply to this email, your message will be added to the discussion below:
http://discuss.orbeon.com/how-to-create-templates-tp4661389p4661395.html
Warm regards
Sri View this message in context: Re: how to create templates Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.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
Hi Alessandro i'm trying to create the first two steps in the PE ie
How does this work ie what is a special form and where is the link to Library Warm regards Thiya On Tuesday, April 12, 2016 at 5:28:44 PM UTC+1, Alessandro Vernet wrote: Hi Thiya, 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 thiyasri23
On Tuesday, April 12, 2016 at 5:20:56 PM UTC+1, Thiya Sriskandarajah wrote: Trying to create reusable section templates for an insurance company as a pilot have read the user guide <a href="http://doc.orbeon.com/form-bui." target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdoc.orbeon.com%2Fform-bui.\46sa\75D\46sntz\0751\46usg\75AFQjCNE1y27cE_Nvj7PHWUono2DLT4FM6Q';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdoc.orbeon.com%2Fform-bui.\46sa\75D\46sntz\0751\46usg\75AFQjCNE1y27cE_Nvj7PHWUono2DLT4FM6Q';return true;">http://doc.orbeon.com/form- 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 thiyasri23
Hi Thiya,
It is a "special" form in the sense that you don't expect users to access that form directly, unlike other forms. Instead, sections in the form are exposed as "section templates" in Form Builder. And using "library" as the form name is a naming convention you have to know about to use that feature. So, is it working for you when you are following those steps? If not, what isn't working as expected? Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro The issue is where do I start as I dived into Orbeon about three week ago and still trying to get to grips . It would be useful to know how to use the naming convention feature for a start. Regards Thiya Sri -- 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 Thiya,
This is documented on the page linked below. If you haven't already, I'd recommend you go through this page, and if along the way you have any question, just let me know. http://doc.orbeon.com/form-builder/section-templates.html Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro
Apologies for my late response. I have been trying to gather my thoughts around the page you have sent, this is page I did access at the start but I was unable to fathom out how to execute the instruction eg I also followed the instruction but the issue for me was how to create the specialised form ie the instructions are
On Wed, Apr 20, 2016 at 5:24 PM, Alessandro Vernet [via Orbeon Forms community mailing list] <[hidden email]> wrote: Hi Thiya, Warm regards
Sri |
Administrator
|
Hi Thiya,
Correct, except the app name should be "orbeon" with a lowercase. After you created that form orbeon/library, and published it, in the other form where you want to use that section template, did you reload the sidebar (it is done by clicking on the green icon with 2 arrows, to the right of cut/copy/paste)? You don't need to reload the Form Builder web page itself. In fact that won't update the sidebar, as it is cached on the server. But you do need to click that icon so new section templates you just published show in the sidebar. You'll let me know if this helps, Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro Thank you that works. Let me now move on to the templating side Regards Thiya Sri -- 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 Thiya,
Perfect, I'm glad that worked, and of course just let us if you're having any trouble with this feature of anything else. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro what is the best way to create a order field where the value in that field is auto generated, I want to do this using the existing features with Orbeon and not create have to create any code etc. On Mon, May 9, 2016 at 11:23 PM, Alessandro Vernet [via Orbeon Forms community mailing list] <[hidden email]> wrote: Hi Thiya, Warm regards
Sri |
Administrator
|
Hi Thiya,
How would the value be auto-generated? Typically you would generate and "order number" with: - A calculated value, if you can produce the value with an expression. - A service call (e.g. HTTP Server + Action), if something more complex needs to happen. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro I would like to do it with a calculated value ie what I have is the first three letters of the customer iD which the customer inserts into the customer name field and then a randomized three numbers which will be some form of ransom number generated based on an initial value. Many thanks On Thu, May 12, 2016 at 6:11 PM, Alessandro Vernet <[hidden email]> wrote: Hi Thiya, Warm regards
Sri 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 Sri,
Assuming your field with the customer id is named customer-id, then you can use the following calculated expression: concat(substring($customer-id, 1, 3), substring(secure:randomHexId(), 1, 3)) To be able to use the secure:randomHexId() function, you need to declare the corresponding namespace, which you can do by editing the source of the form, and adding the following namespace declaration on the root element: xmlns:secure="java:org.orbeon.oxf.util.SecureUtils" You'll let me know if this works for you, Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
When I add the this code concat(substring($customer-id, 1, 3), substring(secure:randomHexId(), 1, 3))
error --> Incorrect XPath expression |
Administrator
|
Did you add the namespace declaration for the "secure" prefix on the root element of your form, as mentioned in my previous message?
Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by Alessandro Vernet
Hi Alessandro When I inserted the following concat(substring($customer-id, 1, 3), substring(secure:randomHexId(), 1, 3)) the following error message got displayed - invalid x-path expression On Tue, May 17, 2016 at 4:39 AM, Alessandro Vernet [via Orbeon Forms community mailing list] <[hidden email]> wrote: Hi Sri, Warm regards
Sri |
Administrator
|
Hi Thiya,
Understood, and it's normal you get this error if you haven't mapped the "secure" prefix to a namespace URI in the source of the form. Hence me asking if you had done that. If not, see an earlier message of mine in this thread for the namespace declaration you need to add on the root element. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |