Tutorial part 3: Create a table by uploading a PDF into ServiceNow Studio
Create a table in your application by adding a PDF into ServiceNow Studio.
Before you begin
Download the PDF for this part of the tutorial: We Volunteer Survey
Role required: admin or delegated_developer
Procedure
- Navigate to your application dashboard tab for the We Volunteer app.
- Select Create.
- In the Create file modal, select Table (sys_db_object).
- Select Continue.
- Select Upload a PDF.
- Select Continue.
- Drag a PDF onto your browser screen or browse for the PDF to upload, and upload the We Volunteer survey template PDF.
-
Select Continue.
Note:It may take a couple minutes to extract the content from the PDF.
-
Enter the following table details:
- Table label: Volunteer Survey Response
- Auto number: True
- Prefix: VSR
- Select Continue.
-
Set the following permissions for each default role.
- Admin role: Select All
- User role: Select Read
- Select Continue.
-
Select Go to PDF extractor.
Note:The PDF extractor opens with the PDF contents on the left side and the tables and fields list on the right. You must select each element from the PDF that you want to bring into the table.
-
Extract the first question by selecting it in the PDF.
A modal opens with the label populated with the question. You can edit the details of the question here.
- Select Field Type and select Choice from the dropdown list.
- Select Choice Type, and select Dropdown --without-- None.
-
Select each check box on the PDF and select Add after each one.
- Select Add field.
- Select the next question on the form to add it to your table.
- Repeat steps 15-17 for the second question.
- For the third question, select it to bring up the editing modal and select True/False as the field type.
- Select Add field.
- Select Add new field.
- Repeat steps 21-22 for questions 4 and 5.
- Select the last two questions one at a time and select Add field.
- Select Save.
- In the File Navigator, expand the Data category, and select Table.
-
Select Open list.
A list of all the tables in your instance opens in a new integrated tab.
- Under the Label column, select Search.
- Enter Location, and press Enter.
- Select the Location [cmn_location] table from the search results.
-
Select Add new field and use the following specifications:
- Column Label: Type
- Type: Choice
- Choice Type: Dropdown with --None--
- Choices: Event, Others
- Select Done.
- Select Save.