Search found 121 matches

by caseywhite
Wed Sep 09, 2020 7:39 am
Forum: Questions & Answers
Topic: How to insert a hyperlink in a mail body text with SMTPMailService
Replies: 1
Views: 92

Re: How to insert a hyperlink in a mail body text with SMTPMailService

There isn't such a comment. Assuming you are sending the content as HTML then you would just code the content of your message using the HTML that creates a hyperlink. e.g. <a href="YOUR_URL">TEXT FOR THE URL</a>
by caseywhite
Sat Aug 08, 2020 7:38 am
Forum: Questions & Answers
Topic: Virtual Field
Replies: 1
Views: 265

Re: Virtual Field

I suspect the issue is that single digit numbers are being set to a 1 character string instead of 2 character string left padded with 0's. If you change your code to the following it will probably resolve your issue. #SOendymd := (#soendy.AsString.RightAdjust(2 '0') + #soendm.AsString.RightAdjust(2 ...
by caseywhite
Thu Jul 02, 2020 1:20 am
Forum: Questions & Answers
Topic: Pass name of field to subroutine and then refer to real field
Replies: 5
Views: 601

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

I think you just need to change the class of the define_map in uSetField. It should be #PRIM_EVEF not #FIELDNAME.Visual. You can figure out the class to use by going to the Outline view. Right click on the fields and you will see the PRIM class for the fields is PRIM_EVEF. See the simplified code be...
by caseywhite
Wed Jul 01, 2020 2:23 am
Forum: Questions & Answers
Topic: Pass name of field to subroutine and then refer to real field
Replies: 5
Views: 601

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

You can't use a subroutine but you can use a method routine. You can pass in the object to a method and have the method manipulate the object. If all objects will be of the same type use the approach in umSetReadOnly2 otherwise you could use the approach in umSetReadOnly where you receive a PRIM_OBJ...
by caseywhite
Tue Jun 30, 2020 4:00 am
Forum: Questions & Answers
Topic: Any Microsoft 365 users?
Replies: 15
Views: 1306

Re: Any Microsoft 365 users?

You should be able to put it in the X_LANSA.PRO file in the X_WIN95\X_LANSA directory.
by caseywhite
Sat Jun 27, 2020 4:31 am
Forum: Questions & Answers
Topic: Task Tracking - Revert Local Changes
Replies: 4
Views: 510

Re: Task Tracking - Revert Local Changes

One other thing to mention, the unlock will still leave it on the task. So if you need to remove it from the task you need to go into Housekeeping and release the lock. Unlock is with respect to the IDE and not the task.
by caseywhite
Sat Jun 27, 2020 2:01 am
Forum: Questions & Answers
Topic: Task Tracking - Revert Local Changes
Replies: 4
Views: 510

Re: Task Tracking - Revert Local Changes

Joe, you should be able to Unlock it from the IDE by right clicking on the object. After it unlocks you can then check it out either for update or readonly.
by caseywhite
Tue Jun 23, 2020 4:25 am
Forum: Questions & Answers
Topic: Any Microsoft 365 users?
Replies: 15
Views: 1306

Re: Any Microsoft 365 users?

You should be able to specify it in the X_RUN parameters. See below. I can't remember if JIT will deploy a new X_RUN parameter though. https://docs.lansa.com/14/en/lansa022/index.htm#lansa/l4wdplb3_0100.htm%3FTocPath%3DLANSA%2520Application%2520Deployment%2520Tool%7C8.%2520Options%2520and%2520Settin...
by caseywhite
Fri Jun 19, 2020 3:21 am
Forum: Questions & Answers
Topic: Any Microsoft 365 users?
Replies: 15
Views: 1306

Re: Any Microsoft 365 users?

For the 3rd party image viewer, could it be messing up or maybe truncating the path? For Theo's suggestion I don't think you can set a TPTH by PC but would you need to have a different TPTH depending on user type. What if all users used the same TPTH that you know is on ALL PCs regardless of type of...
by caseywhite
Thu Jun 18, 2020 8:19 am
Forum: Questions & Answers
Topic: Any Microsoft 365 users?
Replies: 15
Views: 1306

Re: Any Microsoft 365 users?

Thanks Casey. It could be either one of those I guess. Is that an EPC Or known issue? ov_Sys_info had the same info as *TEMP_DIR Not sure if it is an EPC or known issue. I was wondering if somehow *TEMP_DIR wasn't returning the correct temp directory. I am not sure I fully understand the issue thou...
by caseywhite
Thu Jun 18, 2020 2:48 am
Forum: Questions & Answers
Topic: Any Microsoft 365 users?
Replies: 15
Views: 1306

Re: Any Microsoft 365 users?

Hi Art. Have you tried to run the BIF OV_QUERY_SYS_INFO to see what comes back for TEMP_DIR and compare it to what *TEMP_DIR indicates. See link to the OV_QUERY_SYS_INFO doco. https://docs.lansa.com/14/en/lansa015/content/lansa/ov_query_sys_info.htm Is the issue that LANSA thinks *TEMP_DIR is in a p...
by caseywhite
Thu Apr 02, 2020 9:01 am
Forum: Questions & Answers
Topic: under the browse list (AS400/IBM I)
Replies: 2
Views: 1173

Re: under the browse list (AS400/IBM I)

I haven't looked at green screen code in a long time but I did figure out how you might be able to do what you want depending on whether you need fields to be input capable. Check out the help on the DISPLAY/REQUEST command and look at the OPTIONS parm. You can use *NOREAD on the first DISPLAY which...
by caseywhite
Tue Mar 24, 2020 5:41 am
Forum: Questions & Answers
Topic: Object won't compile
Replies: 12
Views: 3062

Re: Object won't compile

It could be that the object is locked to the same task but to a different PC. Instead of closing the whole task you could just drop the task lock for that one object. To do that in green screen: 1. Housekeeping 2. Work with Tasks 3. Find your task and 5 r 4. 5 to Review Task History 5. Find the obje...
by caseywhite
Thu Feb 20, 2020 4:25 am
Forum: Questions & Answers
Topic: Calling and RDMLX function in IBM and passing parameters
Replies: 2
Views: 1650

Re: Calling and RDMLX function in IBM and passing parameters

You can also use LANSA REQUEST(RUN) to call an RDMLX but you would be limited to passing fields up to 256 characters in length. While the documentation below says M@EXCHL does not support RDMLX, it would seem to mean that you can't call the function using LANSA REQUEST(X_RUN). https://docs.lansa.com...
by caseywhite
Wed Feb 19, 2020 10:36 am
Forum: Questions & Answers
Topic: Storing Documents Created on IBMi Server in AWS S3
Replies: 3
Views: 1614

Re: Storing Documents Created on IBMi Server in AWS S3

Thanks Gary. I will review this.
by caseywhite
Sat Feb 15, 2020 3:43 am
Forum: Questions & Answers
Topic: Storing Documents Created on IBMi Server in AWS S3
Replies: 3
Views: 1614

Storing Documents Created on IBMi Server in AWS S3

Has anyone created a solution where you create documents on your IBMi server and then store them in AWS S3? We want to allow users to submit requests for downloads and make them available for a period of time. Rather than storing these documents on the IBMi server we would like to put them in S3 ins...
by caseywhite
Wed Nov 06, 2019 5:53 am
Forum: Questions & Answers
Topic: Lansa Integrator - Service_Get Trace(*path) for SMTPMailService doesn't work
Replies: 5
Views: 862

Re: Lansa Integrator - Service_Get Trace(*path) for SMTPMailService doesn't work

Strange. So it is not just ending up in the standard /jsm/instance/trace folder? That must be a bug. I am on 14SP0 and see it appear in /jsm/instance/trace.
by caseywhite
Wed Nov 06, 2019 5:50 am
Forum: Questions & Answers
Topic: Servermodule log
Replies: 2
Views: 804

Re: Servermodule log

Sorry I don't have an example, but I think you should review the Consuming Web Services document. It has lots of information about how to send your JSON data and process the response. I suspect this is what you are looking for.

https://docs.lansa.com/14/en/lansa018/c ... _begin.htm
by caseywhite
Sat Oct 26, 2019 6:05 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 1499

Re: LANSA integrator, SOAP agent and SSl

I haven't seen that error before. I like to put my cacerts.jks in the pki subdiretory within the instance directory. So my reference to the cacerts.jks would be =pki/cacerts.jks instead of =cacerts.jks

Not sure if that will resolve your issue but could be worth a try.
by caseywhite
Thu Oct 24, 2019 7:16 am
Forum: Questions & Answers
Topic: LANSA integrator, SOAP agent and SSl
Replies: 10
Views: 1499

Re: LANSA integrator, SOAP agent and SSl

You need to update the manager.properties to point to the .jks file. Set the javax.net.ssl.keyStore* and javax.net.ssl.trustStore* values. See these 2 help links for more info. https://docs.lansa.com/14/en/lansa093/content/lansa/intb6_0075.htm https://docs.lansa.com/14/en/lansa093/content/lansa/jmp_...