Introduction
If you are using Migrations such as Text outputs or similar, you may encounter scenarios where you wish or need to have a carriage return.
Step-by-step guide
In order to do this, you will need to configure the following:
- Create an Index Field and set the datatype to "Memo". Move this field to the bottom of the list, so it is the last Index Field (In Step 6)
- You can also choose to "Hide" this field under "Field Options" so it is not displayed to the user and it cannot be modified as shown above.
- Check "Use a Custom Validation Script" and click on the "Edit" button located on the bottom right of the window.
- Launch the script editor, and go to DocumentDataRecordInitialize
- Add the following into the script location: dataRecord["newline"].Value = Environment.NewLine + Environment.NewLine;
- Click on "Build & Save" in the upper left corner of the window.
- Make sure that the Memo field is the last index field on the Field Settings tab in the Migration you are using.
To recap, the Index Field must be configured as datatype "Memo", and it needs to be the last index field in Step 6. Use the custom validation script, and under Step 9, edit your Migration and ensure that the Field Settings tab has the Index Field as the last field (all other user defined index fields must be above)
If you are still experiencing difficulties, please contact our Support team by:
- Phone (949) 916-7700 ext. 2
- Email support@psigen.com
- Remote Session Portal
Table of Contents
Related articles
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: