Bring OOB field (due date) on catalog task and populate value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 09:21 AM
How to bring out of box field i.e "due date" on Catalog task form and have value 10 + days from date of creation.
It should be applied only on a particular catalog item and not effect globally.
@Maik Skoddow @Gaurav Shirsat @Mark Roethof @Ankur Bawiskar @Chuck Tomasi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 09:26 AM
Hello @Saba Baig
You can bring the Due date field from Form Layout into the task form and write a onLoad() Client Script,
where in condition you have to mention the particular catalog item have the visibility of due date field.
for addition of 10 days from date of creation.
date.addDays(10);
Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 09:31 AM
where do we need to add this 'date.addDays(10);'
is it in the workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 10:28 AM
You can use it anywhere what ever you are using in your use case.