Search found 19 matches

by trossiter
Wed Oct 25, 2017 12:47 am
Forum: Questions & Answers
Topic: Getting a framework business object name
Replies: 3
Views: 1195

Re: Getting a framework business object name

I think I just answered my own question. I'll just use a different command for the second business object and get the command name.
by trossiter
Wed Oct 25, 2017 12:24 am
Forum: Questions & Answers
Topic: Getting a framework business object name
Replies: 3
Views: 1195

Getting a framework business object name

I have two different business objects that both use the same reusable part for their command handler. The command handler has two buttons on it, but I would like to hide the button when the command handler is executed under one business object and show it under the other. I know you can get the comm...
by trossiter
Fri Apr 21, 2017 5:46 am
Forum: Questions & Answers
Topic: Exchange from form to function and back
Replies: 8
Views: 1934

Re: Exchange from form to function and back

I found out what was going on. Since this function can be called from both RDML functions and RDMLX functions, I thought I should use Menu Msgtxt() to display messages. Using Menu causes the function to end prematurely and return to its menu screen when used on an AS400 session. This would occur bef...
by trossiter
Wed Apr 19, 2017 12:50 am
Forum: Questions & Answers
Topic: Exchange from form to function and back
Replies: 8
Views: 1934

Re: Exchange from form to function and back

Not quite. The function originally would take some address fields as input and call a SOAP service I created in Integrator to validate and correct the address information. My client wanted a few other fields added to collect additional information from the service, so I created those and mapped them...
by trossiter
Tue Apr 18, 2017 6:43 am
Forum: Questions & Answers
Topic: Exchange from form to function and back
Replies: 8
Views: 1934

Re: Exchange from form to function and back

After changing the Exchange command at the end of my function to insert a record to my work file, I've come to the conclusion that my function is having some kind of issue performing I/O operations. There is no record in my file when there should be one. When I copy the code from my function and pla...
by trossiter
Tue Apr 18, 2017 6:00 am
Forum: Questions & Answers
Topic: Exchange from form to function and back
Replies: 8
Views: 1934

Re: Exchange from form to function and back

I've decided to use a work file to temporarily store the values I'm trying to pass back, keyed by username. When the function returns control to the form, I'll just perform a fetch to get the values I need and delete the record in the file.
by trossiter
Tue Apr 18, 2017 4:01 am
Forum: Questions & Answers
Topic: Exchange from form to function and back
Replies: 8
Views: 1934

Exchange from form to function and back

I have a form that calls a function to manipulate some input data. The function does its thing and exchanges back the same fields that were used for input as well as some other fields. This was working before. Since then, I have added a custom error return code field that is exchanged from the funct...
by trossiter
Wed Mar 29, 2017 1:37 am
Forum: Questions & Answers
Topic: VLF-WIN Mini Filter
Replies: 3
Views: 1353

Re: VLF-WIN Mini Filter

I switched back to using control components, and somehow it's working correctly this time. I'm able to add a visual style to the buttons, and that is solving my problem.
by trossiter
Tue Mar 28, 2017 11:54 pm
Forum: Questions & Answers
Topic: VLF-WIN Mini Filter
Replies: 3
Views: 1353

Re: VLF-WIN Mini Filter

Sorry I hadn't replied sooner. I got the mini filter to work by using #com_owner.avMiniFiltField1, avMiniFiltButton1 and avMiniFiltButton2 rather than using control components like I had in the previous version of LANSA. Now my question is: Since the framework theme makes the buttons have white text...
by trossiter
Fri Mar 24, 2017 12:50 am
Forum: Questions & Answers
Topic: Show documents in VL Web
Replies: 5
Views: 1977

Re: Show documents in VL Web

I may have found a way to do this by accident, but I'm not sure. The reusable part I was writing used a modified copy of the LANSA supplied reusable part UF_VATT - Attached Documents. I forgot to call the uLoadTray method in my reusable part. When I viewed an item that had an attached document, inst...
by trossiter
Fri Mar 24, 2017 12:13 am
Forum: Questions & Answers
Topic: Read only radio button
Replies: 2
Views: 1157

Re: Read only radio button

Are you setting its ReadOnly property to True because you don't want the user to change it? If so, I would set its Enabled property to False instead. This will grey it out and visually tell the user that this radio button's value currently cannot be changed. Just make sure you do the same for the re...
by trossiter
Wed Mar 08, 2017 4:23 am
Forum: Questions & Answers
Topic: VLF-WIN Mini Filter
Replies: 3
Views: 1353

VLF-WIN Mini Filter

I am working on a business object for my client to work with product support call logs. The old filter I was using contained a field for the customer number and two buttons that affected how the business object performed. One button would populate the instance list with the matching customer from th...
by trossiter
Sat Feb 25, 2017 12:53 am
Forum: Questions & Answers
Topic: LANSA Integrator & 3rd Party SOAP Services
Replies: 8
Views: 1808

Re: LANSA Integrator & 3rd Party SOAP Services

It is, that was a typo on my part. Reading up on the SOAP service tutorial some more, I saw in the example form they use that the names of the fields being used is not just the field name in the repository, i.e. the DEPTMENT field is called in_dept, and DEPTMENT is set to this value before that part...
by trossiter
Sat Feb 25, 2017 12:21 am
Forum: Questions & Answers
Topic: LANSA Integrator & 3rd Party SOAP Services
Replies: 8
Views: 1808

Re: LANSA Integrator & 3rd Party SOAP Services

That's what I'm using. The first SET FRAGMENT command for the overall fragment goes through OK, but the next SET FRAGMENT command for the first subfragment is where it fails. It is inside a loop (I'm guessing to get all mapped fields). I did add a leave statement before the CHECK subroutine to leave...
by trossiter
Fri Feb 24, 2017 8:50 am
Forum: Questions & Answers
Topic: LANSA Integrator & 3rd Party SOAP Services
Replies: 8
Views: 1808

Re: LANSA Integrator & 3rd Party SOAP Services

I was using the wrong port for my JSM server on my Use Builtin(JSMX_OPEN) call. I can now get to where it starts to prepare the outbound parameter fragments. The way they are set up, there is one parameter fragment I named REQUEST that is made up of two more fragments named INPUT and OPTIONS. The JS...
by trossiter
Fri Feb 24, 2017 8:24 am
Forum: Tips and Techniques
Topic: List of my favorite VL IDE shortcuts
Replies: 4
Views: 4487

Re: List of my favorite VL IDE shortcuts

There is one shortcut I didn't see in the documentation. If you use the auto complete prompter when writing code and it happens to go away, press Ctrl + Space to bring it back.
by trossiter
Fri Feb 24, 2017 12:13 am
Forum: Questions & Answers
Topic: LANSA Integrator & 3rd Party SOAP Services
Replies: 8
Views: 1808

Re: LANSA Integrator & 3rd Party SOAP Services

I changed the outbound parameter and inbound response to fragments, and I can now map my repository fields to the corresponding parts. I was able to get the jar and properties files published to my JSM server and use the generated code. I placed the RDML into a function and the RDMLX in a click rout...
by trossiter
Thu Feb 23, 2017 1:51 am
Forum: Questions & Answers
Topic: LANSA Integrator & 3rd Party SOAP Services
Replies: 8
Views: 1808

Re: LANSA Integrator & 3rd Party SOAP Services

Update on my situation. I was able to fix the compiler runtime error by setting the Java Runtime and Compiler settings from the defaults to the executables on my C drive. I must have missed that part in the tutorial. I can now get to where I can map outbound parameters and inbound return values, but...
by trossiter
Wed Feb 22, 2017 3:38 am
Forum: Questions & Answers
Topic: LANSA Integrator & 3rd Party SOAP Services
Replies: 8
Views: 1808

LANSA Integrator & 3rd Party SOAP Services

I am trying to create a solution to validate addresses with a third party SOAP service. The host and service URLs use a secure connection (https://), but when I try to define a connection to the server, LANSA Integrator automatically defaults to an unsecure connection (http://). Is there a way to ch...