You can add a control of type Report output link to a form. As a result, a button is added to the form. If clicked, a file is opened and shown on the mobile device.


To be able to open the file, a class method is required that gets the file from a location that is both accessible from the mobile device and from the AOS.
Ask a developer to develop this class method. In the onLoad method of the form, the report output control must be activated. The path to the file must be defined with the reportFilePath method, which is available from the user control class.


Standard procedure

1. Click Mobility design.
2. Click the Forms tab.
3. In the list, find and select the desired record.
4. Click Edit.
5. If you add a control, it is positioned before the selected control on the form.
  On the preview, select the desired control.
 

Note: If the control list is shown instead of the preview, in the list, find and select the desired control.

6. On the Properties tab, click Add.
7. Click Report output link.
8. Sub-task: Define control properties.
  8.1 In the Control field, type the report output link control name.
 

Note: Only use letters and numbers, no spaces.

  8.2 By default, the report output link control is shown on the form.
  If you want to hide the report output link control on the form, select No in the Visible field.
  8.3 By default, the next control is positioned on the same line.
  If the next control must be positioned on a new line, select Yes in the Append new line field.
  8.4 You can use a label for the display name of the check box.
  In the Label field, enter or select a value.
9. In the Documentation section, write the report output link control documentation. For example, describe the purpose and characteristics of the report output link control.
10. To show the added control on the preview, on the Design tab, click Refresh.

Notes

  • In general, if you add a form control, it is positioned before the selected control on the form.
  • Where the control is exactly positioned on the preview, also depends on:
    • The Append new line property of the previous control and of the added control.
    • The preview style sheet.
  • You can use the Up and Down buttons on the Properties tab to move a form control to another position on the form.

Related to Notes

Report output link

 

Provide feedback