hello,
how Extracting web and backend application source code?
Hi Pratiksha,
Are you talking about extracting the actual .NET source code?
In that case, that question has been asked a few times before here on the Community Forum. Allow me to share some posts you might find useful.
Also review this success article from OutSystems.
In short, source code can only be extracted from On-Premises installations.
Hope this helps!
Regards,
Nordin
Nordin Ahdi wrote:
Hello Nordin,
I continuously doing rnd on this topic. and i find below document.
https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/Web_SAST
But in that document i didn't understand this path
When any code is published using OutSystems, it is first translated before being compiled and deployed to IIS. As such, there is a folder on the platform server where the source code is stored. Customers can take advantage of this and run SAST tools against this. The source code can be found at <PlatformInstallationFolder\Platform Server\share\<ModuleName>\full and includes a Visual Studio .NET project, C#, .aspx, CSS, and JavaScript resources.
Note- I working on an enterprise server.
The document you refer to states:
Source code can only be extracted with a self-managed installation of OutSystems (on-premises, private cloud), or a hybrid deployment that includes self-managed environments in addition to the cloud.
So unless your enterprise server is on-premise, you cannot get access to the generated code, as you will not have access to the IIS for PaaS environments.
Daniel
That is the same success article as I shared with you in my first post.
Indeed, you need to have access to the web application server and IIS, which is only possible if you have a self-managed installation. If you have an On-Premises installation, on the server where you have installed OutSystems Platform Server, you can go to the mentioned path <PlatformInstallationFolder\Platform Server\share\<ModuleName>\full in order to find the generated C#, ASPX, CSS and JS files.
Like Daniel said, this is not possible if you are on an enterprise OutSystems cloud environment.
Hi Nordin'
I was told that we can detach application in Outsystems Cloud & take the .net code out for deployment. Does this not work in Enterprise Cloud Mode as per your inputs ?
Is it possible to view code in development mode ?
Regards
Yogesh Huja
Hi Yogesh,
Like Jeanene stated below, if you want to extract the source code of your OutSystems applications to deploy and run them separately on a server, you can only do so when you decide to completely remove the OutSystems platform.
This is called the detach process and all the information you need around this process can be found in the following article.
Hope this helps.
According to our PaaS agreement we can extract source code if we cancel our Outsystems license, for either on prem or Cloud based. You cannot extract source code from the Free version.
If you wish to extract source code you will need to contact your account rep or raise a support ticket.