Installation guide
Zetadocs for NAV Installation Guide
This edition 5
th
December 2012 © Copyright Equisys plc 2012 All trademarks acknowledged All rights
reserved
Page 129
23. Adding Capture Essentials features in other
areas of NAV
23.1 Adding Capture Essentials Features to Forms
To add Capture Essentials to a specific form you need to do the following.
Open the object designer (Shift + F12) and select the form that needs to be modified and click the
Design button.
When the Design view opens select ViewCA/L Globals.
Create a global variable with the characteristics:
o Name: RecRef
o Type: RecordRef
Select the Functions tab and then create a global function
o Name: SetRecordID
Click ViewC/AL Code or press F9 to open the C/AL Editor, scroll down the list until you reach the
SetRecordID section.
Add the following code:
RecRef.GETTABLE(Rec);
CurrForm.DragAndDropSubForm.FORM.SetRecordID(RecRef.RECORDID);
Create a subform from the toolbox and place above the buttons making it the width of the items
grid.
Select the Properties for the new subform and give it the following properties:
o Name: DragAndDropSubForm
o HorzGlue: Both
o VertGlue: Bottom
o Border: No
o SubFormID: Zetadocs Drag and Drop Subform (ID:9010010)
Figure 55 - Zetadocs Drag and Drop in the classic client
Select the main form again and click ViewC/AL Code or press F9 to open the C/AL Editor.