I have created an extension to ComboBox and trying to figure out how to add it to my project in Architect. If I manually edit the myWindow.js file to add an item to my form like
Ext.create('SalesLeads.shared.States', {
fieldLabel: 'Foo'
})
then everything works like I want. This tells me I have created the extension correctly.
Do I have to create a user extension to be able to use this within Architect?
I have tried adding a ComboBox and changing 'CreateAlias' to 'SalesLeads.shared.States', this creates the item like
{
xtype: 'SalesLeads.shared.States',
fieldLabel: 'Label'
}
Although this doesn't give me any errors on the console it doesn't display any combo box at all.
I did find the instructions for creating User Extensions to Architect but was trying to determine if that is necessary or if there was a simpler way that I am missing. Once I get this part worked out then I can move my extension to a shared directory outside of any particular project.
Thanks,
Scott
Ext.create('SalesLeads.shared.States', {
fieldLabel: 'Foo'
})
then everything works like I want. This tells me I have created the extension correctly.
Do I have to create a user extension to be able to use this within Architect?
I have tried adding a ComboBox and changing 'CreateAlias' to 'SalesLeads.shared.States', this creates the item like
{
xtype: 'SalesLeads.shared.States',
fieldLabel: 'Label'
}
Although this doesn't give me any errors on the console it doesn't display any combo box at all.
I did find the instructions for creating User Extensions to Architect but was trying to determine if that is necessary or if there was a simpler way that I am missing. Once I get this part worked out then I can move my extension to a shared directory outside of any particular project.
Thanks,
Scott
Comment