Page 1 of 1

VL-Web error when LANSA web page embedded

Posted: Tue Jun 05, 2018 11:14 pm
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.

Re: VL-Web error when LANSA web page embedded

Posted: Tue Jun 05, 2018 11:40 pm
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 4037 times
If you don't seem them, try recompiling your page.

Re: VL-Web error when LANSA web page embedded

Posted: Wed Jun 06, 2018 10:14 pm
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