本文介绍了项目站点上的SharePoint工作流通过oData获取项目所有者导致未授权或禁止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好 - 我想我已经阅读了关于此的每个博客,似乎无法让这个工作:

Hi all - I think I've read just about every blog on this and can't seem to get this to work:

在Project Online我有一个SharePoint需要与项目所有者创建批准过程的项目站点(子站点)上的列表。我使用HTTP Web服务调用创建了一个SPD工作流,但无论何时运行,我都会获得Web Service
响应的未授权。如果我在PWA的ROOT运行它可以正常工作,但不能从Project子网站运行。当使用经常推荐的"设置授权标头空白"时我得到了Forbidden返回。

In Project Online I have a SharePoint list on the Project Site (subsite) that needs to create an approval process with the Project Owner. I've created an SPD workflow using the HTTP web service calls, but whenever it runs I get Unauthorized for the Web Service response. If I run it at the ROOT of PWA it works fine but not from the Project subsite. When using the often-recommended "set Authorization header to blank" I get Forbidden returned.

这就是我所做的:


  1. 我已经设置了HTTP Web服务调用/ pwa / _api / ProjectServer / Projects('GUID')提要。我还尝试了/ pwa_api / ProjectData / Projects?$ filter = ProjectId eq guid'{GUID}'feed。
  2. 我的请求标题包括

    接受|字符串| application / json; odata = verbose

    Content-Type |字符串| application / json; odata = verbose

    我试过授权|字符串| ""和授权|字符串| _________但没有成功
  3. 我已将其设置为应用程序步骤
  4. 我使用http:// sharepoint / content / sitecollection确认了工作流程  (完全控制访问PWA)。
  5. 我尝试使用带有Read的http:// sharepoint / projectserver / projects,带有Read的/ projectserver / projects /项目和/ projectserver信任工作流程/使用Read报告。
  6. 我已在PWA和项目网站上启用了网站功能,以便工作流作为应用程序运行。
  7. 我甚至在AppCatalog网站上信任这一点以防万一。
  8. 我可以在浏览器中轻松运行上述网址。

有没有人从项目网站级别开始工作?

Has anyone gotten this to work from the Project Site level?

感谢!

Josh

THANKS!
Josh

推荐答案


这篇关于项目站点上的SharePoint工作流通过oData获取项目所有者导致未授权或禁止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 09:05