Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Smart Office
Attachments in LSO
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
sakkatan
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5216
People Online:
Visitors:
26
Members:
0
Total:
26
Online Now:
New Topics
Lawson Add-Ins for Microsoft Office
Deleting an Orphan Time Record with MS Add-ins
12/13/2025 7:26 PM
I have discovered an Orphan Time Record when dumpi
Lawson S3 HR/Payroll/Benefits
Secure 2.0
12/8/2025 9:06 PM
Has anyone using S3 V10 for Benefits been able to
Lawson Add-Ins for Microsoft Office
More.... ic81.2
12/5/2025 10:51 PM
We build our PAR's with MS Addins using IC81 a
Lawson Add-Ins for Microsoft Office
Uploads
11/20/2025 3:32 AM
The Next button has stopped functioning on the upl
S3 Systems Administration
Lawson Security Admin (LSA) - Securing Print Manager to self only
10/24/2025 6:27 PM
Looking for someone who would be willing to share
Lawson Add-Ins for Microsoft Office
Lawson Add-in
9/30/2025 6:51 PM
I am looking for a Lawson Add-ins query to add new
Lawson S3 Procurement
Anyone getting PO 0000 not found for company error in PO23?
9/30/2025 2:45 AM
Anyone getting PO 0000 not found for company error
Lawson Add-Ins for Microsoft Office
PO20 - Cancel PO via Add-in
9/25/2025 8:03 PM
Is it possible to cancel PO's using add-ins? I
S3 Systems Administration
S3 Payroll - PayStubs
9/18/2025 6:58 PM
Looking for a reliable solution to streamline the
S3 Systems Administration
Quick Access report
8/25/2025 7:17 PM
Looking for a good way to see who has access Lawso
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chesca
1042
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
User Experience
Lawson Smart Office
Attachments in LSO
Please
login
to post a reply.
3 Replies
0
Subscribed to this topic
12 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
sVaye
Basic Member
Posts: 10
New Poster
Congrats on posting!
9/20/2011 5:17 PM
Has anyone been able to work with attachments in LSO? With Portal I could use writeattachrec and getattachrec, but I haven't been able to work with Attachments in LSO so far.
Karin
Veteran Member
Posts: 57
9/26/2011 6:10 PM
Split
In LSO we use JScript. There is no direct support but you can try the following.
I should mention that those 2 CGI programs are quite antiquated and I know that IOS has created some ‘actions’ that they would prefer we use:
ADDATTACHMENT
CHANGEATTACHMENT
DELETEATTACHMENT
LISTATTACHMENTS
READATTACHMENT
Here’s an example of building a LISTATTACHMENTS API (in C#):
// build the ListAttachments base API
StringBuilder listApi = new StringBuilder();
listApi.AppendFormat("{0}{1}", S3Constants.ActionFrameworkPath, S3Constants.ListAttachments);
listApi.AppendFormat("?dataArea={0}", form.Productline);
listApi.AppendFormat("&fileName={0}", tableName);
listApi.AppendFormat("&indexName={0}", indexName);
listApi.Append("&outType=XML");
baseApi = listApi.ToString();
Then you have to append a key string. Here’s an example of a fully constructed API:
/lawson-ios/action/ListAttachments?dataArea=PATCH901&fileName=PURCHORDER&indexName=PCRSET7&outType=XML&K1=3535&K2=20100507&K3=333&K4=&K5=0
sVaye
Basic Member
Posts: 10
New Poster
Congrats on posting!
10/3/2011 12:33 PM
Split
Thanks for the help. I was able get started with the StringBuilder, but am having trouble using the S3Constants.ActionFrameworkPath and S3Constants.ListAttachments. Can you tell me what library they're in?
Karin
Veteran Member
Posts: 57
10/3/2011 3:50 PM
Split
In 9.1.3 the S3Constants are in Lawson.Shared.S3 I think the dll is LawsonShared.dll.
The two constants corresponds to ActionFrameworkPath = "/lawson-ios/action/" and ListAttachments = "ListAttachments" so just using those strings will do the trick or using the S3Constant that would be more robust for future change ... even though I don't see why they would change.
Regards
Please
login
to post a reply.