I am trying to create AutoHosted app, in that I have created Custom list in my VS project.
After this I published the app and uploaded the App file to the O365 app catalog. But I am not able to open my list which I have created in my project.
I am trying to open list using this URL:
https://someguid.o365apps.net/Lists/mylist/AllItems.aspx
Any suggestions?
How can I view the list?
Update:
I have found way to open the list:
If you want to open the list which you have created it in visual studio the URL will be as follows:
https://maindomain/appName/Lists/ListName/AllItems.aspx
But I still don't know that what I should type in my code. Because I can't have static URL in my code, in that I have used :
<asp:HyperLink ID="hlUnit" runat="server" NavigateUrl="/Lists/MyList">MyList</asp:HyperLink>
It redirects the URL which I have mentioned above. So any idea for this.