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

9
  • Are you using any event receiver or modifying content in any way from VS? Commented Dec 31, 2015 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. Commented Dec 31, 2015 at 9:56
  • I also did not set any permission under app manifest in VS Commented Dec 31, 2015 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'? Commented Dec 31, 2015 at 10:36
  • How are you adding item to the list ? For both scenarios are you using same method to add item? Commented Dec 31, 2015 at 15:31

1 Answer 1

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.

1
  • 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. Commented Dec 31, 2015 at 7:55

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.