Search found 26 matches

by Joop
Thu Feb 22, 2024 12:06 am
Forum: Questions & Answers
Topic: EPC 150060 - anyone applied it yet?
Replies: 7
Views: 26845

Re: EPC 150060 - anyone applied it yet?

We have applied EPC 150060 in our test environment. Everything seems to be working fine except for one thing:
We can't login into our webportal (WAM framework). We get the message: "Call to IIP function WAM0001 failed. Contact your product support".
WAM0001 is a Lansa function and not a WAM (as the ...
by Joop
Mon Nov 06, 2023 9:54 pm
Forum: Questions & Answers
Topic: Change time format of #PRIM_MD.DateTime
Replies: 2
Views: 29529

Change time format of #PRIM_MD.DateTime

Hi,

I was wondering if it at all possible to change the display format to 24 hour format instead of AM/PM:

Image

When I select the hours, the hours are in 24 hour format.
I also would like the seconds not to be displayed.
by Joop
Wed Aug 02, 2023 11:21 pm
Forum: Questions & Answers
Topic: Searching a working example of std_fileupload weblet
Replies: 13
Views: 28700

Re: Searching a working example of std_fileupload weblet

Hi René,

I have tried it on our test partition which has Lansa V15 installed. But it doesn't work there either. I wonder if there needs to be configured something in the webserver to be able to receive files? Like some authority? And I also think we don't have a 'standard' installation concerning ...
by Joop
Wed Jul 26, 2023 10:12 pm
Forum: Questions & Answers
Topic: Searching a working example of std_fileupload weblet
Replies: 13
Views: 28700

Re: Searching a working example of std_fileupload weblet

Hi Dino,

Thanks for your reply. Unfortunately I still can not get it to work. Even if I keep the webroutine more or less empty it keeps giving of this Invalid web request error. I think it might have something to do with our webserver or something. I will have to look into that.
by Joop
Mon Jul 24, 2023 11:41 pm
Forum: Questions & Answers
Topic: Searching a working example of std_fileupload weblet
Replies: 13
Views: 28700

Re: Searching a working example of std_fileupload weblet

Hi René,

I tried again today and so far I can click on the Select Files button and select 1 or more files. But as soon as I click on the Upload button behind one of the the filenames, I get an "Invalid web request" error. I have selected a valid IFS path for the files to be uploaded to. Do you have ...
by Joop
Tue Jul 18, 2023 5:47 pm
Forum: Questions & Answers
Topic: Searching a working example of std_fileupload weblet
Replies: 13
Views: 28700

Re: Searching a working example of std_fileupload weblet

René, thanks (again)! I'll give it another try today.
by Joop
Mon Jul 17, 2023 10:55 pm
Forum: Questions & Answers
Topic: Searching a working example of std_fileupload weblet
Replies: 13
Views: 28700

Re: Searching a working example of std_fileupload weblet

Hi René,

I've given it a try but it does not seem to work unfortunately. This is (part of) my code:

Define Field(#BIFRetCode) Type(*Char) Length(2) Label('BIF return code')
Define Field(#FilePath) Type(*String) Length(256) Desc('Full upload path from web')
Define Field(#FileNaam) Type(*String ...
by Joop
Mon Jul 17, 2023 8:02 pm
Forum: Questions & Answers
Topic: Searching a working example of std_fileupload weblet
Replies: 13
Views: 28700

Re: Searching a working example of std_fileupload weblet

Thanks René! I'll give it a try!
by Joop
Mon Jul 17, 2023 6:34 pm
Forum: Questions & Answers
Topic: Searching a working example of std_fileupload weblet
Replies: 13
Views: 28700

Searching a working example of std_fileupload weblet

Hi,

I am looking for a working example of the std_fileupload weblet in a WAM. Has anyone ever used it?
by Joop
Fri Jun 24, 2022 8:28 pm
Forum: Questions & Answers
Topic: Example on how to use XMLWriterService
Replies: 2
Views: 4715

Re: Example on how to use XMLWriterService

Hi Dino,

Thanks for your extensive reply! I will definitely look into the XMLBindFileService. It seems fairly easy to use.
by Joop
Thu Jun 23, 2022 7:13 pm
Forum: Questions & Answers
Topic: Example on how to use XMLWriterService
Replies: 2
Views: 4715

Example on how to use XMLWriterService

Hi All,

I was wondering if someone could provide me with an example of how to use the (Lansa 14) XMLWriterService? The documentation lacks in providing a proper example that includes a resulting XML file.

I'm trying to create an XML file like this:

<?xml version="1.0" encoding="UTF-8" standalone ...
by Joop
Fri Mar 11, 2022 6:46 pm
Forum: Questions & Answers
Topic: 'XPRIM_HttpRequest.doPOST' JSON nesting?
Replies: 7
Views: 11732

Re: 'XPRIM_HttpRequest.doPOST' JSON nesting?

Thanks Brendan!

We are indeed in the process of upgrading to Lansa 15. Test environment is already set up.
by Joop
Wed Mar 09, 2022 1:28 am
Forum: Questions & Answers
Topic: 'XPRIM_HttpRequest.doPOST' JSON nesting?
Replies: 7
Views: 11732

Re: 'XPRIM_HttpRequest.doPOST' JSON nesting?


There is currently a known issue with the XPRIM_HttpRequest where the "Content-Type" is sent incorrectly as "application/json; charset=utf-8" instead of just "application/json". This could possibly be the issue. Some servers are more strict than other in validating incoming requests. Contact LANSA ...
by Joop
Fri Dec 04, 2020 1:06 am
Forum: Questions & Answers
Topic: Displaying several images (BLOBs) at once in a WAM
Replies: 4
Views: 10708

Re: Displaying several images (BLOBs) at once in a WAM

Hi Dino,

I did indeed put the REPLACE(*YES) in the copy statement but that's okay the way we are using it. But thanks for the heads up!
Thanks again for your reply.
by Joop
Thu Dec 03, 2020 10:51 pm
Forum: Questions & Answers
Topic: Displaying several images (BLOBs) at once in a WAM
Replies: 4
Views: 10708

Re: Displaying several images (BLOBs) at once in a WAM

Hi Dino,

Thanks for your reply and time to make this example. I've tried it on our system and it works like a charm!
I'm very happy :D
by Joop
Fri Nov 27, 2020 9:17 pm
Forum: Questions & Answers
Topic: Displaying several images (BLOBs) at once in a WAM
Replies: 4
Views: 10708

Displaying several images (BLOBs) at once in a WAM

Hi,

I want to create a WAM that displays serveral images (stored in BLOB fields) on one page. So far (with the help of the documentation) I can produce a list of links (anchor). When you click on a link the image is opened in a new tab of the browser. This method uses the webroutine with the ...
by Joop
Wed Sep 02, 2020 2:12 am
Forum: Questions & Answers
Topic: Change background color of grid header / listview header
Replies: 2
Views: 13266

Re: Change background color of grid header / listview header

Hi Joe,

Thanks, but I am programming for good ol' Windows :-) So I'm using a grid and list view in a reusable part.
by Joop
Tue Sep 01, 2020 11:14 pm
Forum: Questions & Answers
Topic: Change background color of grid header / listview header
Replies: 2
Views: 13266

Change background color of grid header / listview header

Hi all,

I was wondering if it is at all possible to change the background color of a grid header / listview header in Visual Lansa? If so, can anyone tell me how to do that? I have applied a visual style (or style) but then the background of the whole grid/list view changes.
by Joop
Thu Jul 02, 2020 4:59 pm
Forum: Questions & Answers
Topic: Pass name of field to subroutine and then refer to real field
Replies: 5
Views: 10661

Re: Pass name of field to subroutine and then refer to real field

Hi Casey,

You are right! The class needed to be changed. Now it works.
Thanks again for your input.
by Joop
Wed Jul 01, 2020 7:35 pm
Forum: Questions & Answers
Topic: Pass name of field to subroutine and then refer to real field
Replies: 5
Views: 10661

Re: Pass name of field to subroutine and then refer to real field

Hi Casey,

I don't think your solutions works for me. I'm using a reusable part with some fields on it. Not every user can view and/or update the fields. I wanted to make a generic subroutine / mthroutine to determine if a passed field should be read-only or visible at all. The code below does not ...