How can I add Custom Multifield in scaffolding form AEM6.1 | Community
Skip to main content
December 15, 2015
Solved

How can I add Custom Multifield in scaffolding form AEM6.1

  • December 15, 2015
  • 11 replies
  • 2796 views

I am trying to add custom multifield in the scaffolding form but i am getting error in EXTJS.

When i tried to find dialog by getParentByType("dialog") or getParentByType("tabpanel ) i get null and code breaks.

If any one has any example for this it will be very helpful.

 

Thanks in advance.

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

EXTJS apis are meant only for dialogs (and on author) and not for a public facing GUI. You cannot use these APIs outside of a dialog. As Praveen stated - we have a lot of community articles showing how to use within a component dialog.  

11 replies

smacdonald2008
Level 10
December 15, 2015

Are you trying to add the multifield to the scaffold form? 

smacdonald2008
Level 10
December 15, 2015

A multifield xtype is generally used in component dialogs. I have not seen them used in scaffold forms. I will look to see if you can use this x type in a scaffold form. 

December 15, 2015

Thanks for the reply.

Please let me know if you find any example or solution for this.

edubey
Level 10
December 15, 2015

Can you share the purpose of using getParentByType("dialog") or getParentByType("tabpanel") , i have worked on many multifield but i guess you are using this in listeners...right?

December 15, 2015

I am not using it in listeners. I am trying to add mutifield custom into the scaffold form. In the dialog editor it works fine but on the scaffold form multifield is not working.

edubey
Level 10
December 15, 2015

I guess these details wont be enough, can you share the dialog.xml and Ext JS here?

smacdonald2008
smacdonald2008Accepted solution
Level 10
December 15, 2015

EXTJS apis are meant only for dialogs (and on author) and not for a public facing GUI. You cannot use these APIs outside of a dialog. As Praveen stated - we have a lot of community articles showing how to use within a component dialog.  

December 16, 2015

Basically you want to say that multifield containers are not supported in scaffold form.

Premkarthic-7WP
Level 4
December 16, 2015

Custom Multifield/Multifield you can add on scaffolding form, that is working for us.

Can you give more details on your use case please.

Level 2
February 25, 2016

Hi Scott,

We are going to upgrade from AEM5.6.1 to AEM6.1

We have used scaffolding a lot in 5.6.1 and i was wondering how will it work in AEM6.1

The documentation doesn't say anything about touch UI scaffold. Is there anything like this or we simply have to switch to ClassicUI to create and edit pages using scaffolds?

Thanks.