- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 11:29 AM
When trying to use the now-sdk build. We are seeing this error related to record on the sys_ui_view table:
src/fluent/generated/sys_ui_view_f2426b7247c29e90a412225c416d4391.now.ts:8:9 - error TS303: View name can only contain alphanumeric characters
8 name: 'sys_popup,enterprise',
We are on the latest SDK Version (2.2.2). Any ideas, this seems like it was a system generated record when we were working within the platform, but it is preventing us from building and deploying via the SDK.
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 09:53 AM
Hi @Brady Holliday , Sorry for the late reply
You can add the directive `//@fluent-ignore` to your code to ignore the diagnostic error
example,
Record({
$id: Now.ID['new_view'],
table: 'sys_ui_view',
data: {
title: 'Test',
//@fluent-ignore
name: 'test,popup',
},
})
You can find similar directives in the docs : https://www.servicenow.com/docs/csh?topicname=servicenow-fluent.html&version=latest
-- Venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 09:53 AM
Hi @Brady Holliday , Sorry for the late reply
You can add the directive `//@fluent-ignore` to your code to ignore the diagnostic error
example,
Record({
$id: Now.ID['new_view'],
table: 'sys_ui_view',
data: {
title: 'Test',
//@fluent-ignore
name: 'test,popup',
},
})
You can find similar directives in the docs : https://www.servicenow.com/docs/csh?topicname=servicenow-fluent.html&version=latest
-- Venkat