I have a SharePoint-hosted App-part (ClientWePart), and my app-part are dependent on a couple of lists to be created.
At the moment all my lists are created on the hostWeb
_spPageContextInfo.siteAbsoluteUrl. I want my lists to be created on the site app-part are deployed on. I am using
REST to create my lists when app is installed/deployed...
All my lists are created on:
and my app URL is :
And my App-Part is deployed on URL:
And I want my lists to be created on the site URL above, "manage"...
I was also trying to find out to get Site Title of where my app-part are deployed.