
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 12:47 PM
This is a long shot since it's custom code, but I'm hoping someone has an idea of where I can look that I haven't thought of yet. We have a custom drop-down field we have added to the time card table and the time sheet portal for Timecard Class. It looks like this and works fine.
However, when we impersonate a user, the drop-down values don't display. The users themselves can see them. We just can't see them when impersonating. It looks like this:
We can go to the time_card table (while impersonating) and see the values, so it's not an ACL issue. Here's what it looks like from there:
It has to be something on the time sheet portal code, but I can't find any code that seems to be returning incorrectly. Anyone have an idea of what I could check? Thanks in advance for your help!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2024 05:22 AM
I was able to fix this by adding an ACL for sys_choice.* for all authenticated users.
Apparently in Washington DC Patch 4 Hotfix 1b, a change was made the security around API calls. Even though the users had access to see the choices when viewing them in the client, they could not execute the API call that was being made to pull them on the time sheet portal. Putting this here in case anyone else has a similar issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 05:00 AM
Well, it wasn't simple, and it's been a while since I did it, but here's what I recall:
- I created the field on the time_card table.
- I had to clone the "Time Card Portal Main Container" widget and add code for my field in there.
- I had to clone the "Time Card Grid" widget and add code for my field there.
- Because I wanted my field to be required upon submission, I had to modify the TimeCardUtil and TimeCardValidator script includes.
- Added an ACL to for sys_choice.* for all authenticated users.
The specific changes will vary depending on if you add a drop-down (like I did) or some other type of field. I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 11:49 AM
Thanks a ton for the answer. Exactly what I am looking for. Would you mind sharing the code if you have it on hand? If not it's totally fine. Again, thank you.