Filling document_id type field in modal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 07:36 AM
Hello friends,
I went through out all advices but nothing worked for me.
I need simply create modal window with prefilled document_id field "feature".
My code look like this, but not working. If you have any help, it is very appreciated.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 05:03 PM
Are you trying to set the field values? What's with using sysparm_query? I would take a look at the GlideModal documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 10:58 PM - edited 11-20-2024 10:59 PM
Hello jc21, yes I am trying to set field value on "feature" field that is document_id type.
Setting by this: modal.setPreference('name', 'value'); is not working so I had to use this approach:
But for field "feature" this is not working as well...