Within the Landmark code it is very easy to add attachment functionality to different areas of the application. In this example we are adding attachments to the Session page within Lawson Talent Management.
Why was this done?
Customer wanted file attachment capability on Session
Where was this done?
Within the Persistent Fields of Session (bl) and Forms section of Session (ui).
Session.busclass (bl)
Persistent Fields ... //SessionAttachment is the name we are giving the attachment field SessionAttachment is an Attachment
Session.busclass (ui)
Within the user interface file locate where you would like the attachment to display, in this case we are using the SessionContextForm.
//FORMS SessionContextForm is a Form // Form used to define the Session ... ShortDescription //add field for attachment SessionAttachment.File label is "SessionAttachment" single column Description