How to do getValue and setValue in client script for Journal fields
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 12:42 AM
Hi All,
I have to know how we can do set value and get value in client script for custom journal field
eg: Test comment
this is the custom field I have created with type journal
I want to get the latest comment from this field and need to trim set the comment in another field using client script
Also we cannot able to do set display of journal fields in client script
Is it possible to do that in client script
Any one can please help me on this.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 12:50 AM
Hello @Community Alums
You cannot achieve it with the help of client script.
You need to have business rule for this.
For example:
var getWorkNotes = current.comments.getJournalEntry(1); //this will get the latest comment
you can use trim based on your requirement.
Please mark as helpful or correct if it helps.
Please reply back if there are any questions.