Cannot create new records under new CI Class (extended from App Service)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 01:28 AM
Hi everyone,
I'm having difficulty with creating new records under a new CI Class which was extended from the Application Service class (cmdb_ci_service_auto). I tried creating a new CI Class extending from the Mapped Application Service (cmdb_ci_service_discovered) and I am able to create new records there.
Is there some added restrictions extending from the parent App Service class?
Appreciate any help! Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 02:07 AM
Hi @chand2
Please check the "New" UI action on the table 'cmdb_ci_service_auto'. That table has a dedicated "New" UI action with very specific condition. As per the existing condition, "New" button is visible only on the "cmdb_ci_service_auto" table.
current.getTableName() == 'cmdb_ci_service_auto'
Modify the condition as required and see.
Ex. Change the condition like below,
current.getTableName() == 'cmdb_ci_service_auto' || current.getTableName() == '<YOUR CUSTOM CI TABLE NAME>'
Hope this helps.
Regards,
Siva