-
Notifications
You must be signed in to change notification settings - Fork 92
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
Project: OfficeJS Office.context.document.getTaskFieldAsync fails on some important fields. #938
Comments
Hi, any updates here? |
Hi @vputsenko I'm not sure who is our subject matter expert on the Project area crew. @Rick-Kirkham @erayc-msft Do either of you know a Project eng who can help with this issue? |
@vputsenko Meanwhile, you can try asking your question on Stack Overflow. You might find someone in the Project developer community. Use the tags [office-js] and/or [ms-project]. I did find a few questions about getTaskFieldAsync that might help. |
Ok, i'll post to Stack Overflow too. However, please don't close the ticket here since it is really still not fixed. Any update will be appreciated. I still don't have workaround. Thank you. |
@ragavanrajan this post is not about not completed async calls. Please don't mess issues. |
same issue for me while get the value of Office.ProjectTaskFields.PercentComplete |
There is also an issue with this field |
I also have a similar issue |
I can confirm @vputsenko 's findings. although for me the getTaskFieldAsync callback just never fires on the following fields:
Additionally the following fields are always false even when they should be true:
I am blocked with this and really need some options. |
Hello, any update on this? We need to move away from VBA and VSTO. |
The OP is asking for the essential fields, not advanced ones. With the current API, we can't do very much. |
Hi guys,
I'm blocked with calling getTaskFieldAsync API to read some fields required for my solution.
Expected Behavior
getTaskFieldAsync must successfully return field value for valid task ID
Current Behavior
getTaskFieldAsync returns error:
{ code: [1,2], name: "Internal Error", message: "An internal error has occurred." }
I checked all fields in Office.ProjectTaskFields enum and found that same error happens for next fields:
In addition Summary field always has false value, even if Task has subtasks - i can report this as separate ticket if required.
Steps to Reproduce, or Live Example
Here is pseudo code (callbacks wrapped with promises):
Note this that same sequence of calls works for other fields (not listed above).
Context
This is Office Addin Hosted by Project. Code executed in context of HTML button click handler.
Your Environment
Thanks.
The text was updated successfully, but these errors were encountered: