Freigeben über


SharePoint 2013 App Model: How to view list, list settings inside app

Tip#1: SharePoint hosted app

Microsoft bring with new development approach “app” framework in SharePoint 2013 and whenever a new version of SharePoint brings a new development approach, developer often face some internal challenges.

In SharePoint 2013 each app create a new “app web” inside the “host web”. SharePoint App web does not own setting page or any navigation to traverse to list, list settings.

In this blog post I will provide you some useful tips about app model

View List and List Settings: In normal scenario when we create any list using SharePoint host apps, there is no default option to see the list and go to list settings

 

image

 

image

 

I have created the list with Name “QuickStatus” but there is no option for directly go to the list and view the content.

Conclusion:

  • In order to go to the list directly type the name of the list after your app name

Example: “https://app-guid.contosoapps.com/sites/sphostedapps/<AppName>/Lists/QuickStatus/Allitems.aspx”

image

  • To View List Settings Click on the “Modify View” from the ribbon. You will see the “Settings” link on the top as shown in below screen. Click on the link and you will redirect to setting page.

 

image

image

 

You  can also directly open in the browser by specifying the URL as shown in below screen by specifying the list id.

 

image

Hope this will help!

Comments

  • Anonymous
    March 13, 2013
    this helped me !!

  • Anonymous
    March 19, 2013
    Nice one. Here is the post explaing basics of sharepoint 2013 app model. sureshpydi.blogspot.in/.../sharepoint-2013-app-model.html

  • Anonymous
    April 13, 2013
    Thankx a lot...

  • Anonymous
    April 30, 2013
    Nice article

  • Anonymous
    July 21, 2013
    Thank you so much. you saved me a lot of time

  • Anonymous
    January 13, 2014
    HiIts great but still would like to know, if we create a list inside an app web and store content in it once it is launched from the host web. But next time with few changes if I deploy or publish the app, again the same list will be created and it will be empty. though I want to keep the contents inside the list entact.

  • Anonymous
    November 16, 2014
    Thanks a lot

  • Anonymous
    November 16, 2014
    @Gaurav, You need to go for app upgrade instead of installing each time.

  • Anonymous
    August 01, 2015
    There is a simple trick to see the app web site contents by typing in the URL /_layouts/15/mcontent.aspx as a suffix to your app web URL. Please have a look at my blog post for detailed information on this. sharepointcore.blogspot.com/.../how-to-view-sharepoint-app-web-site-contents.html

  • Anonymous
    September 04, 2016
    I have a sharepoint list in one of the page. I'm using this list as reference table inside a web app (sharepoint) when i deployed the web app and i click on the web app (referenced to sharepoint list) It says You do not have permission to view the records. To obtain permission, contact your site administrator. Do you know what i'm missing..