Tag Info

Hot answers tagged

5

First, let's just clarify that JSLink is not equivalent to Client Side Rendering. JSLink is merely a property on SP objects that lets you attach Javascript files to them. However, the ability to attach a Javascript file to a SP object is enormously useful for CSR. Using the JSLink property is one of the easiest ways to apply CSR. And I would say that ...


5

Getting only the current user won't be enough to get user profile properties. You need to use the PeopleManager as well. Your code should look something like this: var context = SP.ClientContext.get_current() var web = context.get_web(); var user = web.get_currentUser(); var peopleManager = new SP.UserProfiles.PeopleManager(context); var personProperties = ...


4

Nico, I found a source that may help you immensely. The following link walks you through how to use a PowerShell script to import a list of users from Excel and create them for FBA. Importing and Exporting Data in Extranet Collaboration Manager (ExCM) 2010 You can also download the PowerShell source code from this link. It looks like the code creating ...


4

If you can whip up a console app and schedule it and it does the job - then great. I probably would rely on PowerShell. I prefer being able to monitor and alter scripts if needed without having to recompile or open up VS to make the edit. When working with data I've also used SSIS packages on SQL server. If you are running SharePoint locally you have an ...


3

This has always been the case, dating back to 2007 at least, and my assumption is to keep and data around. The fields can safely be removed if they are no longer in use.


3

@johnG For autocomplete capability you can use jQuery as said by Kalpesh Vaghela To retrieve list items from a SharePoint list, you can use Client Object Model for JavaScript Reference : https://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx#sectionSection0 Better not to use web services (recommended by Microsoft) Reference : ...


3

You cannot do it OOTB. You need to use JSLink,SPService or Jquery for that You can get some reference from Autocomplete with SPServices Hope it will help you.


3

In SharePoint 2013, client-side rendering (CSR) provides a way to control the output/design of your fields and set of controls by leveraging HTML and JavaScript technologies for example how should the fields render in list views (edit, new or quick edit), search, list forms etc. Now, every field definition comes with JSLink property that can be overridden, ...


3

You don't give many details in your question but here's a suggestion that might work for you. You can use CKeditor (http://ckeditor.com/) in a script editor web part to do this. Here is a fiddle from TheSharpieOne that shows nicely how you can use CKEditor (with Angular): http://jsfiddle.net/thesharpieone/cptr7/


3

I'm grasping at straws here, there isn't a lot of information on the topic about this. I did stumble upon a post that may give clues as to why it is happening and perhaps a work around: SPFile.MoveTo(), at first glance, looks to be a very straightforward method where a file can be moved from one folder to another. Trying to use it and have an ...


3

John Q: First you need to dig deeper into the field definition using SharePoint Manager 2013, and observe if property 'AllowGridEditing' exists? A: The property doesn't exist so give PowerShell a break ;) Why: In SharePoint 2013, client-side rendering (CSR) provides a way to control the output/design of your fields and set of controls by leveraging HTML ...


3

I'll be honest - your vendor should be taking into account your current and projected platforms, as well as your branding requirements and Informing you what the best option is. Your future hosted provider may or may not support Apps and/or sandbox solutions. These are configurable and can be turned off. If you are looking at O365 - then both are ...


3

You can set Draft Item Security to Only users who can approve items (and the author of the item) in Versioning Settings of Document library. After the the user other than Other or Approver will be able to see the last pulished version only (i.e., 1.0,2.0,etc) Below is the screen shot after setting the option: Below is the screen shot with other user ...


3

The persons id is per site, because the persons id is the id of the person's entry in the site's "User Information List". That's why you won't get the Id of the Person using search (because the search is working over more than one site collection, where the Person can have different id's). Also, the "User Information List" just holds only users which has ...


3

I'd like to quote myself on this reply I gave to a similar question What are the factors that govern the dicission of whether to choose publishing or collaboration (teamsite) template for new site collection? Site Pages (from the team site) contain Wiki Pages. Pages (from the publishing site features) contains Article pages and similar pages, that can be ...


3

Structural navigation is tightly coupled with the content and therefore it is hard to create friendly URLs. However, managed metadata navigation addresses this issue by providing central way to manage navigation, irrespective of location of content, which makes it easy to create friendly URLs. The only con, navigation will be managed by term store. You can ...


2

When you are developing/debugging a provider hosted (high-trust app for SharePoint) in Visual Studio, the remote web application is hosted in IIS Express on the machine where Visual Studio is installed. So the remote web application computer doesn't have an IIS Manager where you can create the certificate. For this reason, you use the IIS on the SharePoint ...


2

You can obtain an Azure AD access token through ADAL. There is a official JavaScript library (ADAL JS) with documentation hosted on GitHub: ADAL for JavaScript


2

The simplest way to make any field read only would be to use SPutility Jquery You can use it like below: SPUtility.GetSPField('Column Name').MakeReadOnly(); For the comment made by David on Dmitry Kozlov answer, to make People picker readonly, you can use the below JQuery code: $(".sp-peoplepicker-delImage").css({ 'display' : 'none'}); ...


2

No, You dont need the PDF iflter for SharePoint 2013, SharePoint 2013 Search now supports PDF iFilter natively. https://sharepointthing.wordpress.com/2013/02/06/sharepoint-2013-search-natively-supports-pdf-ifilter/ also check this discussion on SE Does Sharepoint 2013 support IFilters?


2

Here's a complete implementation of jQuery autocomplete for a normal input box with contents from a sharepoint list. <script src="http://YOURSITEHERE/jquery.js"></script> <script src="http://YOURSITEHERE/jquery-ui.js"></script> <script type="text/javascript"> var SITE_URL = "http://YOURSITEHERE/"; var LIST_NAME = "MyList"; ...


2

Please try following configuration for HttpSend activity: RequestHeader - Accept:"text/html; charset=utf-8", Content-Type:"text/html; charset=utf-8". Uri: URL to access the webservice method.Pass the parameter in querystring. eg: string.Format(".../GetLocalTime.asmx/GetLocalTimePlease/{0}",dateTimeVariable) Or ...


2

You can give it a try using below sql query. DECLARE @listId AS UNIQUEIDENTIFIER = 'LISTGUID'; SELECT DISTINCT tp_Fields AS 'Fields' FROM AllLists WHERE tp_ID = @listId If you are using C# code to get the details you can use the following methods. public static string GetFieldXmlString(string ...


2

In the Item Limit section, you can limit the number of items and days to include in an RSS feed. from https://support.office.com/en-gb/article/Manage-RSS-feeds-08a3ed69-1883-42c2-af56-4493bc13912a


2

As mentioned here: Introduction to versioning. By default, each major version can have up to 511 drafts (minor versions) This should still hold true for SharePoint 2013.


2

Yes, there is a Summary Links web part in SharePoint 2013. It can be found under Content Rollup. However, it is not available to SharePoint Foundation, just versions above.


2

@john You can try setting ReadOnlyField property of the field to True $field.ReadOnlyField = $True


2

Along the same lines as Taran, you can paste the following code into a Script Editor Web Part. Be sure to link to your NewForm.aspx. <form> <input type="button" value="Button Text Goes Here" onclick="window.location.href='http://yoursite/yourlist/NewForm.aspx'" /> </form> Also keep in mind that if you change your default NewForm, this ...


2

Could be a language / culture issue. Try this script instead. It renames the list for all in SPWeb supported cultures. Add-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue $web = Get-SPWeb http://mysite ForEach($culture in $web.SupportedUICultures) { [System.Threading.Thread]::CurrentThread.CurrentUICulture=$culture; $list ...


2

Can I extend the existing web application (that is running on port 80) to port 443? Yes, but usually I just change the AAM to https and change the bindings in IIS to only use https if you are using IIS 5 or 6, you must "Require SSL". in which Zone should I extend is extranet or internet? Internet



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