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.


Designer Designer Developer Developer Start Start Create form control - Report output link Create form control - Report output link 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. 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. 9. In the Control field, type the report output link control name. Note: Only use letters and numbers, no spaces. 10. If you want to hide the report output link control on the form, select No in the Visible field. 11. If the next control must be positioned on a new line, select Yes in the Append new line field. 12. In the Label field, enter or select a value. 13. In the Documentation section, write the report output link control documentation. For example, describe the purpose and characteristics of the report output link control. 14. 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. Inform developer on  class method to be developed Inform developer on  class method to be developed Develop class method for a Report output link form control Develop class method for a Report output link form control For a form control of type Report output link, a class method is required. A Report output link form control adds a button 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.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. End End End End

Activities

Name Responsible Description

Create form control - Report output link

Designer

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.

Develop class method for a Report output link form control

Developer

For a form control of type Report output link, a class method is required. 

A Report output link form control adds a button 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.

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.

Provide feedback