1

I created an app with one list using Visual Studio 2013 and deployed it as a Sharepoint-hosted app to a Sharepoint 2013 Server on premise/farm.

The only field in the list was the default Title filed. When I add an item to the list, the details on created and modified by are as shown in Figure 1. Notice that it said ".. on behalf of ..". The user who added the item was not recorded in the details.

However, if I created an app using the OOTB custom list template and add an item to the list, the details on created and modified by are as shown in Figure 2. The user who added the item was reflected in the details.

Why is there a different and how to make the app I created using Visual Studio to behave the same as the one created from the template?

enter image description here

enter image description here

  • Are you using any event receiver or modifying content in any way from VS? – Taran Goel Dec 31 '15 at 9:09
  • I did not use any event receiver or modifying content. The app and list I created used all the default setting and not custom code was added. – klng Dec 31 '15 at 9:56
  • I also did not set any permission under app manifest in VS – klng Dec 31 '15 at 10:09
  • If the created by is displayed as in Figure 1, it is still possible to filter list view by using the option 'user can read only their own items'? – klng Dec 31 '15 at 10:36
  • How are you adding item to the list ? For both scenarios are you using same method to add item? – Unnie Dec 31 '15 at 15:31
0

When you save as a new document, have you selected “replace existing file”?

If you do not select the option, it will create another file in the same library. You could select the option to check if the same issue will occur.

  • I don't really understand your question. Anyway, there are two separate apps. One created using Visual Studio and the other from the OOTB custom list template. Thanks. – klng Dec 31 '15 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.