VL-Web error when LANSA web page embedded

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
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

VL-Web error when LANSA web page embedded

Post by atostaine »

I have a working simple VL-WEB page that asks for first name, last name. They work fine as #FIRSTNAME.VISUAL, #LASTNAME.VISUAL.

I need to change them #LASTNAME.editField to use placeholders. As soon as I change that, the web page crashes with this error.

Any idea what this means?
Error:

Fatal Error:

PRIM_MD doesn't contain a type called PRIM_MD
*edit* I see prim_md is a spin eidt. There is no spin edit on the page. The LANSA web page component is embedded in a WIX page.
Art Tostaine
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: VL-Web error when LANSA web page embedded

Post by jyoung »

I don't know if its related, but I had the same error message after I upgraded to SP2 and discovered the web page was not pulling in the 14_2_0_8 scripts. It was still using the 14_1_50_0 scripts.

You may want to make sure your page is pulling in the right scripts.
In Chrome you can open the developer tools (CTRL + SHIFT + i) and look for the 14_2 versions of the javascript.
Capture.PNG
Capture.PNG (32.28 KiB) Viewed 4033 times
If you don't seem them, try recompiling your page.
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-Web error when LANSA web page embedded

Post by atostaine »

You might be right Joe. During the day yesterday I was playing with this again and it just started working.

The link embedded in the wix page doesn't have developer=yes so that's probably what was going on.

Thanks, Art
Art Tostaine
Post Reply