Search found 47 matches

by Pablo
Fri Nov 01, 2019 3:28 am
Forum: Questions & Answers
Topic: TutorialPublish Error status code 404
Replies: 2
Views: 85

Re: TutorialPublish Error status code 404

Hi,

If you are going to use IBM i you must set up a Windows / Linux to act as front end.

There have been people who set it up, take a look at this thread ... towards the end of it.

viewtopic.php?f=3&t=1915

Hope this helps.
Pablo
by Pablo
Thu Oct 31, 2019 3:38 am
Forum: Questions & Answers
Topic: performance issue opening up dialogs from container
Replies: 7
Views: 467

Re: performance issue opening up dialogs from container

Hi Gary,

Did you get to the bottom of this and if yes could you share your findings?

Thanks in advance.
Pablo
by Pablo
Thu Oct 24, 2019 6:06 am
Forum: Questions & Answers
Topic: performance issue opening up dialogs from container
Replies: 7
Views: 467

Re: performance issue opening up dialogs from container

Hi Gary, Regarding the reason for using Execute vs ExecuteAsynch you can easily solve it by firing an event OnComplete of the server call. Define_evt SomeEvent #ServerRoutine.ExecuteAsync Evtroutine Handling(#ServerRoutine.Completed) Signal SomeEvent Endroutine Then Evtroutine Handling(#com_owner.so...
by Pablo
Sat Oct 19, 2019 2:39 am
Forum: Questions & Answers
Topic: performance issue opening up dialogs from container
Replies: 7
Views: 467

Re: performance issue opening up dialogs from container

Hi Gary, First thing I'd do is use either your browser's developer tools (F12) or Fiddler. Either option will show you the network traffic and the time the different files take to load in numbers and graphically. That'll show you were the bottleneck is which may prompt you to post some other questio...
by Pablo
Fri Oct 04, 2019 12:46 am
Forum: Questions & Answers
Topic: vlweb MD TabSheet
Replies: 2
Views: 164

Re: vlweb MD TabSheet

Hi soa,

There is a shipped example part of the Material Design controls web page xMdMain - View is named xMdTabs.

It seems the tabsheets are PRIM_TBSH which are the sheets you specify in the Tabsheet property of the TabItem you mention in your post.

Hope this helps.

Regards,
Pablo
by Pablo
Mon Sep 30, 2019 11:24 pm
Forum: Questions & Answers
Topic: Arrays
Replies: 4
Views: 225

Re: Arrays

Hi soa, Define_Com Class(#prim_lcol<#std_code>) Name(#MKS) #mks.Insert Item(*New #std_code) #mks.Last := "123" #mks.Insert Item(*New #std_code) #mks.Last := "345" For Each(#item) In(#MKS) #sys_web.Alert Caption(#item.Value) Endfor https://docs.lansa.com/14/en/lansa016/prim_lcol.htm Regards, Pablo
by Pablo
Sat Aug 24, 2019 4:39 am
Forum: Questions & Answers
Topic: Publishing secured Rest API with UserID and Password (RESOLVED)
Replies: 2
Views: 221

Re: Publishing secured Rest API with UserID and Password

Hi Marcel, The session and session key method you are referring to are ignored by the REST Api. The current implementation of REST - v14SP2 + EPCs - does not include security. I believe there will soon be an EPC with major enhancements to the current implementation + security and maybe some other fe...
by Pablo
Fri Jul 26, 2019 12:11 am
Forum: Questions & Answers
Topic: Dynamic menu in VL WEB (SOLVED)
Replies: 2
Views: 200

Re: Dynamic menu in VL WEB

Hi Klaus, You are only instantiating one menu item: #TempItem <= (*New #Prim_Md.MenuItem) Therefore these commands ... Set Com(#TempItem) Parent(#Menu) ... are affecting the one #TempItem you have created and the collection will only have that one item. You need to create the other ones in the same ...
by Pablo
Tue Mar 26, 2019 12:32 am
Forum: Questions & Answers
Topic: Lansa Server Side Function
Replies: 1
Views: 1284

Re: Lansa Server Side Function

Hi Dave,

see this topic:

viewtopic.php?f=3&t=2006&p=5208&hilit=lock#p5208

Regards,
Pablo
by Pablo
Thu Mar 21, 2019 4:11 am
Forum: Questions & Answers
Topic: Disable Autofill function in Browser
Replies: 6
Views: 3468

Re: Disable Autofill function in Browser

Hi Dominique, As a last resort it should be possible to write a widget to do this. Forms have an autocomplete property which turns it off for all fields in a form. Browsers make exceptions with login fields, see 'The autocomplete attribute and login fields' in this link: https://developer.mozilla.or...
by Pablo
Tue Mar 12, 2019 2:11 am
Forum: Questions & Answers
Topic: Heap list completed
Replies: 2
Views: 1706

Re: Heap list completed

Hi Prakash, This type of inquiry is best dealt with by the support team. Also note that the info provided in your post is not enough. You should include the Lansa version, joblog, OS/400 version, maybe some info related to the application like how's the job started, frequency of the crash and anythi...
by Pablo
Sat Mar 02, 2019 4:34 am
Forum: Questions & Answers
Topic: Object Equality
Replies: 2
Views: 1551

Re: Object Equality

Hi Joe, I assume you have a collection and some component that at one point you set to refer to the one you want to store as the current one: Define_Com Class(#Prim_lcol<#MyListFieldsComponent>) Name(#ListEntries) Define_Com Class(#MyListFieldsComponent) Name(#CurrentEntry) Reference(*DYNAMIC) Then:...
by Pablo
Fri Feb 22, 2019 10:24 pm
Forum: Questions & Answers
Topic: dynamic add menuitem to menubar in VL WEB
Replies: 3
Views: 2055

Re: dynamic add menuitem to menubar in VL WEB

Hi, You can set the ComponentTag property when you create the item: Set Com(#TempItem) Parent(#Menu) Caption("Caption Item 1") Displayposition(1) ComponentTag("Item1") Using the collection from my earlier reply, the way to monitor the click event is like this where the Com_Sender is a reference to t...
by Pablo
Fri Feb 22, 2019 2:53 am
Forum: Questions & Answers
Topic: dynamic add menuitem to menubar in VL WEB
Replies: 3
Views: 2055

Re: dynamic add menuitem to menubar in VL WEB

Hi, Create a collection of menu items: Define_Com Class(#Prim_acol<#Prim_Md.MenuItem>) Name(#MenuItems) Then as you instantiate new items you add them to the collection, for example: Define_Com Class(#Prim_Md.MenuItem) Name(#TempItem) Reference(*DYNAMIC) #TempItem <= (*New #Prim_Md.MenuItem) Set Com...
by Pablo
Tue Feb 12, 2019 11:46 pm
Forum: Questions & Answers
Topic: V13 Administrator modul covert to web based application
Replies: 13
Views: 4780

Re: V13 Administrator modul covert to web based application

Hi Priya, OK, but you are specifying a VLF-WIN property and you want to run in a browser so that's never going to work. You need to specify it like this: SnapIn.PNG If your panel does not look like the one above, in the Framework Properties, open the Framework Details tab and make sure you have thes...
by Pablo
Mon Feb 11, 2019 11:58 pm
Forum: Questions & Answers
Topic: V13 Administrator modul covert to web based application
Replies: 13
Views: 4780

Re: V13 Administrator modul covert to web based application

The filter name does not have an underscore.

You put UF_UMF1 but it's UFUMF1. Use the search.
Function UFUMF1 is shipped in v13. The process name is UF_USRM.

Regards,
Pablo
by Pablo
Fri Feb 08, 2019 7:07 am
Forum: Questions & Answers
Topic: Detecting Record Lock
Replies: 5
Views: 2076

Re: Detecting Record Lock

There is actually a Delete check only(*yes) ...
by Pablo
Fri Feb 08, 2019 6:59 am
Forum: Questions & Answers
Topic: Detecting Record Lock
Replies: 5
Views: 2076

Re: Detecting Record Lock

Hi Joe,

try an UPDATE with check_only(*Yes) ... if the record is locked you should be able to tell in the error status.

See https://docs.lansa.com/14/en/lansa015/i ... CHECK_ONLY

Regards,
Pablo
by Pablo
Sat Feb 02, 2019 2:30 am
Forum: Questions & Answers
Topic: Edit/Display text as HTML in VLF command Handler
Replies: 3
Views: 1715

Re: Edit/Display text as HTML in VLF command Handler

Hi Phil, You'd be thinking at writing a widget to wrap around the 3rd party editor. The shipped VLF demo includes a Notes command handler - DF_Note_CommandHandler - attached to Places, Things and People in the Resources Application. The handler uses DF_Note_NoteDetailPanel which is the wrapper aroun...