Hi everyone,
Is there a way of a selection field in Workfront forms, where when user 1 selects time slot 7:00 am, it is not available for user 2 anymore in the selection of different time slots? (similar to booking time in a calendar but via requests)
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @TraKill,
That sounds like a good idea. However, Workfront’s API does not currently support modifying form field visibility in real time or changing a dropdown’s available options after the form has been rendered to the user.
You can use the API to update the entire custom form’s dropdown list options via POPT (Parameter Options) updates, but this would affect all users and is not typically recommended for real-time booking logic as it could pose issues if 2 users rendered the form or booked the same slot at the same time.
https://developer.adobe.com/workfront/api-explorer/
- Monica
Hi @TraKill,
Thank you for your question! Unfortunately, Workfront does not support real-time field locking or dynamic field filtering across users in custom forms; so what you're asking for (exclusive time slot booking in a dropdown field) is not natively possible with just selection fields in a request queue.
However, you can build a workaround like this:
1) Use Workfront Fusion
2) Use a Calendar/Booking Tool Embedded in Workfront
- Monica
Interesting! I assumed it would work via Fusion and an API call to make the field hidden, but I don;t know what to put in the API call...Thank you
Views
Replies
Total Likes
Hi @TraKill,
That sounds like a good idea. However, Workfront’s API does not currently support modifying form field visibility in real time or changing a dropdown’s available options after the form has been rendered to the user.
You can use the API to update the entire custom form’s dropdown list options via POPT (Parameter Options) updates, but this would affect all users and is not typically recommended for real-time booking logic as it could pose issues if 2 users rendered the form or booked the same slot at the same time.
https://developer.adobe.com/workfront/api-explorer/
- Monica
Views
Likes
Replies