CAD · Question #63
You are developing the MyApp application that has a table, Table A. When the MyApp application is installed on an instance, you want Table A's records to be installed as part of the application. Table
The correct answer is B. Table A's records are added to the application record using the Create Application Files context. For an application's table records to be installed as part of the application, those records must be explicitly included as application files.
Question
You are developing the MyApp application that has a table, Table A. When the MyApp application is installed on an instance, you want Table A's records to be installed as part of the application. Table A's records will be installed when:
Options
- ATable A is active and extends the Task table
- BTable A's records are added to the application record using the Create Application Files context
- CTable A has an automatic number counter for new records
- DTable A is not included in the System Clone > Exclude Tables list
How the community answered
(28 responses)- A4% (1)
- B79% (22)
- C11% (3)
- D7% (2)
Why each option
For an application's table records to be installed as part of the application, those records must be explicitly included as application files.
Table properties like activity or inheritance from the Task table do not automatically include its records as application files for installation.
To include specific records from a table as part of an application installation, developers must add them to the application using the 'Create Application Files' context menu action on the record. This action marks the data instances as deployable artifacts, ensuring they are packaged and deployed along with the application.
An automatic number counter for new records is a table property, not a mechanism for including existing records in an application package for deployment.
The System Clone > Exclude Tables list pertains to data cloning between instances, not to the inclusion of application-specific records during application installation.
Concept tested: Including data records in applications
Source: https://docs.servicenow.com/bundle/washingtondc-application-development/page/build/applications/task/include-data-records-in-app.html
Topics
Community Discussion
No community discussion yet for this question.