Вопрос

Я пытаюсь создать рабочий процесс SharePoint, который создает новый элемент во внешнем списке, используя действие «Создать элемент в [Внешнее имя списка]», доступное в Designer SharePoint.

В настоящее время я продолжаю получать ошибку, в которой говорится, что «рабочий процесс не может создать элемент во внешнем источнике данных. Убедитесь, что у пользователя есть разрешения для доступа к внешнему источнику данных и создавать элементы». Соответствующий идентификатор пользователя является «системной учетной записью» (SharePoint \ System).

Из некоторых исследований я должен был поверить, что рабочий процесс использует учетную запись SP WebApp всякий раз, когда он создает новый элемент во внешнем списке. Как описано в Как аутентифицировать BDC для внешней системы? Я предоставил SP Webapp Object Permissions и разрешения на хранилище метаданных во внешнем типе содержимого и во внешней системе. Я также предоставил ему разрешения на внешний список и SQL Server внешнего списка. Это не сработало для меня, хотя.

В одной точке я изменил SSS по умолчанию из моего «приложения Suffer Seal Store Shore» на пользовательский, который я создал. Это сработало, но он также получил несколько других систем в SharePoint мою организацию, поэтому мне пришлось вернуться к разделенным SSS. Я хотел бы создать новое целевое приложение на участничных SSS, но, из-за разделения, я не могу этого сделать. Есть ли способ иметь мою внешнюю систему использовать целевое приложение на моих пользовательских SSS, хотя он больше не является SSS по умолчанию?

Есть ли какие-либо другие потенциальные решения, которые я могу с видом на?

Это было полезно?

Решение

EDIT: I updated my solution because I found a more reliable way to fix the problem:

For anyone else that has this problem in the future, I figured out what the issues were.

With regards to the SHAREPOINT\system account, it turns out that is more or less an alias used by other accounts (usually service accounts) in SharePoint. In this case, it is the account used by my application pool. Reference: About SHAREPOINT\system - what account is it? how is it determined?.

The workflow appears to actually use whatever account the designated SSS or BDC is using. In my case, my "Partitioned Secure Store Service" that my SharePoint site was using by default was running the SP_serviceapps account. I determined this by launching my IIS Manager on my SharePoint server, and finding the appropriate SSS among the various application pools. The SP_serviceapps account was listed as the identity.

Due to running into some difficulties getting my SSS to work, I decided to instead use my BDC identity. In SharePoint Designer, I first determined the service account used by my custom Business Data Connectivity service (SP_serviceapps). Second, I gave both the Sp_serviceapps and SHAREPOINT/System accounts "Full Control", "Design", and "Contribute" permissions in my External List. This is probably overkill, but I wanted to be sure that they were allowed to access the External List. Further, they originally appeared to have "Full Control" permissions, but after clicking on "Edit User Permissions" for each, the resulting dialog box did not have any permissions checked. After this, I enabled RevertToSelf on my SharePoint server: BCS problem with AuthenticationMode and RevertToSelf. Last, I went to Central Admin -> Application Management -> Manage Service Application-> [Name of business data connectivity service] -> External Systems (from view in the ribbon) -> [External System Name] -> [External System Instance Name] -> Set Authentication Mode to "BDC Identity".

Last (and this was a dumb mistake on my part), I had an incorrectly mapped identifier in my External Content Type. I had mistakenly selected "VendorEmail" as the identifier when I meant to select "VendorName". Later, when I created my "Create Item" operation, I mapped "VendorName" to identifier without noticing that it was being mapped to the mistakenly-selected "VendorEmail" and not "VendorName". I fixed this problem by creating a new External Content Type that had the correct identifiers.

After this, my workflow successfully wrote to my External List.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top