Framework changes don't reflect

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Framework changes don't reflect

Post by jtaljaard »

I am going through the demo for RAMP/Visual LANSA and no matter what I do, any changes I make to the framework be it my own or what the demo says, do not show when I execute the VLF-One application.

I also have to manually copy Framework files over from the C:\Program Files (x86)\LANSA\X_WIN95\X_LANSA\x_dev\execute over to the IBMi server's IFS directory \\(IBMi Server IP)\root$\LANSA_dcxpgmlib\x_lansa\x_DEV\execute, which I assume should be an automatic process? Without doing this I cannot sign into my VLF-One application.

The URL must also be edited to point to the correct location before executing the VLF-One application. Should this not autofill based on configurations?
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Re: Framework changes don't reflect

Post by jtaljaard »

When I copied over the files manually from the Application server to the IBMi server the changes started to reflect but I am presented with this error:
Screenshot 2023-09-27 101001.png
Screenshot 2023-09-27 101001.png (89.65 KiB) Viewed 8621 times
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Framework changes don't reflect

Post by René Houba »

Hi jtaljaard,

In the message I see localhost, so I assume that this is a mixed multi tier environment. Correct?
--> So a Windows web server with IIS in front of your iSeries.

Kind regards,
René
jtaljaard
Posts: 37
Joined: Thu Sep 21, 2023 9:29 pm

Re: Framework changes don't reflect

Post by jtaljaard »

I see it was because I saved my framework but did not copy over the .js files in the /web/vl directory manually.

Including the updated files:
C:\Program Files (x86)\LANSA\X_WIN95\X_LANSA\x_dev\execute over to the IBMi server's IFS directory \\(IBMi Server IP)\root$\LANSA_dcxpgmlib\x_lansa\x_DEV\execute
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Framework changes don't reflect

Post by René Houba »

OK great, so this is solved now.

For VLF-ONE you need to manually copy the changes indeed to the IFS, or you can do it via an external resource component in the VL IDE.

See:
https://docs.lansa.com/15/en/lansa050/i ... E%7C_____3
VLFONE changes to IFS.PNG
VLFONE changes to IFS.PNG (179.21 KiB) Viewed 8578 times
Kind regards,
René
Post Reply