Carl.Wagar
13 Mar 2017, 9:13 AM
I need guidance on how to debug a user extension - if it's even possible.
I can successfully load an extension but I see nothing in the toolbox.
I am relatively new to Architect 4 and I am trying to create a user extension for the first time.
I have followed all the details to set up my source, my package.json and architect/definition files.
http://docs.sencha.com/architect/4/guides/reference/user_extension_structure.html
The documentation seems to imply that just by copying the files to:
C:\Users\YOURNAME\Documents\Architect\Extensions\MyExtension\1.0\
where
C:\Users\YOURNAME\Documents\Architect\Extensions\
is in the 'preferences' of Architect.
you can then somehow magically:
"Open an Architect project that uses a compatible framework and use your user extension"
"Then you can simply right-click and Package Extension to create an AUX file."
Well, if the extension is not magically showing up in the toolbox under user extensions, you can't
save it.
Ok, so instead I created a zip file manually, renamed it .AUX, cleared the MyExtension/1.0 folders
and then from a new blank project opened the new .aux with 'install user extensions'.
It briefly popped up a help bubble that said it was successful!
56020
Indeed it unpacked it to C:\Users\YOURNAME\Documents\Architect\Extensions\extensionname\version
and the version matched what I had in the package.json.
But it is still not visible use user-extensions in the toolbox.
56021
Nothing in the Cmd log shows any details about parsing or loading or why this is not visible.
Is there a logging or build facility of any kind where you can see what is wrong?
Why can't I see anything in the Toolbox under User Extensions?
It seems that perfection and magic is required.
Since Sencha-Market appears dead for now, are there any pre-built AUX files out there that I can try?
Ok, I found this one https://github.com/gportela85/DateTimeField
and it installs ok but it not visible in the toolbox either!?
It need it to load with Sencha Architect 4 and an ExtJS6.2.1 modern project?
Is all this problem because I have a modern project? or is there a bug?
Carl
I can successfully load an extension but I see nothing in the toolbox.
I am relatively new to Architect 4 and I am trying to create a user extension for the first time.
I have followed all the details to set up my source, my package.json and architect/definition files.
http://docs.sencha.com/architect/4/guides/reference/user_extension_structure.html
The documentation seems to imply that just by copying the files to:
C:\Users\YOURNAME\Documents\Architect\Extensions\MyExtension\1.0\
where
C:\Users\YOURNAME\Documents\Architect\Extensions\
is in the 'preferences' of Architect.
you can then somehow magically:
"Open an Architect project that uses a compatible framework and use your user extension"
"Then you can simply right-click and Package Extension to create an AUX file."
Well, if the extension is not magically showing up in the toolbox under user extensions, you can't
save it.
Ok, so instead I created a zip file manually, renamed it .AUX, cleared the MyExtension/1.0 folders
and then from a new blank project opened the new .aux with 'install user extensions'.
It briefly popped up a help bubble that said it was successful!
56020
Indeed it unpacked it to C:\Users\YOURNAME\Documents\Architect\Extensions\extensionname\version
and the version matched what I had in the package.json.
But it is still not visible use user-extensions in the toolbox.
56021
Nothing in the Cmd log shows any details about parsing or loading or why this is not visible.
Is there a logging or build facility of any kind where you can see what is wrong?
Why can't I see anything in the Toolbox under User Extensions?
It seems that perfection and magic is required.
Since Sencha-Market appears dead for now, are there any pre-built AUX files out there that I can try?
Ok, I found this one https://github.com/gportela85/DateTimeField
and it installs ok but it not visible in the toolbox either!?
It need it to load with Sencha Architect 4 and an ExtJS6.2.1 modern project?
Is all this problem because I have a modern project? or is there a bug?
Carl