Tag Info

Hot answers tagged

6

The template file from the article that you mentioned in the question contains some typos and hard-coded parameters like title and list url. Instead I would recommend you to utilize the template provided below. Regarding template file, in fact, there are several ways how to apply custom template to List View, and not necessary only via JSLink property. ...


6

The rest interface is not available to anon users by default. It can be enabled, but MS recommends against it. The preferred solution is to enable the search rest api for anonymous access, and retrieve all data that you need via that. A good article that explains the above in detail. Waldek's post that is a good explanation of how to enable the search api ...


5

In SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which represents a rendering engine for list views, list forms and search results. I would recommend you to consider the following approach for your task. How to highlight the rows using CSR Below example demonstrates how to highlight list task rows based on their status ...


5

The following example demonstrates how to determine whether current users belongs to the specified groups: getCurrentUserWithDetails() .done(function(data) { var groupNames = ['News Owners','Approvers']; //determine wether current user is a memeber of group(s) var userGroups = data.d.Groups.results; var foundGroups = ...


5

There is a couple of reasons for this: SharePoint is from companies point of view a Microsoft product, so if there is a security risk then it's seen as Microsofts fault. This is the reason for Microsoft to putting in a lot of security into SharePoint which by default isn't in ASP.Net like: not running full trust not allowing updates on GETs and ...


4

Using an event receiver: You can check the last added item, then increment it with 1. Then modify the number as 2014/001, 2014/002 and ect... No need to have workflows. Another way is having a property bag value which stores the last added id, then increment it by 1 and save, set that value to the number to the list item. This too can be done using an ...


4

CAMLViewFields: '<ViewFields>'+ '<FieldRef Name="NamePage" />'+ '<FieldRef Name="Date" />'+ '<FieldRef Name="Title" />'+ '<ViewFields>' should be CAMLViewFields: '<ViewFields>'+ '<FieldRef Name="NamePage" />'+ '<FieldRef ...


4

Something like this: $w = get-spweb "<webURL>" $list = $w.Lists.TryGetList("<Title of the list>") if($list -ne $null) { # The list already exists } Replace <webURL> and <Title of the list> with your actual values


4

Nothing is 100% secure, Because if a person who has right permission and he decided to misue of the documents than he can. But their are couple of things to try. Information Rights Management (IRM) is a persistent file-level technology from Microsoft. It uses permissions and authorization to help prevent sensitive information from being printed, forwarded, ...


4

to install and Configure the SPF 2013, please check this Technet loaded with all resources. or more spefic to SPF check this. Check this blog for all feature comparison Its depend upon on the your requirement, How many users you have and what zone you want intranet or internet. For On-Premises, intranet sites are licensed using a Server/CAL (Client Access ...


4

hive folder indicates the major version number. %CommonProgramFiles%\Microsoft Shared\Web Server Extensions##, where ## indicates the major SharePoint version Reference https://habaneroconsulting.com/insights/The-SharePoint-Hive


4

You are trying to read the property values too early in the web part life cycle. The property values are populated from the content database after the constructor has run. If you check the property values in OnLoad or OnPreRender you will see the values you have set in the editor.


4

The Audit feature is there in Sharepoint 2007 foundation but there is no user interface associated for auditing in Sharepoint 2007 or 2010. You can use Powershell to get the desired results Check this link(This applies to Sharepoint 2007 also) How do we activate auditing in SharePoint Foundation 2010?


4

For reasons of security, by default, Microsoft SharePoint Foundation does not allow you to make posts from a Web application to modify the contents of the database unless you include security validation on the page making the request. You can update data for a single site or for a site collection by adding a page directive and a FormDigest control to the ...


4

you can use $().SPServices <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jQuery%20SP%20Services/jquery.SPServices-0.5.4.min.js"></script> <script type="text/javascript"> function StartWorkflow(ItemURL, ...


4

After some amount of research i found a site which provides free site creation online!! https://www.cloudappsportal.com I also managed to create a free site :) This site is actually great! I gave this url and i was able to create sharepoint app for that site and deploy it!!


4

Open with Explorer does not appear on lists, only in document libraries. Your list options would be Connect to Outlook, Export to Excel, Open with Access, Open with Project (depending on your SKU).


3

I changed the text type from 'Enhanced Rich Text' to 'Rich text' in the column setting(through List setting) from SharePoint and it worked for me.


3

It seems like there are really a few answers to this question -- First: If you want your Powershell script to work with the multiple single quotes, you can use Powershell character escaping to escape the single quotes that are really apostrophes (i.e. "deliver's"). If you add a back-tick (`) in front of the apostrophes, Powershell will not see them as the ...


3

You cannot use a wildcard certificate as you have two different domain names. Instead, you need to use a SAN (also called UCC) certificate which can have multiple domain names attached to it. I'm not endorsing this vendor, but take a look at http://www.thawte.com/ssl/san-uc-ssl-certificates/index.html as an example of what you need to purchase.


3

You need to “Stop Inheriting Permissions” on that specific folder and then add peoples or groups to the same folder. Go into the specific list "List"-tab (in ribbon) -> Shared width In the "shared with" modal box -> Advanced Stop Inheriting Persmissions (ribbon) Then add person / group to the library ...


3

You can change it but you have to write code for this. Check this blog, he mentioned the complete code. He change the master page on the user login status. http://ranaictiu-technicalblog.blogspot.it/2009/10/sharepoint-dynamically-change-master.html?showComment=1354630820782#c5132604142640789136 ...


3

To create a form that would submit items to multiple lists, you should: Add some elements to your main list form, probably arranging them in a certain way. If those elements aren't related to fields as I suspect from your description, best way to do it would be to leverage OnPostRender CSR event and then use HTML5 selectors or jQuery to insert your HTML ...


3

You can use SharePoint foundation for business purpose / development / internet facing site if your server license are covered it. i think your team confused with MSDN license which you cannot use for business purpose but you can use MSDN license for development. SharePoint Foundation is part of Windows Server,So you need proper licensing of the Windows as ...


3

Probably one of the best ways to apply client-side validation in SharePoint 2010 would be to override PreSaveAction handler. PreSaveAction function is a user defined function that allows to override standard behavior for a Save button handler in List Forms on the client-side. Regarding validation expression, we could utilize /^[a-zA-Z]+$/ regular ...


3

This may be caused by the enabled "Require content approval" setting of the library and/or required fields not being populated while uploading via WebDAV (aka Explorer View or UNC network drive mapped to the document library). Until the required fields are filled appropriately, SharePoint considers such uploads drafts not worthy of bothering anyone except ...


3

Office Web Apps Licensing has recently changed (11-24-2014) in regard to SharePoint 2013, when SP2103 was first released, there was no license needed for "Read only" access, and Office client license needed for "edit" (on your honor enforcement). This has been changed (and the download location changed). You now need an Enterprise Agreement to install it ...


3

Since your ultimate goal is to manage visibility of navigation nodes based on user permissions, let me demonstrate another approach (no code solution). How to configure Audience for Navigation nodes: Go to Site Settings -> Navigation select Navigation Heading or Link and click Edit link specify Audience property. The figure below demonstrates how to ...


3

SP Foundation does not include the User Profile Service, as @Aveenav noted. Therefore you probably do not have access to the REST endpoints for that service. Instead you will have to use the user information list to get this information. This will require two requets: one to get the current user's id, the second to get the user's info that you want. ...


3

The Metalogix has a very cool tool. With this tool you can migrate lists, sites and others itens. See http://www.metalogix.com/Products/Content-Matrix.aspx See too http://www.metalogix.com/help/Content%20Matrix%20Cons



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