Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all 8089 articles
Browse latest View live

Data capture and reporting in SharePoint online (O365 E3 & Business Premium)

$
0
0

So far I have use SharePoint online as a simple document management system and built some Access 2013 web apps for Project management and some CRM functions. I now need to build a site that requires people to make some data entry as part of a report and then push a button for that report to be submitted to someone by email. So I need to have a system with some workflow and reporting capabilities. Should I look into using InfoPath or combining Access web apps with SharePoint lists? This is for a non-for profit Scientific research organisation with 15 partners and the report requirement will be for report budgets. This is not high volume. Budget reports are only made twice a year buy each partner. I will want to implement a dashboard or score card to report on report submissions. What is the best way to do this with SharePoint online? Bearing in mind I am an application developer with knowledge of SQL Server and SSRS along with Access 2013 web apps.

Kind regards Jon


App host azurewebsites publish to Sharepoint Online- You do not have permission to view this directory or page

$
0
0

I've been able to publish my app to Azure and SharePoint in the past. With some changes to the project, I had to republish and now I keep getting "You do not have permission to view this directory or page." generic message on app load.

I tried

-deleting all instances of app in catalog and site collections including second-stage recycle bin,

-create new clientId and secret through appregNew,

-publish to azurewebsites

-package and upload to sharepoint catalog with new Id/secret

-appmanifest permission- sitecollection/web-FullControl

No luck. What could i have possibly missed? Please suggest. Thank you in advance.

how to create a custom toolpart using CSOM/ Client side scripting in sharepoint 2013

$
0
0

Hi,

I need to create a webpart with toolpart. This is for to configure the slide show. Users can use this webpart and configure different picture library wherever its required.

I need to achieve this thru client side scripting. 

Please advise me to do this or share with me if you have any code samples.

Any help would be really appreciated.

Thanks in advance

Kannan K

SharePoint not installed

$
0
0

Hi, I am new for SharePoint 2013 Development in Visual Studio 2012. As we know that to work on SharePoint on VS we need to install it on VS so i googled it and found a link of MS 

http://blogs.msdn.com/b/timquin/archive/2013/01/22/setting-up-visual-studio-2012-for-sharepoint-2013-development-offline.aspx

As so on I installed SharePoint. But as i open VS-->File-->New Project-->Office /SharePoint-->SharePoint 2013 Visual Web Part-->As I click on Ok button to create SharePoint Project I head error saying "SharePoint not installed"

The required version of SharePoint Foundation 2010/2013 or SharePoint Server 2010/2013 is not installed on this system. To develop SharePoint solutions or browse SharePoint connection in Server Explorer, SharePoint must be installed on the local system.Make sure that the local server referenced by the SharePoint project exists.

Kindly help me to fix this issue , I am much needy to work on SharePoint. Thanks in advance.


Mayank Mani Pandey India

Module in SharePoint 2013

$
0
0

Hi,

I want to deploy a web part page using module. But When I am going to add a aspx page under a module  in VS 2013 ,always that page is getting added to Layouts folder,outside the module. So elements.xml file is giving error. So, how can I add that aspx page.


Shubho

Inherit Site Logo & Theme from Parent Site - Non Publishing sites - SharePoint Online

$
0
0

Hi All,

We are provisioning Site Collections (Non Publishing sites) using provided hosted app, as part of post provisioning creating custom theme, applying custom theme and updating site logo. But the requirement is to apply the same theme and logo to subsequently created sub sites under that site collection.

Does anyone know how to achieve this programmatically?

Note : This is specific to SharePoint Online.

Thanks,

P

help for sharepoint app assets management

$
0
0

Hi,

I need to develop an app for online version of SharePoint  2013 office 365. this application is  used assets Management i have done with making a deployment for only one list (i need to make more then 2 list in app ) 
can you help me please wish steps i should to follow it for developing this app 
thank you 
i have found an app in the sharepoint store that is like what i want to develop it 
link for app :
https://store.office.com/computer-asset-management-system-WA104030846.aspx?assetid=WA104030846
i have to use REST api 

REST API sharepoint apps

$
0
0
Hello 
i have to  create a sharepoint apps for office 365 
i have create 2 Lists in the app and they work correctly 
i have greate a navigate bar and i can not found how to navigate between lists 
can u help me please to show me how to do when i click in the first item in the menu , the app shoul navigate to link for list 1 , hosted app 
thank you very much 

AppOnlySequence sharepoint hosted app give access denied.

$
0
0

Hi,

I have a sharepoint hosted app which tries to update a host web list item from a workflow.

I have given full control app permission to http://sharepoint/content/sitecollection/web/list scope from my sharepoint app. Also I have configured my environment according to following article.

https://msdn.microsoft.com/en-us/library/office/jj822159.aspx

When I try to update list item using HttpSend inside AppOnlySequence activity it gives me " Access denied. You do not have permission to perform this action or access this resource. "

If i remove AppOnlySequnce and put HttpSend alone in the workflow it works just fine. (But I'l remove write permission to the host web list from users soon)

What could I've done wrong ?

PS. My app is currently deployed under "App In Testing" not in app catalog.

Accordian Jquery Events for Customised List forms

$
0
0

hello,

Want to understand how do we differentiate Submit/save event in customized list forms.

eg:

When we are in Section 1 the submit/save should correspond to data being submitted in section1

when we are in Section 2 the submit/save should correspond to data being submitted in section 2 . Please let me know how to proceed on this


“The Azure Access Control service is unavailable” on Azure Sharepoint Farm via Oauth

$
0
0

We are trying to evaluate integrating Sharepoint 2013 as a Data Source into our app, i.e. create a low trust app that receives a token from Sharepoint and makes further inquiries with that token. The app is hosted on a different server completely and actually being developed in a non-MS language.

So far we have

  • created a Sharepoint 2013 Farm on Azure as outlined  in http://azure.microsoft.com/de-de/documentation/articles/virtual-machines-sharepoint-farm-azure-preview/
  • created a Site Collection "site-collection" on that sharepoint
  • added an OAuth application via AppRegNew.aspx
  • given that application some permissions in AppInv.aspx
<AppPermissionRequests><AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" /><AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="Write"/></AppPermissionRequests>

At this point most of the OAuth workflow seems to be working: When going to

http://sharepoint-url/_layouts/15/OAuthAuthorize.aspx?client_id=our-client-id&redirect_uri=https://our-redirect-uri&response_type=code&scope=List.Read&state=xyz...

we are prompted to log in (works) and prompted to authorize the app. However we are being redirected to:

https://redirect-uri?error=server%5Ferror&error%5Fdescription=The%20Azure%20Access%20Control%20service%20is%20unavailable%2E&state=xyz

Thus the error seems to be that "The Azure Access Control Service is unavailable".

As this error message seems pretty uncommon, we have taken to trying to establish some trust between the Azure Access Control Service and our Sharepoint farm by registering our Sharepoint with ACS and exchanging certificates, as outlined in http://social.technet.microsoft.com/wiki/contents/articles/22309.integrating-windows-live-id-google-and-facebook-accounts-with-sharepoint-2013-white-paper.aspx.

However this did not help at all, the error message persists. Is there some way we could further debug this? Is the problem with our sharepoint that really can't reach ACS or is there some configuration error?

Thanks for reading this far, I hope someone can shed some light onto this.

How to share files using the JavaScript Object Model?

$
0
0

I'd like to programmatic share files using the JavaScript object model. And Microsoft has, or what appears to be, documentation around the JavaScript API. 

https://msdn.microsoft.com/en-us/library/office/jj851011.aspx

However, after looking at this documentation and searching the web, I can't find any information on how the method is to be used, and no code examples. I'm not interested in how it's done in C# or via REST, I'm just interested in how in can be done via JavaScript. 

Yammer Suggestions.json returning wrong data

$
0
0

Hi All,

We are using "https://www.yammer.com/api/v1/suggestions.json?limit=20" to get Suggested People from Yammer

This was working properly till last week however all of a sudden, this api is returning irrelevant data or say improper data, it is showing suggested people  for those who have not joined yammer also or say whose yammer account is still not active.

Could anyone confirm whether there is a change in yammer api for suggested people ?

Please let me know if you need more details.

Regards,

Subhash S.

What is the syntax for string filter expression in Tenant.GetSitePropertiesByFilter() function?

$
0
0

Hello Everyone,

I am looking for  filter expression syntax, which I can use for filtering the data while fetching the SPOSitePropertiesEnumerable from tenant. 

I am able to get all site collections properties by using Tenant.GetSiteProperties() but I wanted to fetch limited amount of data usingTenant.GetSitePropertiesByFilter(), like only for "Team Sites (/teams/)" or "Publishing Sites (/sites/)". So, I'm little bit worry to add filter expression in Tenant.GetSitePropertiesByFilter()function.

What is the correct way to add filter expression. Every time I'm getting"Syntax error in the filter expression" error.

Please anyone suggest me to add correct "string syntax" for filter expression.

Thanks

Time sheet Creation using Javascript

$
0
0

Hello,

I want to create Time Sheet entry form that auto populate date ranges based on selected date rage from calender.And want to submit hours in share point 2013  list.(eg. Mon-Tue-Wed-Thr-Fri-TotalHours)..

Can Any One guide me ,how can I achieve this.?

Thank You In Advance.

Regards,

Archana



One site collection list to another site collection using SharePoint app and cross library

$
0
0

Hi Friends,

SharePoint 2013 using app's we will get the site collection data. But two site collections in my web application. One is Site Collection-A 

and Site Collection-B. My app is  running in Site Collection-B.But I want to get the Site Collection-A list data into my app.

How can we get the cross site collection data. I heard cross library feature we will use for this. I don't much idea on this. Can any one already done this help me on this.

Thanks,

Tiru


Tiru

Is there any API Limit for SharePoint 2013

$
0
0

Hi ,

We are working on developing an integration with SharePoint using ReST APIs.

We wanted to know is there any limit for API hits or retrieval limits for Sharepoint 2013.

I would like to know Is there any API Limit for SharePoint 2013?

Thanks ,

Prachi

Which is the most recommended/preferred API type, out SOAP and Rest/ Odata API types?

$
0
0

We are working on developing an integration with SharePoint using ReST APIs.

We wanted to know which is the most recommended/preferred API type, out SOAP and Rest/ Odata API types?

Thanks ,

Prachi

Need help on RoleDefinition fields

$
0
0

Hi,

We are working on developing an integration with SharePoint 2013 using ReST APIs.

We wanted to know, What is the significance and acceptable ranges/values for "High", "Low" and "Order" fields while creating a role definition?

I tried to POST the below request which is successfully executed

URI------> https://abc/_api/web/roledefinitions

POST body --------->

   "__metadata":{ 

      "type":"SP.RoleDefinition"

   },

   "BasePermissions":{ 

      "__metadata":{ 

         "type":"SP.BasePermissions"

      },

      "High":"176",

      "Low":"138612801"

   },

   "Description":"New description",

   "Name":"CustomRole26May",

  "Order":180

}

Thanks

SharePoint hosted app: Break Role Inheritance with 'Manage' right returns Unauthorized

$
0
0

I have a SharePoint hosted app that I want to break the role inheritance of a list item in the app page (in tenant site). The app has "Manage" rights on the web (both tenant and host). The problem is that the break role inheritance on list item returns 401: Unauthorized.

I have simplified the JavaScript code and managed to regenerate the error with the following code:

$(document).ready(function(){var listID = getQueryStringParameter('listId');
    list = web.get_lists().getById(listID);
    context.load(list);
    context.executeQueryAsync(function(){test();},function(){});});function test(){var item = list.getItemById(id);
    context.load(item,'RoleAssignments');

    context.executeQueryAsync(function(){
        alert('succeeded');},function(cr,crev){
        alert('failed: '+crev.get_message());// here it returns Access denied.});}

Which will fail with mesasge "Access denied. You do not have permission to perform this action or access this resource". SharePoint logs on the server:

Permission check failed. asking for0x4000000000000000, have 0xb03c0312efException occured in scope Microsoft.SharePoint.SPRoleAssignmentCollection._SerializeToJson.Exception=System.UnauthorizedAccessException:Attempted to perform an unauthorized operation.
     at Microsoft.SharePoint.SPSecurableObject.CheckPermissions(SPBasePermissions permissionMask)
     at Microsoft.SharePoint.SPRoleAssignmentCollection.Init()
     at Microsoft.SharePoint.SPBaseCollection.GetEnumerator()
     at Microsoft.SharePoint.Client.ServerStub.<EnumerateChildItems>d__36.MoveNext()
     at Microsoft.SharePoint.Client.ServerStub.WriteChildItems(JsonWriter writer,Object obj,ClientObjectQuery objectQuery,ProxyContext proxyContext)
     at Microsoft.SharePoint.Client.ServerStub.WriteAsJson(JsonWriter writer,Object obj,ClientObjectQuery objectQuery,ProxyContext proxyContext)
     at Microsoft.SharePoint.Client.ServerStub.WriteAsJsonWithMonitoredScope(JsonWriter writer,Object value,ClientObjectQuery objectQuery,ProxyContext proxyContext)

Checking Microsoft article App permissions in SharePoint 2013 and permission levels in SharePoint shows that "Manage" right in apps is equal to "Design" permission level which does not have the "Enumerate Permissions" base permission by default. So does this mean that there is no way for a SharePoint app to modify permissions on a site?

Viewing all 8089 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>