Extension of input form into another input form in Neolane | Community
Skip to main content
Level 2
August 29, 2017

Extension of input form into another input form in Neolane

  • August 29, 2017
  • 1 reply
  • 9024 views

Hi Team,

Can suggest if we can extend input form into another input form in Neolane in order to make customise the factory input form of delivery.

Kindly help and put forward your suggestion.

Thank Much In Advance!

Nidhi

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Jean-Serge_Biro
Level 10
August 29, 2017

Hello Nidhiv,

No, a Factory XML form can't be extended, such as Schema extension way.

You must modify the factory form to customize it, or depending on your need, create a new form (with your own namespace) to provide a dedicated form on your own objects.

I recommend you to backup the factory form xml code, in order to revert if you did a mistake somewhere; for instance you can export it as a xml package on your computer local disk.

Regarding the changes that you need versus the default factory code, you can visibleIf, enableIf to hide or display sections/containers/fields. It is useful to customize the form depending on context.

Regards
Jean-Serge

Jean-Serge_Biro
Level 10
August 29, 2017

Hi Nidhiv,

During a product upgrade (version, build) the postupgrade task executed for all your instances displays the discrepency between factory forms and customized forms. So in the Conflict management node, you can manage to keep the current customized version or adapt it manually to take into account the default factory updates brought by the new version/build.

Regards
J-Serge

Level 2
September 1, 2017

Hi Nidhi,

This time, I am not sure to fully understand, sorry.

If you want to add new fields in the Delivery schema, so it is through a schema extension, indeed. (And apply the Admin Update DB structure, in order to create the corresponding columns/indexes).
Afterwards, you can customise the factory delivery forms (nms:delivery, nms:deliveryDet, nms:newDelivery or others depending your need).
If you need only to customize forms without adding new fields, only modify the factory delivery forms.

In advance, sorry if I misunderstand your last request.

Regards

J-Serge


Hi Jean-Serge Biron​,

If i am going to customize the form that those thing will be reflected in nms:delivery schema so while doing upgrade, things reflected in nms:delivery will be vanished. So, in order to avoid such problem i.e. it will remove the column added in factory schema. For the same, i created the customize schema of nms:delivery and also then form. I would like to know will it helpif build upgrade will happen, will our customize thing extending factory schema will not get impacted?

Kindly suggest .

Regards,

Nidhi