Tag Info

Hot answers tagged

6

Yes you do not have a site content or site settings pages you find in a normal page. However, if you know the list internal name, you can build the url from it and go to lit. {App Site URL}/Lists/{List internal name}/AllItems.aspx App Site URL should be like as below example: ...


4

As an introductory please follow How to: Complete basic operations using SharePoint 2013 client library code article to get acquainted with how to update a SharePoint list item via CSOM. How to update list items via CSOM in PowerShell Assume the following data is contained in CSV file ID,FullName,Company,Title 1,Pilar Ackerman,Contoso Ltd,Manager ...


4

In order to consume SharePoint REST service using .NET you could consider the following approaches: HttpClient - Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. (.NET Framework 4.5) WebClient - provides common methods for sending data to and receiving data from a resource identified by a ...


3

You totally can do this, using external users in SharePoint Online, and there are no licensing fees involved, and it is totally supported by Microsoft. In your tenant administration site, hightlight a site collection and click the "sharing" icon. Then select the button reading "allow users who accept sharing invitations and sign in as authenticated ...


3

If you love the Powershell. Then you create a new Permission level call add-only and assign this permission level to all user who you want add items. Give other person(who can view the items) as full control/ edit or whatever you want to give them You can create an add only permission level using the following PowerShell script. $spweb=Get-SPWeb -Identity ...


3

You don't need to go back and learn traditional approach first but yes sharepoint basics should be clear. A very good resource on SP basics could be found here. It contains an extensive list of all the articles that are needed.


3

What i recommend to get SharePoint training course to understand it. If you want to start App Development but having no experience of the SharePoint Solution development will be fine. As far as you have Development Skills i.e C#, Asp.net and CSS, HTML, Java Script, Soap, XML. As SharePoint App you should understand all basic concept. This picture give you ...


3

Yep you can get this from /_api/web/lists. You can try it out in a browser using https://beyondhard.sharepoint.com/_api/web/lists. There are loads of code samples on the internet but best place to start is MSDN


3

First thing, you make sure you are recording the Deletion in your audit log. you can check here Configure audit settings for a site collection Now following events available for audit log reports The following events are available for audit log reports to help you determine who is taking what actions with the content of a site collection: Opened and ...


2

After a week of troubleshooting with Microsoft Support, I can confirm that as of 9/2014 that SharePoint Online Plan 1 does NOT include Content Search Web Part (CSWP) even though it shows up and lets you add and configure it. Trying to activate Cross Site Publishing feature gives an error message about a feature it depends on, the Search Driven Content ...


2

It's not possible since the permission Approve Items comes with a dependency to the following permissions: Edit Items View Items View Pages Open Source: User permissions and permission levels in SharePoint 2013


2

You'll want to use the SPFieldType class instead of FieldType. Update: Actually, the issue is that the CSOM doesn't support that version of Add. Use AddAsXml instead: list.Fields.AddFieldAsXml("",true, AddFieldOptions.DefaultValue); When you call GetByTitle you're using [] - square brackets. Try using parenthesis to call the method instead - ...


2

You will have to create a feature which will get activated on creation of all my site and write code to delete the default folder programmatically. You will have to make use of feature stapling technique to achieve this. Template Name for my site template is SPSMSITEHOST#0. Follow this blog for feature stapling .


2

For subsites, if you want to delete that folder after the web is provisioned, you can use the SPWebEventReceiver's WebProvisioned event. Here is an Example. The event receiever as per the documentation, wont work when root web of the site collection is created. In this case, you can Staple a feature to the mysite so that when a mysite is created, the ...


2

As a workaround, you could create an empty SharePoint group, and set the permission on the folders toi that group only. It won't be shown to regular users, but owners and administrators would still see tyem. If this solves your problem, take a look at permission settings on items and folders using PowerShell: $folders = $list.Folders foreach ($spFolder in ...


2

you can use SP.UI.ModalDialog.showWaitScreenWithNoClose If you want to use the 'Waiting' dialog function OpenDialog(targetUrl) { var waitScreen = SP.UI.ModalDialog.showWaitScreenWithNoClose("Loading", "Please wait"); var options = SP.UI.$create_DialogOptions(); options.url = targetUrl; options.autoSize = true; ...


2

You are using the SharePoint Online and you have only 2 column in the lists. Another question are you site collection admin. If you are Site collection admin then you can see all items as LVTH is different for site collection admin as compare to other users. For Admin by default is 20,000 items while for others are 5000 items. One thing keep in mind, you ...


2

To achieve the goal, you can go to configure search navigation. Here are the steps for your reference: Go to the Site settings page, click Search Settings under Search. In the section of Configure Search Navigation, click Add Link to add the the following links: 1). Title = Everything; URL = /search/pages/results.aspx 2). Title = People; URL = ...


2

First you need to add the references to the UserProfile.js file. <script src="/_layouts/15/SP.UserProfiles.js"></script> Now you can add the following code in your App.js file. (function ($) { $(document).ready(function () { // Ensure that the SP.UserProfiles.js file is loaded before the custom code runs. ...


2

First thing I want to mention here is the use of list for just 1 item. This is not the way to go. You can use site properties (property bag values) to manage this situation. You can create 3 properties and update values to it. It will save storage and improve performances. You can find in this article how to query property bag values using JavaScript CSOM ...


2

The trial version should be only for 1 user. So you can only use yourself. Even my MSDN Premium doesn't allow more. Regarding the people picker, mine too show same unless you type some and search.


2

Yes you can do this through Permission management. Remove everyone permission after uploading it. The farm administrator will be able to see it anyway.


2

You could also mimic this functionality with a drop-off library (part of the Content Organizer for all 2013 versions, including SharePoint Online) -- having it move all of the documents there somewhere else after they are uploaded. Then you could have whatever permissions you wanted on the destination libraries


2

I don't think learning traditional solution development will necessarily help you that much with learning the basics of the SharePoint solution hierarchy or necessarily that much with development going forward either. There's certainly no real down side to knowing the traditional solution approaches, but there really is a vast amount of information out there ...


2

Since Body field is a Rich-Text field, the below example demonstrates how safely to truncate Html content. In the specified example, text content is retrieved first and then text is truncated. Template file (Blogs.js) (function () { var rCtx = {}; rCtx.Templates = {}; rCtx.Templates.Fields = { 'Body': { 'View' : renderHeadline } ...


2

Since you are looking for a C# example, the below example demonstrates how to retrieve all lists via WebClient (you could also utilize HttpClient or HttpWebRequest for that purpose) Endpoint: /_api/web/lists How to retrieve lists using SharePoint REST public static JToken GetLists(Uri webUri,ICredentials credentials) { using (var client = new ...


2

The '_api/web/lists' will return all the 'Lists' in a SharePoint Site. In SharePoint, a 'Document Library' is considered a type of List, that's why it's showing up in your results.


2

Enable the versioning for the library. Create a new Calculated column with this formula: =Version, and add it to the default view. Check if the version information is available in the library's default view. If you can get the version information, try to set the labels value with the new added column. For more details check: ...


2

You could use this script to show all pages (display, edit, add) of the calender in a dialog. This also works with the buttons in the ribbon. // wait until "core.js" is loaded, to override it's function SP.SOD.executeOrDelayUntilScriptLoaded(function () { var _useDialogsForFormsWithCtx = window.UseDialogsForFormsWithCtx; ...


2

I accomplished this by using the following als document link, if the user clicks it the document is opened in the online word viewer. Depending on your server configuration, this might not work for all file types. [site URL + Library location]/_layouts/WordViewer.aspx?id=[document URL]



Only top voted, non community-wiki answers of a minimum length are eligible