Using a form segment from a library more than once on a form

Hey Guys

 

I think this is a bad restriction / broken (using v9.1):

 

I have a library with a form segment which has a couple of lines / rules on it. These have been named rlOuterBg and rlInnerBg.

 

The library has been published and associated to a project. In this project I need to add the library form segment twice to a form. When I try and deploy the project I get an error saying "The name 'rlInnerBg' has already been used on this form. Give one of the components a new name in order to proceed with validation and deployment". I get the same message for rlOuterBg.

This implies you cannot add the same form segment to a form more than once.

 

Thanks

Jas

Tagged:

Comments

  • Hi Jas,

     

    This is not something that is new to 9.1. Our form segments have always had this limitation. In versions before 9.1, the form segment was only a design time construct and all fields were decomposed onto the parent form as standard controls when the form was deployed. This has changed in 9.1 as all form segments are treated as panels at design and rutime.  These changes will allow us to remove the naming limitations and allow form segments to be used more than once on the same form. Currently, this is being targeted for 9.2 next year.

     

    Rob

  • I see this is an older post however - using the same form segment more than once is not allowed in v9.2.  Is this still being considered for the next version? Being able to use a form segment more than once would be a good thing...