Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weekly-timesheet-sharepoint - #94

Open
jwise155 opened this issue May 30, 2024 · 5 comments
Open

weekly-timesheet-sharepoint - #94

jwise155 opened this issue May 30, 2024 · 5 comments

Comments

@jwise155
Copy link

Sample

weekly-timesheet-sharepoint

Author(s)

@aprildunnam

Question

Followed directions, when creating a new timesheet - cannot save or submit

@Scotty1629
Copy link

Hi I have same problem, did you fid fix?

@sudhirke
Copy link

@jwise155 @Scotty1629 This is due to difference in field name "Week Start". I was able to get this sample to work. Contact me in case you need help

@Scotty1629
Copy link

Scotty1629 commented Jun 12, 2024 via email

@sudhirke
Copy link

@Scotty1629

Please check if your Office 365 account has manager property? Also if you have any other account where your account is setup as manager it will work.

There is some copy paste error when on the Save / Submit button click. I raised an issue on the repository and also put the code changes (pull request under review)

When you click on new timesheet, fill timesheet and click on Submit, it automatically updates to your manager.
When you create a new timesheet, click on Save button, it will keep Employee and Manager information same.
On My Timesheet page, both Save and Submit button have same code, so it never gets updated to Manager information.

I have applied the fix and got it to working at my end.

@sudhirke
Copy link

Please check your TimeEntries SharePoint list, you will see Employee and Manager columns with same information, that's the reason you can only view and approve your own records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants