Tag Info

New answers tagged

0

What you're seeing is correct url (a subsite). From your debug image, it looks like you have apps. Apps in SP 2013 get their own site where the naming convention is ' https://domain-XXXXXXXXXXXXXXXXXX.sharepoint.com/sites/site1/subsite1' To exclude the app sites (example): while (webEnumerator.moveNext()) { var newweb = webEnumerator.get_current(); ...


0

I tried below on my online setup and it worked properly var context = SP.ClientContext.get_current(); var web = context.get_web(); var site = context.get_site(); var rootWeb = site.get_rootWeb(); var subWebs = rootWeb.get_webs(); context.load(subWebs, 'Include(Title, Url, ServerRelativeUrl,ParentWeb)'); context.executeQueryAsync( function () { ...


1

Since you are trying to get items you should change the URL as follows /_api/Web/Lists/getByTitle('Contacts')/items


2

Like with most things of this nature it's PowerShell to the rescue. Basically you can get the App instance, Import the updated package, then update the instance with the new package. $AppInstanceOnSite = Get-SPAppInstance -web "<URL>" | Where {$_.Title -eq "<AppName>"}; $NewAppFile = Import-SPAppPackage -Path <local path to .app file> ...


0

I solved it. The problem was that somehow my WF databases had gotten removed. Reconfiguring Workflow Manager rebuilt the databases and now it works.


0

You have a lot of flexibility in this area. If this web application can be rewritten as a JavaScript/HTML/CSS only solution, then create a SharePoint-hosted app (i.e. SP-hosted app does not allow managed code, such as C#). Otherwise, you can create a Provider-hosted app. If you go with the Provider-hosted app, since it looks like your app does not have any ...


0

Thank you for this post. To start workflows 2010 you can use InteropService. var interopService = wfServiceManager.getWorkflowInteropService(); interopService.startWorkflow(workflowName, null, null, null, initiationParameters); Worked example here.


0

This cannot be possible as there is no access token present in case of High Trust App For low trust apps, there is access token which contains audience and nameid to create and user based authetication


0

When creating a new project, enter the URL as https (ex: https://tenantname.sharepoint.com) Otherwise, if the project has already been created then select the app project's properties. Set the Site URL as an https site.



Top 50 recent answers are included