问题标签 [ms-project-server-2016]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
454 浏览

c# - MS project server 2016 指定的服务器可能不支持此操作中使用的 API

Microsoft.SharePoint.Client.ServerException:'找不到 ID 为“{154360b4-899f-4237-b0ed-3e35f014c748}”的类型的存根。指定的服务器可能不支持此操作中使用的 API。

projContext.ExecuteQuery() 崩溃,如何解决这个问题?

0 投票
1 回答
133 浏览

ms-project-server-2016 - 有没有办法从 MS Project Online (PWA) 获取所有项目的列表

MS Project 是一堆螺栓……但有时我们必须使用我们所拥有的东西。

我有一个 MS Project 在线项目 Web Access (PWA),没有 PowerBI 或其他任何报告功能。

有没有什么方法可以使用VBA来获取在线环境中所有项目的列表?PowerShell 会很棒,但我没有使用它们的管理员权限。 https://docs.microsoft.com/en-us/projectonline/export-user-data-from-project-online

0 投票
1 回答
1634 浏览

ms-project - 在 Microsoft Project 中共同创作

我们希望管理一个项目结构,其中单个项目可以参与共享单个资源池的顶级项目结构。单个作者应该可以同时处理这些单个项目,或者可能是同一个项目。

我们熟悉 excel、word 等(通过 sharepoint)中的共同创作,并且效果很好。我们拥有 MS 项目 2019 的许可证。但我们似乎无法找到一种方法来建立共同创作,或者找到任何关于项目是否可能的明确声明。

我已经看到提到“Microsoft Project Server 2019”和“Project Online”,这些是不同的产品吗?是否需要这些产品?

任何有关此的指导或信息将不胜感激,

0 投票
1 回答
46 浏览

asp.net - pwa 中的新项目 reurn “InvalidProjectName”

我正在尝试在 PWA 中创建一个新项目,但收到此错误:“ProjectNameInvalid”。

这是我的代码:

这不是因为波斯字符,我之前创建了很多波斯字符的项目。

名称有标准格式吗?或任何禁止的字符?

0 投票
2 回答
360 浏览

oauth-2.0 - Microsoft Power Platform Custom Connector to Project Server API - OAuth 2.0 Settings

When building a custom connector from powerapps/powerautomate to the Project Server API where can I find out what the OAuth settings should be? Settings include:

  • Identity Provider
  • Client id
  • Client secret
  • Login URL
  • Tenant ID
  • Resource URL
  • Scope
  • Redirect URL

I have full admin rights to SharePoint, project online, and Azure-AD; I just don't know what those mean or where to find them and an hour of googling has me no closer to the answer. Can someone point me in the right direction?

0 投票
1 回答
98 浏览

c# - 如何在 MSProject C# 中以编程方式分配滞后

Microsoft DocsLinkPredecessors方法描述为:

如何将滞后值分配给“对象滞后”?下面的代码用于分配前任和任务链接类型,但是,我无法弄清楚如何添加滞后。

0 投票
1 回答
963 浏览

ms-project - Microsoft Project unable to establish a connection with Project Server 2016

I just built a Project Server 2016 and have connection troubles. Since this is a proof of concept, I did not use TLS. The URL is just http://xxxxxxxxxxxxx/sites/PWA I'm using the Project Permissions Mode.

I am testing with an unactivated copy of Project Professional 2013

MS Project version number

I set the version in PWA Settings Version Setting

My client computer is not in the same domain as my Project Server. I choose the domain\user name when starting MS Project: Login dialog

Project does not prompt for a password. It immediately gives an error: Error message unable to establish connection

So next time, I choose work offline. Project opens and I check the Info page: Info: not connected

I click Connect to Server and it does. Still no password prompt.
Info: connected

However, I cannot open a project from the Project Server.

Unable to display projects

Meanwhile, I have no problems on PWA making, editing, saving, publishing, checking in, etc. I made a new project and set the permissions correctly. Group permissions

When I try to open it in Project by clicking the icon on the web page,

web page icon

I get the same error.

Same error message

What am I missing?

0 投票
2 回答
198 浏览

powershell - Powershell CSOM - 更新项目部门查找字段值

我想通过/使用 powershell /csom 从 csv 文件更新Project Department Ent 自定义字段值,该值是查找字段类型 - ... 许多项目都有要更新/修改的部门字段,我希望通过一些 powershell 脚本来做到这一点。

但我没有运气将 Dept 值从 csv 推送到项目服务器字段(项目部)

参考 - https://gallery.technet.microsoft.com/projectserver/Update-Server-Custom-Field-00ab99a9

欣赏任何想法......谢谢

0 投票
0 回答
26 浏览

csom - MS Project Server - 如何阻止/中断已关闭项目上的保存和发布事件

如标题所示,如何使用 csom 检查例如。布尔自定义字段“项目已关闭”设置为 true 并锁定项目以进行编辑。
我想在项目活动上做,但是怎么做?我已经检查过单击保存按钮时第一个触发的方法是 OnUpdating() 而不是 OnSaved()。
我已经尝试在那里检查 CF 值并在点击 base.OnUpdating() 之前返回,但它没有帮助。

0 投票
0 回答
39 浏览

excel - 如何修复损坏的 MS Office(项目)库参考?

有一天,当我愉快地在 MS Project 中工作时,我注意到我的一个自定义公式字段不再起作用了。当我去检查公式时,它消失了(公式,而不是自定义字段)。所以,我去从我使用相同公式的其他项目文件之一中复制它。它也从那里消失了。

奇怪的。我问一位同事是否可以下载我正在查看的完全相同的文件并在自定义字段中查看公式。他们做到了,他们可以!然后我们要求更多的同事下载相同的文件。有些人可以看到公式,有些人看不到。

尝试手动重新添加公式时,任何 ProjDateXX 函数都会出现以下错误:

不识别日期参数字段

单击确定时,它会突出显示日期参数“12d”。对于那些有这个问题的人,所有 ProjDateXX 函数都是一样的(日期参数不被识别)。

到目前为止,我已经卸载并重新安装了 MS Project,然后是 MS Office 和 MS Project。没有什么能解决这个问题。

我现在必须继续的唯一线索是 MS 项目库似乎注册不正确,如下所示:

版本号在哪里? 应该是 16.0 这里的某个地方...

我和我的同事唯一可能的其他线索是,除了我们已经拥有的现有 Project Professional 许可证之外,我们这些有问题的人最近还收到了 Project Online P3 许可证。为什么这会导致只有一组函数停止工作,或者为什么会导致项目对象库引用缺少版本号,这些都是谜。

我们被难住了,在这一点上没有线索。这些功能对于我们对一些主要客户的项目分析至关重要;任何帮助将不胜感激。