How to know the version of sencha from the code - extjs

I got an existing old application and I am trying to customize the same. Since it is an old application built in Ext JS/Sencha, the version of Ext js i see from my web console is 1.1.1.
Ext.version gives 1.1.1 as the result. So how will i know which version of sencha it is ? like sencha 2.3.1 is the latest.
I am new to sencha and hence i am not sure about how to check the version and also how the Ext js version is related to sencha version.
I hope the latest Extjs version is 4.x series and sencha is 2.3.1.
So for my existing application , Ext js version is 1.1.1 and i need to know the sencha version of the same.
Please help.

Sencha is the company behind ExtJS and Sencha Touch. There is no version number for sencha.
If you are working with ExtJS (the desktop framework) the latest version is 4.2.2 and for Sencha Touch (the mobile version of the framework) the latest version is 2.3.1.
The latest version numbers are availible here: http://docs.sencha.com
Ext.version
is always the right attempt to get the version number, no matter if Sencha touch or ExtJS.

For the core you can try the following from the JS console:
Ext.versions.core.version
For other components just replace the word "core" in the previous command with the component name. e.g to get the "extjs" version you would type :
Ext.versions.extjs.version

Related

How to upgrade Sencha ExtJS6 to ExtJS7

How can one upgrade Sencha ExtJS v6.2.0.103 to ExtJS v7. I do see Upgrade Guide but it does not mention anything
https://docs.sencha.com/extjs/7.0.0/guides/whats_new/api_diffs/700_classic_diff.html
Sencha's upgrade page could be better...
Here's a user who figured it out
https://www.sencha.com/forum/showthread.php?323886-How-to-upgrade-your-workspace-to-latest-Cmd-and-ExtJS
If you are using Sencha's npm (ExtGen) tooling, you can upgrade your existing application using the ext-movetolatest utility. This will take of the necessary configuration updates to package.json, webpack.config.js, app.json, etc.
You can migrate your project from a standard ExtJS + Sencha Cmd application to an ExtGen application using ext-gen migrate

ExtJS upgrade Nightmare 4.2.2 to 5.1 TreePanel breaks (in compatibility mode)

I am upgrading my ExtJS 4.2.2 based application to ExtJS 5.1 using Sencha Cmd.
I am unable to work with TreePanels in the application (the tree collapse functionality has stopped working)
app.json
"compatibility" : {
"ext" : "4.2"
},
This has been identified as a bug EXTJS-14927 reported in Aug 2013. I am not sure what Sencha team is doing with this till date. They are busy making money in launching version 6 7... and 10 but couldn't fix this one till date.
Do we have someone who has found some alternative or a workaround? I will ve grateful.
Heard from the Sencha Support - https://www.sencha.com/forum/showthread.php?291376-Compatibility-mode-breaks-TreeStore

Version of Ext JS used by AEM 6.1

Which version of Ext JS library does AEM 6.1 use? Is there a direct way/console to find this out?
It uses v3.4.0 of ExtJS on top of which the AEM Widget Library is built. You can find the details at /libs/cq/ui/widgets/source/ext/release-notes.html
The following Note is also available at https://docs.adobe.com/docs/en/aem/6-1/develop/components/widgets.html
Adobe Experience Manager is built upon ExtJS 3.4.0.

ExtJS 4.2.2 theming guide mentions sencha app build, but use sencha compile ...?

The ExtJS 4.2.2 theming guide mentions sencha app build, but shouldn't we be using sencha compile ...?
It seems sencha app build is deprecated, but where can we find a doc with examples on how to use sencha compile with the right options and parameters.
For now, what are the equivalents for these commands:
sencha app build
sencha package build
sencha ant clean
Thanks in advance.
You got it wrong: sencha app build supersedes sencha compile, not the vice versa.

Installing Sencha Touch 2 framework

I've a problem with getting Sencha Touch to work. I'm using a MacBook Pro and it's really been a hell installing this framework. Sencha don't seem to have any documentation that fits the latest version of their product and there is no way for me to download an older version from their website. Therefore I need your help!
I've downloaded Sencha SDK, SDKTools and their Cmd-software. The version of the SDK is 2.1.1, the SDKTools is 2.0.0 and I dont know the version of the cmd-software. All three softwares is however the latest from Senchas webpage.
I've placed the SDK under the root of the web server, and I've also installed the SDKTools in the root.
This is the structure I'm currently using:
Root of webbserver:
- SDK
- SDKTools
The SDK works in the way that I can surf into it, by using my browser into the "SDK"-folder. On that page I can view examples of Sencha applications.
When I go the SDK folder via the Terminal, and type "Sencha" - I get the error:
[WARN] The current working directory (/Applications/MAMP/htdocs/SDK) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.
I've googled this and tried the following actions:
1. Placed the SDKTools in the same folder as the SDK.
2. Created a systemfile named .senchasdk with the content "sdk".
3. Created a systemfile named .senchasdk with the content ".".
The first option, naturally doesn't work (didn't differ anything from the previous setup). The 2nd and 3rd action resulted in compilationerrors when typing Sencha in the SDK-folder. Example down below:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module '/Applications/MAMP/htdocs/SDK/command/sencha.js'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)
I've also tried typing "Sencha" from the SDKTools folder, but that doesn't work either. I don't know what this problem comes from and can't find any other solutions to solve this. Does anyone know? Or have any suggestions on solution or part of solution?
Sencha Touch 2.1 doesn't work with SDK Tools anymore. The documentation bundled with Sencha Touch 2.1 is not up-to-date. Here is the good documentation :
http://docs.sencha.com/touch/2-1/#!/guide/command
On their website, you can download the 2.0 version of the Sencha CMD tool which is used instead of SDKTools nowadays. However, if you use the 2.0 version you will meet nothing but trouble since that is outdated. The latest version as of right now is 3.1 and can only be downloadable from your account at support.sencha.com, and not from the download page when not logged in.

Resources