“Created By” field in each record in Custom entity is showing “system” for each user

此生再无相见时 提交于 2019-12-13 05:35:14

问题


I am working on a custom entity on dynamic 365. This entity is manipulated on Dynamic 365 Portal using web forms. Whenever I am creating a record in the entity, it is showing "System" in out of the box "Created By"column. Can anybody tell me what is the reason behind it?


回答1:


As explained above, the owner of a record in CRM is a lookup field to systemuser entity. The portal user is actually a contact, therefor can not be assigned as record owner.




回答2:


Owner, createdby, modifiedby = CRM Login user = systemuser Entity. It can be licensed user, application user (service account), or SYSTEM (only used by CRM product).

Portal Login user = contact Entity (sometimes Lead).

Records (OOB or custom entity) created in portal will be impersonated by product using SYSTEM user while creating in CRM DB. Because contact cannot be an owner or createdby. This is the reason.

You may customize to have another custom attribute called new_createdby_portaland use Entity Form Metadata mapping to capture this field from portal side without code.



来源:https://stackoverflow.com/questions/49378211/created-by-field-in-each-record-in-custom-entity-is-showing-system-for-each

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!